← ClaudeAtlas

storybooklisted

Scaffolds, audits, and tests Storybook stories for React (web) and React Native / Expo (native) component libraries. Generates three artefacts in two files per invocation: a visual regression `*.stories.tsx` file containing a `Default` story (variants grouped into a single snapshot) and a `Playground` story (interactive `args` / `argTypes`), plus a sibling `*.test.stories.tsx` interaction test file under a `/Tests` namespace. Supports an opt-in, per-pathname auth flow whose credentials live in the OS keychain (not in the repo). Iteration loop uses the Playwright CLI against the running Storybook URL; visual evidence delegates to the `reviewer` agent and the `screen-recorder` skill. Triggers on "scaffold stories", "add storybook", "story for this component", "interaction test for this story", "/storybook".
mthines/agent-skills · ★ 4 · AI & Automation · score 83
Install: claude install-skill mthines/agent-skills
# Storybook Scaffold and test Storybook stories — **three artefacts in two files** per component: a `Default` story and a `Playground` story (both in the visual regression file) plus an interaction test file under a `/Tests` namespace. Works on React (web) and React Native / Expo (native). Auth — when the running Storybook is gated — is opt-in and per-pathname, with secrets stored in the OS keychain instead of the repo. > **This `SKILL.md` is a thin index.** > Concern-specific rules live in [`rules/*.md`](./rules) and load on > demand. > Reference material lives in [`references/*.md`](./references). > Literal scaffolding lives in [`templates/*.md`](./templates). > Do not preload every file — load only what the current phase asks for. --- ## When to use Reach for this skill when any of the following is true: - A component has no story file yet and needs visual regression coverage. - An existing `*.stories.tsx` lacks an interaction test counterpart. - A `Playground` story is missing or out of sync with current props. - The Storybook target is gated by auth and the agent needs to log in. - A flaky interaction test needs to be iterated against the running Storybook URL. Do **not** reach for this skill when: - The task is to build the component itself. Scaffold stories **after** the component is implemented and named. - The repo has no Storybook installation at all. Halt and ask the user to install Storybook first — this skill does not bootstrap Storybook. - The co