Files
vince-winkintel__gitlab-cli…/.gitignore
T
Vince Lozada 276a2a045a feat: add build-claude-skill.sh for Claude.ai integration (#33)
* feat: add build-claude-skill.sh for Claude.ai integration

Closes #32

Claude.ai organization skill upload requires a zip containing exactly
one SKILL.md. The existing release zip contains 38 SKILL.md files
(one per sub-skill), causing an upload error.

Changes:
- scripts/build-claude-skill.sh: merges all sub-skill SKILL.md files
  into a single consolidated SKILL.md, strips OpenClaw YAML frontmatter,
  and packages the result into claude-skill.zip
- README.md: documents Claude.ai installation via pre-built zip download
  or running the build script locally
- .gitignore: excludes claude-skill.zip (build artifact)

* fix: correct ZIP structure and add required YAML frontmatter

Per Claude.ai skill spec (support.claude.com):
- ZIP must contain files inside a subdirectory, not at the root:
    claude-skill.zip/gitlab-cli-skills/SKILL.md  
    claude-skill.zip/SKILL.md                     
- SKILL.md must start with YAML frontmatter containing
  'name' and 'description' fields (required by Claude.ai
  to decide when to invoke the skill)

Previously the script stripped all frontmatter and placed
SKILL.md directly in the zip root — both violations of spec.

---------

Co-authored-by: Ubuntu <ubuntu@vps-9755df38.vps.ovh.us>
2026-03-03 10:16:00 -06:00

12 lines
101 B
Plaintext

# dependencies
/node_modules
# claude
.claude
# misc
.DS_Store
# build artifacts
claude-skill.zip