Storybookのブランチごとの試験版パッケージを探し、必要に応じて公開処理を実行します。公開状況を確認し、導入や更新に使うコマンドを案内します。
- ブランチの試験版を探したいとき
- フォークPRの試験版を公開したいとき
- 公開状況と導入コマンドの確認
既存のUI部品をStorybookで探し、変更に合わせた表示例の作成・更新からテスト、結果のレビュー公開までを一連の手順で進めるスキルです。
Storybook's workflow for UI changes in a project with Storybook - look up the components to reuse, write and update stories, run story tests, and publish a review of the result. Also shows existing components or stories in a review. Use when the project's agent instructions (such as AGENTS.md) or the user ask for it.
Storybookを使うプロジェクトで、UIの変更から確認用レビューの公開までを進めます。再利用できる既存部品を調べ、ストーリーと呼ばれる部品の表示例を作成・更新し、ストーリーのテストを実行します。部品の追加・変更・削除に合わせて表示例も同期し、変更結果や既存の部品を選んでレビューにまとめます。
画面を修正する前に使える部品を探したいときや、実装と表示例をそろえて管理したいときに向いています。変更後の見た目を、利用者がStorybookで引き続き確認できる形で渡したい場面にも使えます。
Storybook 11.0以降が必要で、対応するプレリリースやcanary版も対象です。新規導入やアップグレードには利用者の承認が必要です。CLIはStorybookを導入したパッケージで実行し、作業後も開発サーバーを起動したままにします。
この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Prerequisites:
/storybook-init skill to set up Storybook, but only if the user explicitly invoked this skill and approves a Storybook installation.11.0.0-alpha.x) or a canary build (0.0.0-pr-*) also counts. Treat a request to set up or install Storybook as approval to perform any required Storybook upgrade. For other requests, invoke the /storybook-upgrade skill only after the user explicitly approves an upgrade.Run the Storybook dev server and every Storybook CLI command from the same working directory: the package where Storybook is installed (in a monorepo often a leaf package such as packages/ui).
If the sandbox blocks network access or ports, request escalated permissions for Storybook CLI commands; otherwise the dev server can fail in confusing ways (for example, it finds no free port to bind to).
Run npx storybook skills ui-workflow and read the output in its entirety to get the mandatory, ordered workflow for working on UI changes, writing stories, and keeping stories in sync with every frontend component you create, modify, or delete. This workflow explains how to write stories, preview stories, and display a curated Storybook review.
Some commands require a running Storybook dev server:
http://localhost:6006) instead of starting a second one. Otherwise start one in the background, using the project's preferred package manager and existing package.json Storybook script (e.g. npm run storybook) instead of inventing a new command whenever possible. Wait until the URL responds before running commands that need it.まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Storybookのブランチごとの試験版パッケージを探し、必要に応じて公開処理を実行します。公開状況を確認し、導入や更新に使うコマンドを案内します。
Storybookからプロジェクト内のUI部品と設定項目、使用例を調べ、使い方の質問への回答や、似た部品を重複して作らず再利用する判断に役立てるスキルです。
Storybookの/docs内の文書を、読者や目的に合わせてレビュー・改善・新規作成します。構成や説明例の見直しから、表記の整理、文書戦略の相談まで扱います。
GitHubのPRを取得し、lintとTypeScriptのエラーを修正してコミット・プッシュまで進めるスキル。フォーク由来のPRにも対応します。
QAテストで見つかったGitHubのIssueやPRを、リリース追跡用ラベルとバグの深刻度ラベルで整理し、複数件への付与にも対応するスキル。
GitHub のプルリクエストに届いた未解決のレビュー指摘を一件ずつ整理し、利用者が選んだ方針に沿って修正・返信・解決済みへの更新を進めるスキル。