morshoto/dotfiles/improve-storybook
Claude Code and agent skill by morshoto/dotfiles
- community
- ext:[{"type":"plugin","description":"Custom plugin integration"}]
Checking that the SKILL.md file is still in the repository.
Improve Storybook documentation, story structure, interaction tests, and global configuration. Use when asked to upgrade Storybook docs pages, convert stories to args-driven patterns, add play functions, or adjust `.storybook` decorators/addons for a React/TypeScript project.
Install
npx vskill@latest install morshoto/dotfiles/improve-storybookSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as morshoto/dotfiles/improve-storybook.
Improve Storybook
Overview
Make Storybook feel like a first-class design system site by upgrading docs pages, standardizing story patterns, adding interaction tests, and keeping global configuration clean.
Workflow
- Scan
.storybook/main.tsand.storybook/preview.tsto understand current addons, parameters, and decorators. - Pick target components and open their
*.stories.tsxfiles. - Upgrade docs metadata and layout for each component story.
- Convert to args-driven story exports with clean defaults.
- Add
playinteraction tests where behavior is interactive or regression-prone. - Centralize shared configuration in
.storybook/preview.tsand update addons in.storybook/main.ts. - Confirm Storybook still builds and stories render as expected.
Docs Upgrades
- Add explicit
parameters.docsblocks and component descriptions. - Use
docs.pageto control the layout and includeTitle,Description,Primary,Controls, andStories. - Keep descriptions short and product-facing.
See references/patterns.md for docs block templates.
Story Structure
- Use
StoryObjwithargsfor each story. - Prefer one story per variant and keep names aligned with
args.variant. - Avoid custom render functions unless necessary.
See references/patterns.md for args-driven story examples.
Interaction Tests
- Add
playonly when there is a user action or visual state transition to assert. - Keep tests short and focused on user-visible outcomes.
- Use Testing Library helpers (
within,userEvent).
See references/patterns.md for play examples.
Global Configuration
- Centralize providers in
preview.tsdecorators. - Set global
parametersfor layout and controls to keep stories clean. - Add Storybook addons in
main.tsand ensure packages are installed.
See references/patterns.md for configuration snippets.
Done Criteria
- Docs pages show curated layout, not just autogenerated content.
- Stories are args-driven and composable.
- Interaction tests cover key click/hover/typing flows.
- Global decorators and addons are configured once, not repeated per story.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingai/skills/improve-storybook/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 8
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
pluginCustom plugin integration
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/morshoto/dotfiles/improve-storybook)