skills
Install the AI orchestration skills that ship with the CLI. The skills sequence the versioning workflows — run the commands in order, stop at the human review gates — and never generate report or changelog content themselves; the version commands produce all content.
Usage
specs skills install [--dir <path>]| Flag | Description |
|---|---|
--dir <path> | Skill directory to emit into (default: .claude/skills) |
Eight skills are emitted. specs-cli.workspace.setup is the one a new workspace starts from, and specs-cli.primer is a prerequisite every other skill names rather than carrying a copy of — what Specs is, which artifact is authoritative for which question, and where to look for the rest.
| Skill | Orchestrates |
|---|---|
specs-cli.primer | Nothing — it is the shared context the others assume. Read once per session |
specs-cli.workspace.setup | A workspace from nothing: init, config and Figma sources, secrets, fetch, scan → human curates → run with Storybook live → human picks which improvement passes to run |
specs-cli.premerge | specs version figmapremerge fetches, generates, and reports → human reviews the report → merge proceeds or not |
specs-cli.release | specs version report → human review → specs version cut → specs version tag → publish |
specs-cli.roles.propose | specs analyze → read the live components over the bridge → write reports/<YYYY-MM-DD>.roles.proposal.md → human marks up the Decision column |
specs-cli.roles.apply | Parse the approved decisions → annotate the Figma file one page at a time → human confirms in Dev Mode → fetch, generate, analyze roles to prove the round trip |
specs-cli.icons.setup | specs scan → decide which components are the icon set → derive a glyphs convention by name pattern or child structure → add icons to the source and refetch → specs generate to prove the glyph names resolve |
specs-cli.states.setup | specs analyze props → sort every variant prop into a state concept, a visibility toggle or a presentation flag → human clears the rows they disagree with → paste the states block and specs react to prove the selectors emit |
roles.propose, states.setup and icons.setup author something rather than only sequencing commands, and for the same reason: the data does not contain the answer.
Which role an element takes is a judgment — the discriminator between checkbox, switch and togglebutton is what the control does when operated, which no prop records. A rule reading checked and indeterminate would be right about checkbox and wrong about toggle, switch and togglegroup. Whether a boolean variant prop is a state is the same shape of question: filled, segmented, showChevron and highlighted are indistinguishable by name, type or frequency, and one of them is a state.
icons.setup is the same shape again: a child structure can be read off the file, but which of a file’s populations are icons — against its illustrations, logos and chrome — cannot.
So each one carries the evidence behind its proposal and a human gate: before anything reaches a Figma file for roles, and before anything reaches your config for states and icons.
The emitted files are canonical and overwritten on every install — re-running after a CLI upgrade refreshes them to match the commands they orchestrate. Keep local customization in your own separate skills rather than editing the emitted ones.
See Also
- version — the commands these skills orchestrate
- Reports & Changelogs — the outputs the human gates review