Phoenix Storybook logo

Phoenix Storybook

OrganizationPopular
Arize-ai
phoenix-storybook

Conventions for creating, modifying, and reviewing production-faithful Storybook stories in the Phoenix frontend (js/app/stories, js/app/.storybook). Covers sidebar taxonomy and titles, the tag vocabulary, entry shape, option grids, component audits, overlays, toasts, themes, domain stories, and Storybook configuration. Use whenever touching `.stories.*` or story `.mdx` files, story fixtures, decorators, helpers in `stories/utils`, thumbnails, `.storybook/` configuration, or a frontend change that adds, changes, moves, or removes stories — including small or mechanical story edits and PR reviews that touch stories.

Overview

PublisherArize-ai
Repositoryphoenix
Skill namephoenix-storybook
Stars
11.8K
Forks
1.2K
Bundled files
16
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 16 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by Arize-ai on GitHub. Read the source before you install it.

Installation

Install the Phoenix Storybook AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Arize-ai/phoenix/tree/main/.agents/skills/phoenix-storybook
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Arize-ai/phoenix.git /tmp/phoenix
mkdir -p .claude/skills
cp -r /tmp/phoenix/.agents/skills/phoenix-storybook .claude/skills/phoenix-storybook
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Phoenix Storybook in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Phoenix Storybook on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Phoenix Storybook is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Phoenix Storybook

Stories exist to show how production components look and behave. This file holds the rules that apply to every story change and routes to focused references for the rest. Read only the references your task needs; each one is self-contained.

Apply it alongside phoenix-frontend, phoenix-design, and phoenix-typescript when those are relevant.

Core rules (always apply)

  1. Render production truth. Render the shipped component with its real types, providers, and behavior. Never write a lookalike inside a story file, and never invent content, states, controls, or behavior production does not support. If the production component cannot be rendered, delete the story rather than fake it. Mock only the narrow external boundary (network, Relay environment) that places the component in a real state.
  2. Three roots, grouped by subject. Every title starts with Design System/<Subject>/…, Domains/<Surface>/…, or Storybook/…. Subjects are what a reader is thinking about (Tables, Overlays, Feedback), never abstraction tiers (foundations / core / patterns). The subject and surface lists live in js/app/stories/_meta/taxonomy.ts. Adding a root or subject is a taxonomy decision: raise it, do not invent one.
  3. Titles match paths. Design System/Overlays/Popover lives at js/app/stories/design-system/overlays/Popover.stories.tsx. Leaves are spaced words; no & anywhere in a title.
  4. Tag every story on three axes, as plain string literals: provenance (legacy | updated), completeness (complete | incomplete, required on updated), human review (reviewed | unreviewed). New or rewritten stories are updated + unreviewed. Only a human reviewer sets reviewed — never an agent, however confident.
  5. One entry per piece of content. A file with one sidebar story tags it !dev. When all of a file's stories read well together on the Docs page, tag every one !dev so the Docs page is the component's only entry.
  6. Open on a compact Default, then the option grids. A foundational component shows its whole accepted option space, including options that have no styling.
  7. States are their own axis, crossed with other options in small pairwise OptionGrids — never appended as one more column beside content or variant options. pnpm lint:storybook rejects the mixed form.
  8. Layers are shown open. A menu, popover, tooltip, or dialog story shows the opened content, held open and non-dismissible; launch behavior gets exactly one separate Interaction story.
  9. Both themes, no horizontal scroll. Choose themeLayout deliberately; any grid with more than one cell column takes themeLayout: "column".
  10. No superfluous comments or docblocks. A story docblock renders on the Docs page; most stories need none, and a grid's labels are its description. A // comment must say something the file cannot.
  11. Removal goes through review. Propose each deletion or consolidation in writing and get an explicit ruling first; no bulk pruning.
  12. Run pnpm lint:storybook (from js/app) after any story change. It enforces titles, paths, tags, !dev, unused, Overview naming, and the state-axis rule. Passing it is necessary, not sufficient.

Route to the references

Read every row that matches the task. Paths are relative to this file.

TaskRead
Authoring or rewriting a design-system component's storiescomponent-audit, option-grids, entry-shape
Component with variable text or a list of itemscontent-length
Menus, popovers, tooltips, dialogs, submenus, or anything held openoverlays
Toasts or toast regionstoasts
Choosing themeLayout, fixing a story in Both mode, portaled-layer themingthemes
A story for one product surface (Domains/…), fixtures, mocks, many-state domain componentsdomain-stories
Choosing where an entry goes, adding a subject or subfoldertaxonomy
Creating, moving, or renaming a file or title; Overview pages; storySortfiles-and-titles
Writing or checking tags, !dev, unused, autodocstags
Writing a docblock or code comment in a story filedocblocks-and-comments
Merging entries, deleting stories, regenerating thumbnailsmerging-and-removal
Editing .storybook/ (manager, sidebar, preview, Docs page)storybook-config
Reviewing a PR or auditing a set of storiesreview, then the rows above for what it touches
Checking a story in a real browserverification

A design-system story does not need the domain reference, and a domain story does not need the Storybook configuration reference. Load what the change touches.

Workflow: authoring or rewriting a component entry

Copy this checklist and work through it:

- [ ] Read the component source; list what it accepts (component-audit)
- [ ] Place and title the file (taxonomy, files-and-titles)
- [ ] Compact `Default` first, then pairwise option grids (option-grids)
- [ ] Content-length and layer stories if the component has them
- [ ] Tags on all three axes; `!dev` per entry-shape
- [ ] Reread every docblock and comment you wrote; delete restatements
- [ ] `pnpm lint:storybook` passes
- [ ] Check `Both` mode for horizontal scroll and layer themes (verification)

The completeness tag records the audit: complete only when every item the audit listed appears or is explicitly excluded with a reason.

Keep this skill current

This skill is the durable home for Storybook conventions. When a maintainer settles how content is grouped, named, ordered, or sized, rejects a story shape, or names a failure mode — or when you find a rule here underspecified for the case in front of you — update the matching reference in the same change.

  • Write the principle, not the incident: state the rule so the next author can apply it without the conversation that produced it, and say what it rules out. A short concrete example from the codebase helps; dates and names do not.
  • Put a rule in the one reference a reader of that task would open. Promote it to Core rules only if nearly every story change needs it.
  • Keep references one level deep from this file, and add new ones to the routing table.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Phoenix Storybook AI skill do?

Conventions for creating, modifying, and reviewing production-faithful Storybook stories in the Phoenix frontend (js/app/stories, js/app/.storybook). Covers sidebar taxonomy and titles, the tag vocabulary, entry shape, option grids, component audits, overlays, toasts, themes, domain stories, and Storybook configuration. Use whenever touching `.stories.*` or story `.mdx` files, story fixtures, decorators, helpers in `stories/utils`, thumbnails, `.storybook/` configuration, or a frontend change that adds, changes, moves, or removes stories — including small or mechanical story edits and PR re...

Why use Phoenix Storybook on TypingMind?

Because you install it once and use it with any model. Phoenix Storybook is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Phoenix Storybook in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Arize-ai/phoenix/tree/main/.agents/skills/phoenix-storybook. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Phoenix Storybook?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Phoenix Storybook?

As many as you like. As long as a model supports skills, you can use Phoenix Storybook with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Phoenix Storybook AI skill free?

It is published on GitHub by Arize-ai. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇