Runtime required. This skill uses Canopy tree notation; canopy-runtime must be active.
Detect canopy-runtime — present if either:
canopy-runtime/SKILL.mdexists under.claude/skills/,.github/skills/, or.agents/skills/, OR- a canopy-runtime marker block exists in
CLAUDE.mdor.github/copilot-instructions.md.If neither is present — install canopy-runtime first (see the
compatibilityfield for the source and install options), then re-invoke this skill.Do not interpret the
## Treewithout canopy-runtime active.
New skill name: $ARGUMENTS
Tree
- scaffold-skill
- validate $ARGUMENTS is a valid kebab-case identifier
- IF << $ARGUMENTS is not valid kebab-case
- END Skill name must be kebab-case (e.g. my-skill)
- IF << /$ARGUMENTS/ exists
- END Skill already exists — choose a different name or delete the existing one first
- SHOW_PLAN >> skill name | files to create | directories to create
- ASK << Proceed? | Yes | No
- IF << Yes
- CREATE_SKILL_FILES << $ARGUMENTS
- confirm files created
- print next steps to user
- VERIFY_EXPECTED << assets/verify/verify-expected.md
- ELSE
- Cancelled by user.
Rules
- Never overwrite an existing skill directory
- Generated SKILL.md must use the markdown list tree syntax (
*nested lists), include thecompatibilityfield, and open with the safety preamble guard block - Skill file must be named exactly
SKILL.md(uppercase) per agentskills.io spec