name: create-recipe
description: Orchestrator that runs the 6-step recipe creation chain end-to-end. Invokes research-component, design-recipe, implement-recipe, showcase-recipe, document-recipe, and verify-recipe in order, chaining via .context/recipe-/ artifacts. Users may invoke any sub-skill standalone (/verify-recipe, /document-recipe, etc.) to resume or re-run a single step without restarting the chain. Starts by asking the component name, then checks for existing artifacts before each step.
Create Recipe (orchestrator)
This skill chains six sub-skills to produce a complete Styleframe recipe with tests, Storybook showcase, and docs.
Chain
/research-component— gather requirements + study UI libraries →.context/recipe-<name>/research.md/design-recipe— classify component + approve design →.context/recipe-<name>/design.md/implement-recipe— recipe TS, barrel, tests →.context/recipe-<name>/implementation.md/showcase-recipe— Storybook files + Vue components + preview grids →.context/recipe-<name>/showcase.md/document-recipe— docs page (absorbs the 4-phase doc flow) →.context/recipe-<name>/documentation.md+ final.mdfile/verify-recipe— typecheck, test, lint →.context/recipe-<name>/verification.md
Flow
- Ask the user for the component name (kebab-case).
- For each step in the chain:
- Check whether the prior artifact already exists at
.context/recipe-<component-name>/. - If present, ask the user whether to skip or re-run.
- Otherwise, invoke the sub-skill.
- Check whether the prior artifact already exists at
- After each step completes, summarize progress and pause so the user can inspect the artifact before continuing.
- If any sub-skill surfaces a failure, stop and let the user fix before moving on.
Resumability
Each sub-skill can be invoked standalone to resume or re-run a single step. Common scenarios:
- Resume after a fix: user edits a test →
/verify-recipe. - Add docs to an existing recipe:
/document-recipe(falls back to readingtheme/src/recipes/<name>/directly if.context/is empty). - Regenerate Storybook after a recipe refactor:
/showcase-recipe. - Re-check a recipe in an older branch:
/verify-recipeagainst any existing recipe.
Artifact location
All intermediate artifacts live in .context/recipe-<component-name>/ (gitignored). Final source lives under theme/src/recipes/<name>/, apps/storybook/..., and apps/docs/....
When invoked
Do not do the work yourself — invoke the sub-skills in order via the Skill tool. Each sub-skill contains its own detailed guidance.