write-a-skill
Installation
SKILL.md
Contains Shell Commands
This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.
Write a Skill
Process
- Clarify scope -- ask the user (use AskUserQuestion when available; otherwise present as numbered options):
- "What type of skill?" — Options: "Pure instructions (no scripts)", "Instructions + helper scripts", "Wrapper around CLI tool"
- "Does it need pre-loaded context?" — Options: "Yes — auto-run commands on load (Recommended)", "No — gather context during workflow"
- Explore existing skills --
lsthe skills repo, read similar skills for conventions - Draft -- create
SKILL.md - Review with user -- confirm coverage, ask what's missing
Structure
skill-name/
├── SKILL.md # Required. All instructions live here.
└── scripts/ # Optional. Executable helpers only.
└── scan-secrets.sh