一键导入
pr
Creates a pull request following Storybook conventions. Use when creating PRs, opening pull requests, or submitting changes for review.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Creates a pull request following Storybook conventions. Use when creating PRs, opening pull requests, or submitting changes for review.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Triage and resolve GitHub PR review comments one by one, interactively. Use when the user asks to handle, address, respond to, or resolve PR review comments, or mentions reviewer feedback on a pull request.
Opens a pull request from the current branch using the PR template. Use when the user asks to open a PR, create a pull request, or invokes /open-pr.
Rebuild and restart the internal Storybook UI after changes to internal Storybook code (core, addons, frameworks, renderers, libs, etc.), then optionally display a UI review. Use after editing any package in the Storybook monorepo's code/ directory, or when the user asks to rebuild and/or restart Storybook.
Measure Storybook startup time from spawning `storybook dev` until the first story renders in the browser. Use when the user asks about Storybook boot time, server-ready timing, first story render timing, startup regressions, benchmarking with repeat runs, or comparing Storybook versions or feature flags.
Evaluate a PR's title and description against its actual implementation, then iteratively suggest and apply updates. Use when the user asks to check, fix, or update a PR title or description.
Write the changelog entry for a new minor or major Storybook release. Use when preparing a CHANGELOG.md entry for a X.Y.0 version.
| name | pr |
| description | Creates a pull request following Storybook conventions. Use when creating PRs, opening pull requests, or submitting changes for review. |
| allowed-tools | Bash, Read |
Creates a PR following Storybook conventions.
[Area]: [Description]
CSFFactories: Fix type exportNextjs-Vite: Add supportCLI: Fix automigrate issueAdd these labels to the PR:
Category (required, pick one):
bug - fixes incorrect behaviormaintenance - user-facing maintenancedependencies - upgrading/downgrading depsbuild - internal build/test updates (no changelog)cleanup - minor cleanup (no changelog)documentation - docs only (no changelog)feature request - new featureBREAKING CHANGE - breaks compatibilityother - doesn't fit aboveCI (required, pick one):
ci:normal - standard sandbox set; default for most code changesci:merged - merged sandbox setci:daily - daily sandbox set; use this when changes affect prerelease sandboxes or sandboxes pinned to a framework or React version other than latestci:docs - documentation-only changes (use with documentation category)QA (required, pick one):
Tells the release team whether manual QA is needed before the next minor release.
qa:needed — a human must manually verify this PR at release timeqa:skip — no per-PR manual QA needed at release timeHeuristics:
qa:neededqa:skipqa:neededqa:neededqa:neededqa:skipRead .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.
The Manual testing section is mandatory — never leave it empty. Write steps for a separate maintainer, not a log of how you tested.
Each step should be:
Verify your own steps first — run through them locally before opening the PR.
When useful, link to published Chromatic Storybooks (CI must finish first; links won't work immediately after opening the PR):
https://<branch>--635781f3500dd2c49e189caf.chromatic.com/?path=/story/<story_id>https://<branch>--630511d655df72125520f051.chromatic.com/?path=/story/<story_id>Replace <branch> with Chromatic's normalized slug (special chars → dashes, e.g. feature/foo → feature-foo) and <story_id> with the story path (e.g. example-button--primary).
Always create PRs in draft mode:
gh pr create --draft --title "<Area>: <Description>" --body "<FILLED_TEMPLATE>" --label "<category>,<ci>,<qa>"