SKILL.md Authoring
Generate a SKILL.md file that teaches Claude Code how to use a CLI tool.
When to Use
- After
mcp-codegenproduces a CLI tool (as part of/convert) - Standalone via
/generate-skillfor any existing CLI tool
Process
- Discover the CLI's commands via
<cli> --helpand<cli> <subcommand> --help - Generate a SKILL.md following the template in
references/skill-template.md
Rules
- Keep under 500 lines — put extended docs in separate reference files
- Show concrete examples for every command
- Include the
--json | jqpiping pattern for data extraction - Mention env var names for authentication
- Description field must include trigger keywords for auto-discovery
- Do NOT mention MCP in the generated SKILL.md — it's a CLI tool now