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.md
source 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 export
    • Nextjs-Vite: Add support
    • CLI: Fix automigrate issue

Labels

Add these labels to the PR:

Category (required, pick one):

  • bug
    - fixes incorrect behavior
  • maintenance
    - user-facing maintenance
  • dependencies
    - upgrading/downgrading deps
  • build
    - internal build/test updates (no changelog)
  • cleanup
    - minor cleanup (no changelog)
  • documentation
    - docs only (no changelog)
  • feature request
    - new feature
  • BREAKING CHANGE
    - breaks compatibility
  • other
    - doesn't fit above

CI (required, pick one):

  • ci:normal
    - standard sandbox set; default for most code changes
  • ci:merged
    - merged sandbox set
  • ci:daily
    - daily sandbox set; use this when changes affect prerelease sandboxes or sandboxes pinned to a framework or React version other than latest
  • ci:docs
    - documentation-only changes (use with
    documentation
    category)

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>"