new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Storybook · API · all subjects

cli commands/ai

4 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

storybook ai options table

storybook ai options: | Option | Description | |--------|-------------| | `-h`, `--help` | Output usage information. | | `-o`, `--output <path>` | Write the prompt output to a file instead of printing it to stdout. |

storybook ai setup command

Generates a detailed, project-aware Markdown prompt that instructs an AI agent to configure Storybook in your project and write initial stories for real components. The prompt is built from your detected Storybook configuration (framework, renderer, builder, language, addons) and covers analyzing the codebase, configuring the preview, mocking side effects, writing stories, and verifying them with Vitest. Note: currently only available for projects using the React renderer with the Vite builder. Usage: `storybook ai setup [options]`.

storybook ai setup options table

storybook ai setup options: | Option | Description | |--------|-------------| | `-h`, `--help` | Output usage information. | | `-c`, `--config-dir [dir-name]` | Storybook configuration directory. | | `--package-manager <type>` | Force package manager to use when detecting project information. Available package managers include `npm`, `yarn`, and `pnpm`. | | `--disable-telemetry` | Disables Storybook's telemetry. | | `--debug` | Outputs more logs in the CLI to assist debugging. | | `--loglevel [level]` | Controls level of logging. Available options: `trace`, `debug`, `info` (default), `warn`, `error`, `silent`. | | `--logfile [path]` | Write debug logs to a file. |

storybook ai setup output parameter

When `storybook ai setup` is run without `--output`, the generated prompt is printed to stdout, which is how AI agents typically consume it by running the command directly and reading the result. When run with `--output`, the prompt is written to the given file path so you can paste or attach it to an agent that doesn't have shell access.

Give your agent this brain