本文へ移動
cccskills
無料GitHub で公開日本語紹介

ui-workflow

既存の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.

インストール方法を見る

こんなときに便利

  • UI変更に使える既存部品を探したいとき
  • 部品の変更に合わせて表示例を更新
  • ストーリーのテストを実行
  • UI変更のレビューを共有したいとき

日本語での紹介

できること

Storybookを使うプロジェクトで、UIの変更から確認用レビューの公開までを進めます。再利用できる既存部品を調べ、ストーリーと呼ばれる部品の表示例を作成・更新し、ストーリーのテストを実行します。部品の追加・変更・削除に合わせて表示例も同期し、変更結果や既存の部品を選んでレビューにまとめます。

こんなときに便利

画面を修正する前に使える部品を探したいときや、実装と表示例をそろえて管理したいときに向いています。変更後の見た目を、利用者がStorybookで引き続き確認できる形で渡したい場面にも使えます。

使い方の例

  • 「既存の部品を再利用してUIを変更し、ストーリーとテストも更新して」
  • 「今回変更した部品をStorybookのレビューにまとめて」

注意点

Storybook 11.0以降が必要で、対応するプレリリースやcanary版も対象です。新規導入やアップグレードには利用者の承認が必要です。CLIはStorybookを導入したパッケージで実行し、作業後も開発サーバーを起動したままにします。

この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。

含まれるファイル(1)

  • SKILL.md2.3 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Prerequisites:

  1. Storybook must be installed in the project. Invoke the /storybook-init skill to set up Storybook, but only if the user explicitly invoked this skill and approves a Storybook installation.
  2. Storybook must be 11.0 or later. An 11.0 prerelease (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:

  1. Reuse a dev server that already serves this project's Storybook (probe the URL, usually 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.
  2. The dev server is part of the deliverable, not a temporary verification tool: leave it running when your work is done so the user can keep browsing stories. Never kill it after verification.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

canary

無料日本語概要

Storybookのブランチごとの試験版パッケージを探し、必要に応じて公開処理を実行します。公開状況を確認し、導入や更新に使うコマンドを案内します。

  • ブランチの試験版を探したいとき
  • フォークPRの試験版を公開したいとき
  • 公開状況と導入コマンドの確認
storybookjs/storybook9.1万2026年10月17日 更新

component-docs

無料日本語概要

Storybookからプロジェクト内のUI部品と設定項目、使用例を調べ、使い方の質問への回答や、似た部品を重複して作らず再利用する判断に役立てるスキルです。

  • 既存のUI部品を探したいとき
  • 部品の設定項目と使用例を確認
  • 部品の使い方を質問したいとき
storybookjs/storybook9.1万2026年10月17日 更新

docs-review

無料日本語概要

Storybookの/docs内の文書を、読者や目的に合わせてレビュー・改善・新規作成します。構成や説明例の見直しから、表記の整理、文書戦略の相談まで扱います。

  • 説明ページの構成や例を改善したいとき
  • 新機能の文書を起草したいとき
  • ページの種類や目次を相談したいとき
storybookjs/storybook9.1万2026年10月17日 更新

fix-linting-types-on-pr

無料日本語概要

GitHubのPRを取得し、lintとTypeScriptのエラーを修正してコミット・プッシュまで進めるスキル。フォーク由来のPRにも対応します。

  • PRのlintエラーを直したいとき
  • PRのTypeScriptエラー修正
  • フォーク由来のPRへの修正
storybookjs/storybook9.1万2026年10月17日 更新

github-qa-labels

無料日本語概要

QAテストで見つかったGitHubのIssueやPRを、リリース追跡用ラベルとバグの深刻度ラベルで整理し、複数件への付与にも対応するスキル。

  • QAの指摘をリリース別に整理
  • バグの深刻度を分類したいとき
  • 複数のIssueやPRへのラベル付与
storybookjs/storybook9.1万2026年10月17日 更新

handle-pr-comments

無料日本語概要

GitHub のプルリクエストに届いた未解決のレビュー指摘を一件ずつ整理し、利用者が選んだ方針に沿って修正・返信・解決済みへの更新を進めるスキル。

  • PR の未解決レビューに対応したいとき
  • 修正・返信・見送りを選びたいとき
  • 重複するレビュー指摘をまとめたいとき
storybookjs/storybook9.1万2026年10月17日 更新

storybookjs のスキルをすべて見る

このスキルの問題を報告する