component.author
A skill that authors a new component spec end to end: it splits the request into what the schema can carry and what it cannot, correlates the result against your catalogue, writes the three concern files with a validate gate between each, and compiles the result into Storybook and onto the Figma canvas.
Installed by specs skills install as .claude/skills/specs-cli.component.author/, then invoked in Claude Code.
Prerequisites
specs-cli.primer— what Specs is and the rules for reading its data.specs-cli.authoring.primer— the structural contract for writing a spec by hand.- A live posture, which
specs-cli.posturebrings up.
Outline
- Opens the round with
specs author start <key>— one command for the folder, the templates and the status digest. - Splits every requirement in the request into spec, supplemental or guidelines, naming the schema path in each case.
- Correlates against
config/conventions/, the catalogue,analysis/props.yamlandanalysis/dependenciesso the result looks native. - Writes
api.yaml, thenvariants.yaml, thenexamples.yaml— validating after each, zero errors before the next. - Renders once to the canvas and observes the component in Storybook, after all three files are clean.
- Writes the two authored documents last:
supplemental.yamlfor what the component must do,guidelines.yamlfor what its caller must do. - Closes with a structured report — files, props, tokens, decisions to confirm, gaps, suggestions.
Your input
Two gates. The requirements split is written before any file, and you can correct where a requirement landed. The closing report’s Decisions to confirm is numbered so you can answer by number, and nothing in Suggestions is built without you asking for it.
Related
- Authoring a component — the full round this skill follows
authoring.primer— its prerequisiteauthor— the command it opens withvalidate— the gate between every file