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):
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 above
CI (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 withdocumentationcategory)
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:
bash1gh pr create --draft --title "<Area>: <Description>" --body "<FILLED_TEMPLATE>" --label "<category>,<ci>"