CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

storybook-setup

The guide covers Storybook initialization, configuration, component stories, MDX documentation, accessibility and visual testing, and publishing. It includes example configuration and story files, installation and build commands, and a checklist of setup deliverables.

Quality

78%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Low

Low-risk findings worth noting

Fix and improve this skill with Tessl

tessl review fix ./.agents/skills/storybook-setup/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Scored by GLM 5.3

Content

63%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The content is highly actionable — complete, executable configurations and examples covering the full setup lifecycle — and the workflow is clearly sequenced with a checklist. Its main weakness is token efficiency: a monolithic 600+ line file that inlines extensive Storybook boilerplate Claude already knows, with no progressive disclosure into reference files.

Suggestions

Move the full worked examples (Button.stories.tsx, Form.stories.tsx, the MDX template, and the GitHub Actions workflow) into references/ files (e.g., references/stories-example.md, references/mdx-template.md, references/deploy.yml) and keep only brief, annotated excerpts inline with clear pointers to them.

Trim the Button stories example to 3-4 representative variants instead of all ten, and cut the theme.ts token listing to a few lines — Claude can generalize Storybook's CSF3 format from a minimal example.

Add an explicit validation step to the Core Workflow (e.g., '7. Verify: run `npm run storybook` and confirm the example story renders with controls before writing more stories') to close the feedback loop.

DimensionReasoningScore

Conciseness

The ~610-line body inlines large boilerplate blocks Claude already knows well — a full 130-line Button.stories.tsx with ten near-identical story exports, an 80-line MDX template, a complete GitHub Actions workflow, and a full theme.ts — matching 'noticeably verbose; several unnecessary explanations or padded sections'. Not 1 because there is no prose explaining basic concepts and the material is accurate and structured; not 3 because the bulk of the file is template boilerplate rather than mostly-efficient content with a little trim.

2 / 5

Actionability

Everything is copy-paste executable: "npx storybook@latest init" with framework variants, complete .storybook/main.ts and preview.ts configs, full CSF3 story files with play functions, package.json scripts, a test-runner config, and a deployable GitHub Actions workflow. This matches 'fully executable; copy-paste ready code or commands; specific examples cover the common cases'.

5 / 5

Workflow Clarity

The "Core Workflow" lists a clear 6-step sequence (initialize → configure addons → write stories → add documentation → setup testing → deploy) that maps to the sections below, and the closing "Output Checklist" provides a deliverables checkpoint — matching 'clear sequence with most checkpoints present; minor validation gaps'. Not 5 because there are no explicit runtime validation steps or feedback loops (e.g., run `npm run storybook` and confirm stories load before proceeding); not 3 because the sequence and checklist are well above the 'validation absent' level, and this is a non-destructive setup skill so no cap applies.

4 / 5

Progressive Disclosure

The body has good section headers and logical organization, but no references/, scripts/, or assets/ exist — everything is inline in one 610-line file, including ~400 lines of example stories, MDX docs, and CI config that clearly belong in separate reference files. This matches 'some structure but could be better organized; content that should be separate is inline'. Not 2 because structure is solid with clear headers (the anchor-2 example lacks headers); not 4 because none of the template content is split out to bundled files. The under-50-lines simple-skill exception does not apply.

3 / 5

Total

14

/

20

Passed

Description

83%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description that explicitly states what the skill does and when to use it, with a well-chosen set of natural trigger phrases. The only weaknesses are minor: a couple of overly broad triggers ("UI library", "design system docs") and missing common synonyms like bare "Storybook" or ".stories files".

DimensionReasoningScore

Specificity

"Sets up Storybook for component documentation with controls, actions, accessibility testing, and visual regression" lists several concrete capabilities (controls, actions, a11y testing, visual regression), matching the 'several specific actions; minor gaps' anchor. Not 5 because coverage has minor gaps (MDX docs and deployment are in the body but not the description) and the items are feature areas rather than fully distinct actions; not 3 because it clearly enumerates four concrete capabilities rather than 1-2.

4 / 5

Completeness

Both halves are explicit: the 'what' is "Sets up Storybook for component documentation with controls, actions, accessibility testing, and visual regression" and the 'when' is "Use when users request" followed by five concrete trigger phrases. This mirrors the anchor-5 example structure (clear what + explicit when with concrete trigger phrases); the anchor-4 example's weaker 'when' is clearly inferior to this one.

5 / 5

Trigger Term Quality

The trigger list — "Storybook setup", "component documentation", "UI library", "component stories", "design system docs" — contains natural phrases users would actually say, matching 'good keyword coverage; a few natural terms missing'. Not 5 because it lacks synonyms and variations like bare "Storybook", ".stories files", or "component testing" that comprehensive coverage would include.

4 / 5

Distinctiveness Conflict Risk

"Storybook setup" and "component stories" are highly distinct tool-specific triggers, but "UI library" and "design system docs" are broad enough to overlap with general UI-development or design-system skills — 'mostly distinct; minor overlap risk with closely related skills'. Not 5 because those two broader triggers create non-minimal conflict risk; not 3 because the core niche is clearly staked out by the Storybook-specific terms.

4 / 5

Total

17

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

skill_md_line_count

SKILL.md is long (617 lines); consider splitting into references/ and linking

Warning

Total

15

/

16

Passed

Repository

sathishssj3/Stereix-Engine

Path

.agents/skills/storybook-setup/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.