storybook

storybook is a skill for Claude Code, Codex from clubpay/ronykit. It costs 50 tokens per session (2,369 once invoked), scanned A, original, BSD-3-Clause.

A guide for creating and maintaining Storybook stories, which are interactive examples documenting a user-interface component's states and behavior.

In plain words
What is it for?
Writing CSF 3.0 stories, configuring Storybook, covering component variants and properties, and checking the Storybook build.
Why use it?
It keeps reusable components documented and exposes missing states or broken UI code during development.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is stories: ['../src/**/*.stories.@(ts|tsx)'],.

Good fit Writing CSF 3.0 stories, configuring Storybook, covering component variants and properties, and checking the Storybook build.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/clubpay/ronykit
agentmods
npx agentmods add skills/clubpay/ronykit/storybook

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for storybook

README.md
[![agentmods](https://agentmods.dev/badge/skills/clubpay/ronykit/storybook/github.svg)](https://agentmods.dev/skills/clubpay/ronykit/storybook)
Your own site
<a href="https://agentmods.dev/skills/clubpay/ronykit/storybook"><img src="https://agentmods.dev/badge/skills/clubpay/ronykit/storybook/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for storybook

Your own site · 80×15
<a href="https://agentmods.dev/skills/clubpay/ronykit/storybook"><img src="https://agentmods.dev/badge/skills/clubpay/ronykit/storybook.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,369 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00050 $0.02369
Opus 5 $0.00025 $0.01184
Sonnet 5 $0.00010 $0.00474
Haiku 4.5 $0.00005 $0.00237

Measured 11d ago against content hash 22b9ad4a58b6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

storybook scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

ronyup/internal/skeleton/skills/storybook/SKILL.md · 399 lines

How it starts

The opening of the file, as written. The whole thing — 399 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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.ts files.
  • 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

Prefer Component Story Format 3.0 — concise and type-safe.

// ❌ CSF 2.0 (legacy)
export default {
  title: 'Components/Button',
  component: Button,
};
export const Primary = () => <Button variant="primary">Click me</Button>;

// ✅ CSF 3.0 (preferred)
import type { Meta, StoryObj } from '@storybook/react';
import { Button } from './Button';

const meta = {
  component: Button,
  tags: ['autodocs'],
  args: {
    variant: 'primary',
    children: 'Click me',
  },
} satisfies Meta<typeof Button>;

export default meta;
type Story = StoryObj<typeof meta>;

export const Primary: Story = {};

export const Secondary: Story = {
  args: { variant: 'secondary' },
};

2. Args-based stories

Define component props as args so the Controls panel stays interactive.

  • Declare defaults in args — not argTypes.defaultValue. Meta-level args become the default selection in Controls.
  • Share common args at the Meta level; override only what differs per story.
// ❌ Hard-coded props in render
export const Disabled: Story = {
  render: () => <Button disabled>Disabled</Button>,
};

// ❌ Duplicated args across stories
export const Primary: Story = {
  args: { children: 'Click me', variant: 'primary' },
};
export const Secondary: Story = {
  args: { children: 'Click me', variant: 'secondary' },
};

// ✅ Meta-level shared args; stories override only differences
const meta = {
  component: Button,
  args: {
    children: 'Click me',
    variant: 'primary',
  },
} satisfies Meta<typeof Button>;

export const Primary: Story = {};
export const Secondary: Story = { args: { variant: 'secondary' } };
export const Disabled: Story = { args: { disabled: true } };

Read the full file on GitHub · 399 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 399 lines · 50 tokens per session scan A 22b9ad4a58b6

Subscribe to this mod's changes

storybook is a skill published in the GitHub repository clubpay/ronykit (38 stars, last pushed 4d ago), licensed BSD-3-Clause. It adds 50 tokens to every session and 2,369 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

multitenant

Multi-tenant / multitenancy patterns in Vovk.ts — hosting multiple tenants from one Next.js app via subdomain routing. Covers the multitenant() helper from vovk, the Next.js proxy.ts file that wires it up, the overrides shape (static / dynamic / nested subdomain patterns), the vovk.config.mjs changes needed (switch to…

finom/vovk · 239 tokens

writing-clearly-and-concisely

Apply whenever writing content a human will read — emails, documents, reports, documentation, messages, UI copy, commit messages, explanations, or any other prose. Applies Strunk's timeless rules for clearer, stronger, more professional writing.

JanDeDobbeleer/oh-my-posh · 55 tokens

gentleman-bubbletea

Bubbletea TUI patterns for Gentleman.Dots installer. Trigger: When editing Go files in installer/internal/tui/, working on TUI screens, or adding new UI features.

Gentleman-Programming/engram · 42 tokens

remotion-animation

Generates animation configurations for Remotion including spring configs, interpolations, easing functions, and timing logic. Focuses ONLY on animation parameters, NOT component implementation. Use when defining animation behavior or when asked to "configure animations", "setup spring configs", "define easing curves".

Marve10s/Better-Fullstack · 59 tokens

create-remotion-geist

Create Remotion videos using the Geist design system aesthetic. Use when asked to create videos, animations, or motion graphics that should follow Vercel's visual style - dark theme, spring animations, Geist typography, and the Geist color palette.

Marve10s/Better-Fullstack · 54 tokens

ast-introspection

Use Go AST-aware analysis to enumerate symbols, extract signatures, and propose mechanically safe refactors (read-only by default).

pilinux/gorest · 28 tokens