Storybook pr
Creates a pull request following Storybook conventions. Use when creating PRs, opening pull requests, or submitting changes for review.
install
source · Clone the upstream repo
git clone https://github.com/storybookjs/storybook
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/storybookjs/storybook "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.agents/skills/pr" ~/.claude/skills/storybookjs-storybook-pr && rm -rf "$T"
manifest:
.agents/skills/pr/SKILL.mdsource content
Create Pull Request
Creates a PR following Storybook conventions.
Title format
[Area]: [Description]
- Area is capitalized, no spaces (dashes allowed)
- Examples:
CSFFactories: Fix type exportNextjs-Vite: Add supportCLI: Fix automigrate issue
Labels
Add these labels to the PR:
Category (required, pick one):
- fixes incorrect behaviorbug
- user-facing maintenancemaintenance
- upgrading/downgrading depsdependencies
- internal build/test updates (no changelog)build
- minor cleanup (no changelog)cleanup
- docs only (no changelog)documentation
- new featurefeature request
- breaks compatibilityBREAKING CHANGE
- doesn't fit aboveother
CI (required, pick one):
- standard sandbox set; default for most code changesci:normal
- merged sandbox setci:merged
- daily sandbox set; use this when changes affect prerelease sandboxes or sandboxes pinned to a framework or React version other than latestci:daily
- documentation-only changes (use withci:docs
category)documentation
PR body
Read
.github/PULL_REQUEST_TEMPLATE.md from the repository root.
Copy that template EXACTLY, including all HTML comments (
<!-- ... -->). Fill in the relevant sections based on the changes, but keep all comments intact.
Command
Always create PRs in draft mode:
gh pr create --draft --title "<Area>: <Description>" --body "<FILLED_TEMPLATE>" --label "<category>,<ci>"