Create Storybook Documentation
SkillDocs & knowledgeLets your agent create Claude Skill-quality Storybook stories and docs for Spark UI components.
Use Create Storybook Documentation in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add Create Storybook Documentation and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the Create Storybook Documentation skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; ahel provides instructions and does not run this skill.
No other account needed.
Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
About this skill
Create or update Storybook stories and documentation for a Spark UI component. Use when the user wants to add stories, update documentation, or improve component documentation in Storybook.
What this skill tells your AI
The instructions your AI receives, as published by leboncoin/spark-web in .cursor/skills/create-storybook-docs/SKILL.md and read by ahel’s review.
Create or update Storybook stories and MDX documentation for Spark UI components.
When to Use
- User wants to add Storybook stories
- User wants to update component documentation
- Component is missing stories or documentation
- User mentions "stories", "storybook", or "documentation"
Instructions
Stories File (ComponentName.stories.tsx)
-
Meta Definition:
const meta: Meta<typeof ComponentName> = { title: 'Components/ComponentName', component: ComponentName, } export default meta -
Story Guidelines:
- Use
*.stories.tsxextension - One story per prop/feature (avoid mixing many props)
- Use
Components/*meta structure - Avoid
_argswhen using JS logic (useState, etc.) - Include all variants and states
- Use
-
Required Stories (in order):
Default: Minimal common caseUncontrolled: Stateful with internal stateControlled: Stateless with props- Other variants alphabetically
Documentation File (ComponentName.doc.mdx)
-
Sections Order (must follow this exact order):
- Title: H1 heading with component description
- Meta: Link to stories using
<Meta of={stories} /> - Install: Installation instructions
- Import: Import examples
- Props table: Use custom
ArgTypescomponent - Usage: Examples in specific order (Default, Uncontrolled, Controlled, others alphabetically)
- Advanced Usage: Complex examples and edge cases
- Accessibility: Keyboard interactions and a11y requirements
-
Usage Section Format:
## Usage ### Default <Canvas of={stories.Default} /> ### Uncontrolled Description of uncontrolled usage. <Canvas of={stories.Uncontrolled} /> ### Controlled Description of controlled usage. <Canvas of={stories.Controlled} /> -
For Compound Components:
- Use
ArgTypeswithsubcomponentsprop - Document each sub-component separately
- Use
Reference
See documentation/contributing/WritingStories.mdx for complete guidelines.
Examples
Reference existing stories in packages/components/src/*/ComponentName.stories.tsx and ComponentName.doc.mdx.
Signals
- GitHub stars
- 93
- Forks
- 27
- Last commit
- Sep 2026
Advanced
- Item type
- skill
- Key
create-storybook-docs- Source
- github.com/leboncoin/spark-web
github.com/leboncoin/spark-web
Related picks
Skill · davila7
The pick for Reactreact-doctor
Skill · millionco
The pick for Reactsetup-ts-deep-modules
Skill · mattpocock
The pick for TypeScripttypescript-pro
Skill · jeffallan
The pick for TypeScripthandoff
Skill · mattpocock
More in Docs & knowledgecanvas-design
Skill · anthropics
More in Docs & knowledge