Agent Ready

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
91/ 100Grade A

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)

Share this report

Anyone with the link can open it.

Snapshot

A picture of this report to share. Drawn from the report itself, nothing is uploaded.

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. 1.

    .cursorrules points to 1 path that does not exist in the repository (code/vitest.workspace.ts)

    AR202 · medium

  2. 2.

    1 generated or oversized files are tracked (3.6 MB)

    AR503 · medium

  3. 3.

    2 destructive or ship-to-production scripts have no warning for agents (publish-sandboxes, publish)

    AR603 · low

Findings (3)

Safety

1
lowAR603

2 destructive or ship-to-production scripts have no warning for agents (publish-sandboxes, publish)

publish-sandboxes: yarn --cwd ../scripts publish

An agent that sees a reset or deploy script may run it while trying to get a clean state, against a database or environment that matters.

FixAdd a "Never run without asking" list to AGENTS.md naming publish-sandboxes, publish, and deny them in the agent's permission settings.

Safety · How AR603 is judged

What an agent will experience

The commands we detected, and whether your instruction files mention them.

Commands detected

installnot in instructions
yarn install

source: yarn.lock

devin instructions
yarn start

source: package.json

testin instructions
yarn test

source: package.json

lintnot in instructions
yarn lint

source: 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/rules/cursor-cloud.mdcroot

Cursor · 473 tokens

.cursor/rules/spy-mocking.mdcroot

Cursor · 381 tokens

.cursorrulesroot

Cursor · 441 tokens

AGENTS.mdroot

all agents · 1,021 tokens

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

Driftwithin cap

raw 4 · applied 4

Contextwithin cap

raw 4 · applied 4

Safetywithin cap

raw 1 · applied 1

100 − 9 = 91

No critical finding
No critical finding limited this score. Grades: A ≥ 90, B ≥ 75, C ≥ 60, D ≥ 40, F below 40.

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
AGENTS.md (first section)
# 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.

Agent Ready score
  • Markdown
    [![Agent Ready score](https://makeagentready.tech/badge/gh/storybookjs/storybook.svg)](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