mirror of
https://github.com/vince-winkintel/gitlab-cli-skills.git
synced 2026-09-19 06:01:21 +08:00
276a2a045a
* 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>
12 lines
101 B
Plaintext
12 lines
101 B
Plaintext
# dependencies
|
|
/node_modules
|
|
|
|
# claude
|
|
.claude
|
|
|
|
# misc
|
|
.DS_Store
|
|
|
|
# build artifacts
|
|
claude-skill.zip
|