Phoenix Storybookのロゴ

Phoenix Storybook

組織人気
Arize-ai
phoenix-storybook

Phoenixフロントエンド(js/app/stories、js/app/.storybook)で、本番環境に忠実なStorybookストーリーを作成、変更、レビューする際の規約です。サイドバーの分類とタイトル、タグの語彙、エントリーの構成、オプショングリッド、コンポーネントの監査、オーバーレイ、トースト、テーマ、ドメイン別ストーリー、Storybookの設定を扱います。`.stories.*`やストーリーの`.mdx`ファイル、ストーリー用フィクスチャ、デコレーター、`stories/utils`内のヘルパー、サムネイル、`.storybook/`の設定に手を加える場合や、ストーリーを追加、変更、移動、削除するフロントエンド変更を行う場合は、規模の小さい機械的な編集やストーリーに関するPRレビューも含め、必ず使用してください。

概要

公開者Arize-ai
リポジトリphoenix
スキル名phoenix-storybook
スター
11.8K
フォーク
1.2K
同梱ファイル
16
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 16個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    Arize-aiがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Phoenix Storybook」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/Arize-ai/phoenix/tree/main/.agents/skills/phoenix-storybook
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでPhoenix Storybookを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にPhoenix Storybookを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Phoenix Storybookは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Phoenix Storybook」では何ができますか?

Phoenixフロントエンド(js/app/stories、js/app/.storybook)で、本番環境に忠実なStorybookストーリーを作成、変更、レビューする際の規約です。サイドバーの分類とタイトル、タグの語彙、エントリーの構成、オプショングリッド、コンポーネントの監査、オーバーレイ、トースト、テーマ、ドメイン別ストーリー、Storybookの設定を扱います。`.stories.*`やストーリーの`.mdx`ファイル、ストーリー用フィクスチャ、デコレーター、`stories/utils`内のヘルパー、サムネイル、`.storybook/`の設定に手を加える場合や、ストーリーを追加、変更、移動、削除するフロントエンド変更を行う場合は、規模の小さい機械的な編集やストーリーに関するPRレビューも含め、必ず使用してください。

TypingMindでPhoenix Storybookを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Phoenix Storybookはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにPhoenix Storybookをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/Arize-ai/phoenix/tree/main/.agents/skills/phoenix-storybookを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Phoenix Storybookを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Phoenix Storybookで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもPhoenix Storybookを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Phoenix Storybook」は無料ですか?

Arize-aiがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇