storybookjs/storybook
Storybook is the industry standard workshop for building, documenting, and testing UI components in isolation
- JavaScript / TypeScript · yarn
- Next.js
- React
- Vue
- 91,775 stars
Agents can work from your instructions with few surprises.
- critical
- 0
- high
- 0
- medium
- 2
- low
- 1
Scanned 29 Nov 2026, 17:58 UTC at commit 01e7d8e (opens in new tab)
Scan details+−
- Commit
- 01e7d8eedaa63e879f6fae366f95ddf659c7d2c1
- Engine
- 0.8.6, 24.4 s
- Files read
- 240 of 9,610 in the repository (585 KB, file tree)
Agents can work from your instructions with few surprises.
- critical
- 0
- high
- 0
- medium
- 2
- low
- 1
Summary
storybookjs/storybook scores A 91 at commit 01e7d8e: 3 findings. Highest severity medium: .cursorrules points to 1 path that does not exist in the repository (code/vitest.workspace.ts) (.cursorrules:15).
Fix these first
- 1.
.cursorrules points to 1 path that does not exist in the repository (
code/vitest.workspace.ts)AR202 · medium
- 2.
1 generated or oversized files are tracked (3.6 MB)
AR503 · medium
- 3.
2 destructive or ship-to-production scripts have no warning for agents (publish-sandboxes, publish)
AR603 · low
What an agent will experience
The commands we detected, and whether your instruction files mention them.
Commands detected
yarn installsource: yarn.lock
yarn startsource: package.json
yarn testsource: package.json
yarn lintsource: package.json
| Purpose | Command | In instructions | Source |
|---|---|---|---|
| install | yarn install | no | yarn.lock |
| dev | yarn start | yes | package.json |
| test | yarn test | yes | package.json |
| lint | yarn lint | no | package.json |
A command marked no is not automatically wrong: it can still be the right command. It does mean the agent has to discover it instead of reading it.
Documented commands: verdict
None of the commands documented in the instruction files is missing at this commit.
Instruction files read
Cursor · 473 tokens
Cursor · 381 tokens
Cursor · 441 tokens
all agents · 1,021 tokens
| File | Read by | Tokens | Role |
|---|---|---|---|
| .cursor/ | Cursor | 473 | root |
| .cursor/ | Cursor | 381 | root |
| .cursorrules | Cursor | 441 | root |
| AGENTS.md | all agents | 1,021 | root |
What this scan did not cover (2 skipped checks)
- Large repository: we read the file tree and the manifests, CI and instruction files, not every source file.
- Tree mode: path and size checks (AR202, AR503) use the full file list, but file contents were read only for key files.
- AR303: Source files were not read for this large repository.
- AR304: Source files were not read for this large repository.
How the score was calculated
raw 4 · applied 4
raw 4 · applied 4
raw 1 · applied 1
| Category | Raw penalty | Applied | Category cap |
|---|---|---|---|
| Drift | 4 | 4 | within |
| Context | 4 | 4 | within |
| Safety | 1 | 1 | within |
100 − 9 = 91
The full formula, category caps and every check are on the methodology page.
The Agent Kit
Generated 29 Nov 2026, 17:58 UTC · commit 01e7d8e
Every command and path is checked against commit 01e7d8e. Nothing was run. Shown as a diff against your files.
- Files
- 7
- AGENTS.md
- 1,689 tokens
- Commands checked
- 15
- Paths checked
- 44 all exist
- AGENTS.md~1689 tokenschangeslocked
- CLAUDE.md~37 tokensnew filelocked
- .cursor/rules/agent-ready.mdc~59 tokensnew filelocked
- .github/copilot-instructions.md~49 tokensnew filelocked
- GEMINI.md~47 tokensnew filelocked
- .devcontainer/devcontainer.json~80 tokensnew filelocked
- scripts/agent-setup.sh~116 tokensnew filelocked
# Storybook Agent Instructions
This file is the canonical instruction source for coding agents; other entrypoints point here.
Storybook is a TypeScript monorepo: code lives in `code/`, build tooling in `scripts/`, and every PR targets `next`.
## Always
- Run commands from the repository root unless stated otherwise.
- After editing, format with `cd code && yarn fmt:write`.
- Test React components with stories and `play` functions, never `*.test.tsx`.
- Log through `storybook/internal/node-logger` or `storybook/internal/client-logger`, not `console.*`.
- Use explicit extensions on relative TS imports (`./foo.ts`), except framework component files such as `.vue` and `.svelte`.
- Prefer `pathe` over `node:path`. It normalizes separators to `/`, so path code should not rewrite slashes itself.
- Do not commit incidental changes to generated files such as `code/core/src/manager/globals/exports.ts`.
…Get the complete kit for storybookjs/storybook: all 7 files, the diff against what the repository already has, and the ZIP.
Repo Fix is $19 once for this repository. Pro ($15 a month) covers every repository. See pricing.
- Large repository: only key files were read, so the kit describes what we could verify.
- Left alone because they already exist in the repository and the kit cannot show a safe diff: .github/workflows/copilot-setup-steps.yml.
- kept the hand-written sections and fixed only the lines the scan proved wrong
- The sections kept from your AGENTS.md were not rewritten. They were scanned only for text that overrides instructions, sends data elsewhere or runs a network or scripting tool.
- Kept from the existing AGENTS.md without verification: `yarn fmt:write`, `yarn task dev`, `yarn task`, `storybook/internal/node-logger`, `storybook/internal/client-logger`, `./foo.ts`, +1 more. The kit did not write these.
Put this report in your README
The badge is generated from this report and links back to it. Pick a look, then copy the snippet.
- Markdown
[](https://makeagentready.tech/gh/storybookjs/storybook) - HTML
<a href="https://makeagentready.tech/gh/storybookjs/storybook"><img src="https://makeagentready.tech/badge/gh/storybookjs/storybook.svg" alt="Agent Ready score"></a> - Image URL
https://makeagentready.tech/badge/gh/storybookjs/storybook.svg