- Commit messages must be in English
- The skill directory name, SKILL.md
namefield, and plugin name must be identical - Use lowercase with hyphens (kebab-case), e.g.,
mac-notifier,mermaid-to-img - This ensures consistency between
/skill-namecommands and plugin management - When renaming a skill, update all three locations:
- Directory name
- SKILL.md
namefield .claude-plugin/marketplace.jsonpluginnameandskillspath
- When adding a new skill, update both
README.md(Chinese) andREADME_EN.md(English) - Add the new skill to the "Available Skills" table in both files
The description field in SKILL.md must include two parts:
- What it does: Brief description of the skill's functionality
- When to use: Tell the agent when to trigger this skill
Example format:
description: Convert Mermaid diagrams to images. Use when user wants to export/save/convert Mermaid code to PNG/JPG/SVG/PDF format.Bad example (missing trigger condition):
description: Convert Mermaid diagrams to images.To reduce token consumption, use progressive disclosure when a skill has many scripts or complex documentation:
- For skills with 3+ scripts: Create a
scripts/INDEX.mdfile that briefly describes each script's purpose - Main SKILL.md: Only include the most common usage and reference INDEX.md for details
- Detailed docs: Put comprehensive documentation in separate files (e.g.,
docs/folder)
Example INDEX.md structure:
# Scripts Index
| Script | Purpose |
|--------|---------|
| main.py | Primary entry point for basic usage |
| install.sh | Installation and setup |
| utils.py | Internal utilities (not for direct use) |