synerise-design: Skill for Claude Code

.claude/skills/storybook-code-tab/SKILL.md

storybook-code-tab is a skill for Claude Code from Synerise/synerise-design. It costs 25 tokens per session (1,728 once invoked), scanned A, original, MIT.

A Storybook documentation helper that adds clean JSX code examples to the Code tab of component stories. Storybook is a tool for developing and documenting user-interface components in isolation.

In plain words
What is it for?
Updating the code examples for all or selected stories in a component’s TypeScript React story file.
Why use it?
It gives developers copyable examples instead of leaving the Code tab empty or cluttered with implementation details.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is Synerise/synerise-design's own configuration. It tells Claude Code how to work on synerise-design itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything synerise-design configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Synerise/synerise-design. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Synerise/synerise-design/master/.claude/skills/storybook-code-tab/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Synerise/synerise-design

Made for: Claude Code.

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-code-tab

README.md
[![agentmods](https://agentmods.dev/badge/skills/synerise/synerise-design/storybook-code-tab/github.svg)](https://agentmods.dev/skills/synerise/synerise-design/storybook-code-tab)
Your own site
<a href="https://agentmods.dev/skills/synerise/synerise-design/storybook-code-tab"><img src="https://agentmods.dev/badge/skills/synerise/synerise-design/storybook-code-tab/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-code-tab

Your own site · 80×15
<a href="https://agentmods.dev/skills/synerise/synerise-design/storybook-code-tab"><img src="https://agentmods.dev/badge/skills/synerise/synerise-design/storybook-code-tab.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,728 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.00025 $0.01728
Opus 5 $0.00013 $0.00864
Sonnet 5 $0.00005 $0.00346
Haiku 4.5 $0.00003 $0.00173

Measured 5d ago against content hash 0bcd0d4be2f5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

storybook-code-tab 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 5d 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.

.claude/skills/storybook-code-tab/SKILL.md · 180 lines

How it starts

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

Overview

Generate developer-friendly JSX code strings for the parameters.docs.source.code field on each exported story in a component's *.stories.tsx file. These strings appear in the custom Code panel (packages/storybook/addon-code-panel/CodePanel.tsx) and serve as copy-paste references for developers.

Arguments

The user must provide:

  1. Component name — e.g., ActionArea, Badge, Toast

The user may optionally provide:

  • A specific story name to process (otherwise all stories are processed)
  • A path to the story file if it differs from the standard location

Workflow

Step 1 — Locate the story file

Find the story file at the standard path:

packages/storybook/stories/components/<ComponentName>/<ComponentName>.stories.tsx

If not found, search with:

packages/storybook/stories/components/**/<ComponentName>.stories.tsx

Also check for associated data/constants files in the same directory (e.g., <ComponentName>.data.tsx, <ComponentName>.constants.ts) — these may contain helpers referenced by stories.

Skip any .test.stories.tsx or .tests.stories.tsx files — those are visual/interaction test stories.

Step 2 — Read and analyze the file

Read the complete story file. Identify:

  1. Meta/default export — extract:

    • component field (the primary component name for JSX tags)
    • render function at the meta level (default render for all stories)
    • args at the meta level (default args inherited by all stories)
    • argTypes (to understand prop types)
  2. All named story exports — for each, extract:

    • args (including spread references like ...Default.args)
    • render function (story-level override)
    • Existing parameters.docs.source.code (updating vs adding)
    • Spread from other stories (e.g., ...Default, ...Simple)
  3. Imports — note which components and icons are imported, as the code snippet should reference the same names. Prefer direct named imports (e.g., Expander) over deprecated compound component syntax (e.g., Button.Expander).

Read the full file on GitHub · 180 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. 5d ago First seen · 180 lines · 25 tokens per session scan A 0bcd0d4be2f5

Subscribe to this mod's changes

storybook-code-tab is a skill published in the GitHub repository Synerise/synerise-design (96 stars, last pushed yesterday), licensed MIT. It adds 25 tokens to every session and 1,728 once invoked, about $0.0001 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-09-04.

Related

Other skills, from other repositories

suanfish-design-system

A Chinese design system for creating and reviewing web interfaces, with multiple design perspectives working together. It focuses on React and Tailwind-based projects.

SuanFishXYY/suanfish-design-system · 293 tokens

shadcn

Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI, including chat interfaces. Provides project context, component docs, and usage examples. Applies when working with shadcn/ui, component registries, presets, --preset codes, or any project with a components.json…

shadcn-ui/ui · 94 tokens

compiler-orchestrator

Orchestrate the Rust compiler port end-to-end. Discovers the current frontier, fixes failing passes, ports new passes, reviews, and commits in a loop.

react/react · 38 tokens

migrate-radix-to-base

Migrates React projects and components from Radix UI to Base UI. Use when asked to migrate from radix, move to base-ui, convert radix primitives, or switch a shadcn project's base library. Handles single components ("migrate accordion") and whole projects.

shadcn-ui/ui · 61 tokens

plan-update

Use when you need to update a plan document with deep research across all compiler passes. Launches parallel subagents to analyze how a topic affects every compiler phase, then consolidates findings into the plan doc.

react/react · 44 tokens

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits with the [compiler] or [rust-compiler] prefix.

react/react · 42 tokens