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.mdCopy 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
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
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:
- Storybook must be installed in the project. Invoke the
/storybook-initskill to set up Storybook, but only if the user explicitly invoked this skill and approves a Storybook installation. - 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-upgradeskill 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:
- 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 existingpackage.jsonStorybook 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. - 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
Comments
- …
More skills from this repository
handle-pr-comments
91kHelps your agent work through GitHub pull request review comments one at a time, suggesting a fix, applying your choice and resolving the thread.
principle-encode-lessons-in-structure
91kTeaches your agent to turn repeated mistakes into automatic checks, such as a lint rule or script, instead of writing the same reminder again.
storybook-startup-benchmark
91kHelps your agent measure how long Storybook takes to start and show its first story, with repeat runs for fair comparisons.
storybook-upgrade
91kShows your agent how to upgrade all Storybook packages in a project to a chosen version, one major version at a time.
Similar skills
angular-developer
280kHelps your agent create Angular code and give project structure advice. Useful for starting new projects, creating code parts, or improving performance and accessibility.
frontend-a11y
280kHelps your agent make web interfaces accessible to everyone. It ensures websites and apps work well with screen readers and keyboard navigation.
frontend-patterns
280kHas your agent apply modern patterns in frontend development. It optimizes performance, manages state, and follows best practices in React and Next.js.