format-storybook
Catalogue stub — full skill: mikemai2awesome/agent-skills
Decision tree
-
Is the full skill already installed?
- Global:
f=~/.agents/skills/format-storybook/SKILL.md; [ -f "$f" ] && ! grep -q "^das:" "$f" && echo "installed" || echo "pointer" - Project:
f=.agents/skills/format-storybook/SKILL.md; [ -f "$f" ] && ! grep -q "^das:" "$f" && echo "installed" || echo "pointer" installed→ the skill is installed asformat-storybook, invoke it and proceedpointer→ go to step 2
- Global:
-
Detect scope, then install:
bash[ -e ~/.agents/skills/format-storybook ] && echo "global" || echo "project"Global:
bashnpx skills add mikemai2awesome/agent-skills --skill format-storybook -g -yProject:
bashnpx skills add mikemai2awesome/agent-skills --skill format-storybook -yClaude Code: send a command as a chat message starting with
!to run it without leaving the conversation.
Heads-up
- License: MIT
Invoke after install
- Skill name:
format-storybook - Trigger phrases: "Storybook", "Storybook story", "Chromatic visual regression", "CSF story format"
What it does
Enforces scalable, maintainable Storybook patterns across a component library:
- File structure — co-locate stories with components;
stories/component.stories.js+stories/template.js+ optionalcomponent.docs.mdx - Template composition — import child component templates instead of duplicating markup; single source of truth per component
- Controls & args — progressive disclosure: sensible defaults + optional controls for edge cases; arg types and descriptions
- Visual regression — Chromatic integration patterns; snapshot testing strategy
- CSF conventions — Component Story Format 3.0; default export metadata; named story exports
- Documentation — MDX docs pages; component API tables; usage examples; do/don't patterns
When NOT to use
- React Native Storybook stories specifically → use
storybook-rn-skill - Design token generation → use
design-tokens-skill - Component implementation from scratch → use
shadcn-uiorbaseline-ui


