# Scaffold Skill

> Generate a new Canopy skill skeleton — creates SKILL.md, references/ops.md, and standard agentskills.io subdirectories (scripts/, references/, assets/) under .claude/skills/<name>/. Uses the markdown list tree syntax.

- Skill: `kostiantyn-matsebora/scaffold-skill` (Agent Skill, multi-file: 4 files)
- Install (CLI): `npx skillmds@latest add kostiantyn-matsebora/scaffold-skill`
- Raw SKILL.md: https://api.skillmd.com/api/skills/kostiantyn-matsebora/scaffold-skill/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Docs & Writing
- Author: kostiantyn-matsebora (https://skillmd.com/u/kostiantyn-matsebora)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/kostiantyn-matsebora/scaffold-skill

---


> **Runtime required.** This skill uses Canopy tree notation; canopy-runtime must be active.
>
> **Detect canopy-runtime** — present if either:
> - `canopy-runtime/SKILL.md` exists under `.claude/skills/`, `.github/skills/`, or `.agents/skills/`, OR
> - a canopy-runtime marker block exists in `CLAUDE.md` or `.github/copilot-instructions.md`.
>
> **If neither is present** — install canopy-runtime first (see the `compatibility` field for the source and install options), then re-invoke this skill.
>
> Do not interpret the `## Tree` without 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 << <skills-root>/$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 the `compatibility` field, and open with the safety preamble guard block
- Skill file must be named exactly `SKILL.md` (uppercase) per agentskills.io spec

## Response: Summary / Files created / Next steps

