Create, extract, or update a skill. Use when authoring a new skill from scratch, extracting knowledge from the current session, or updating an existing skill when the user's intentions contradicted skill guidance or content is confusing/outdated.
Trigger: "create a skill for X". Ask user intensively, follow their guidance. Build using structure + rules below.
Trigger: "learn-skill for what we did", "capture this", "extract a skill from above".
.stagewise/skills/) if content uses specific paths/tooling; user skill (.agents/skills/) if broadly reusable→ Load references/session-extraction.md for full checklist + signal/noise examples.
Trigger: user corrected agent behavior, overrode guidance, skill is wrong/outdated.
→ Load references/skill-updating.md for full checklist.
Output compact summary:
skill-name/
├── SKILL.md required, target <200 lines
├── references/ optional, on-demand
│ └── *.md
├── scripts/ optional, executable scripts
└── assets/ optional, output files (templates, icons, etc.)
Frontmatter (required):
---