Skip to content
Skillpedia
Websites & UI (frontend)91k · #1328

ui-workflow

What it does

This skill guides the AI through making user interface changes in a project that uses Storybook. It covers reusing components, writing and updating stories, running story tests and preparing a review. It is for front-end teams working with Storybook.

When to use it

  • ✓When you want a UI change made and checked through Storybook stories.
  • ✓When you create, change or delete a frontend component and need its stories kept in sync.
  • ✓When you want a visual review of a UI change shared with the team.

Skill link

https://github.com/storybookjs/storybook/blob/next/code/lib/claude-plugin/skills/ui-workflow/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/storybookjs/storybook/blob/next/code/lib/claude-plugin/skills/ui-workflow/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Add a loading state to our product card, update its stories, and prepare a review I can look at.”

5 new skills a week. 1 minute to read.

How it works

The AI follows a fixed order: it looks up existing components, writes or updates stories, runs the story tests, and prepares a review. Some steps need a Storybook dev server running from the right package folder.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

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.
FAQ

Does it need a running Storybook server?

Some steps do. The skill says the dev server must run from the same folder as the Storybook commands.

What if the sandbox blocks ports?

The skill says to request escalated permission for Storybook commands, since the dev server can fail in confusing ways.

Does it install Storybook?

Only if you explicitly invoked this skill and approved an installation.

Details

Original description by the author

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.

repo: storybookjs/storybook

Popularity

GitHub stars
91k
Ranking position
#1328
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills