clubpay/ronykit/storybook
Claude Code and agent skill by clubpay/ronykit
- community
- ext:[{"type":"plugin","description":"Custom plugin integration"}]
Checking that the SKILL.md file is still in the repository.
Author and maintain Storybook stories with CSF 3.0 best practices — args, decorators, parameters, token/theme wiring, 8-state coverage, and a11y verification. Use when creating or editing *.stories.* files, configuring .storybook/, or ensuring every UI component ships with stories.
Install
npx vskill@latest install clubpay/ronykit/storybookSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as clubpay/ronykit/storybook.
Storybook
Every reusable UI component must have a Storybook story. A component without a story is not done. Stories are living documentation and the contract for a component's states.
When to use
- Creating a new component, or adding a variant/prop to an existing one.
- Writing or editing
*.stories.tsx/*.stories.tsfiles. - Configuring args, decorators, parameters, or
.storybook/setup. - Reviewing a frontend PR — a new component without a co-located story is a
blocking gap.
The rule
New or changed component → add or update its story in the same change.
This is automatic and unprompted: create the story as part of building the component, without waiting for the user to ask. After authoring or updating stories, run pnpm build-storybook and fix any failures yourself before reporting done.
Best practices
1. Use CSF 3.0 with satisfies Meta<typeof Component>
Prefer Component Story Format 3.0 with satisfies for full type checking and inference, and omit `title` so Storybook infers the sidebar hierarchy from the file path. Import story types from the configured framework package (@storybook/nextjs here; use @storybook/react-vite for Vite).
2. Args-based stories & minimal argTypes
- Declare defaults in Meta `args` — stories override only what differs.
- Let TypeScript infer `argTypes`: Only specify
argTypeswhen
auto-inference is inadequate (ReactNode edited as control: 'text', or locking a prop with control: false).
3. Cover interactive states, dark mode & layout resilience
A single happy-path story is not enough. Cover the states that apply to the component (see ux-quality and ui-polish):
- Variants & states:
Default,Secondary/Destructive,Disabled,
Loading/Pending, Empty (first-use vs. filtered), and Error (aria-invalid).
- Dark mode: Verify the component on both
:root(light) and.dark
surfaces so token contrast and surface lightness steps hold up.
- Text-growth & truncation stress story: Include a story with long
localized strings (+40% length) or unbreakable IDs/URLs to prove min-w-0, truncate, and nowrap buttons never blow out the layout.
4. Wire .storybook/preview.ts to your real design tokens & fonts
Never hardcode fontFamily: 'Arial' or arbitrary #ffffff / #333333 backgrounds in .storybook/preview.ts. Import your app's globals.css so Storybook renders the exact OKLCH tokens, --font-sans / --font-mono variables, and .dark class used in production:
5. Storybook configuration (main.ts)
Include @storybook/addon-a11y alongside essentials and interactions:
6. Interaction (play) & accessibility checks
For stateful components (dialogs, dropdowns, forms, tabs), add a play function using storybook/test (userEvent, within, expect) to verify keyboard/pointer flows and ARIA states:
File naming
Quality bar & commands
Checklist before "done"
- Every new/changed component has a co-located, up-to-date
*.stories.tsx. - Stories use CSF 3.0 with
satisfies Meta<typeof Component>, shared Meta
args, and path-based titles.
.storybook/preview.tsximportsglobals.csstokens and supports light/dark
switching (no hardcoded Arial or #fff/#333).
- States (
Default,Disabled,Loading,Error,DarkSurface, long text)
are represented and pnpm build-storybook passes.
_Adapted from the storybook skill in DaleStudy/skills (MIT)._
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 repositoryCheckingronyup/internal/skeleton/skills/storybook/SKILL.md
Popularity
- Repository stars
- 38
- Repository forks
- 7
- 7-day trend score
- 18
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 21 Aug 2026, 3 months ago.
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/clubpay/ronykit/storybook)