查找Storybook指定分支的试验版软件包,必要时执行发布流程,跟踪发布状态,并提供用于新建项目或更新现有项目的命令。
- 查找指定分支的试验版
- 发布来自派生仓库的拉取请求试验版
- 确认发布状态与安装命令
按Storybook规范创建供审核变更的草稿拉取请求,整理标题、必需标签和正文模板,并提供其他维护者能够复现的手动测试步骤。
Creates a pull request following Storybook conventions. Use when creating PRs, opening pull requests, or submitting changes for review.
为Storybook的变更创建供审核的草稿拉取请求。标题结合受影响的领域和变更内容,并选择表示变更类别、持续集成测试范围以及发布前是否需要手动检查的标签。正文使用.github/PULL_REQUEST_TEMPLATE.md,保留所有HTML注释并填写各项内容。
适合在提交修复或新增功能时统一项目专用的格式和标签。需要让其他维护者验证变更时,也可用来整理操作步骤、预期结果及容易受到影响的部分。
使用gh命令行工具创建拉取请求,始终采用草稿形式。手动测试部分必须填写,且其中的步骤需要事先在本地执行。如果无法判断是否需要手动质量检查,会向用户确认。Chromatic链接在持续集成完成后才能使用。只有用户要求试验版时,才会添加ci:canary标签。
本介绍由 AI(OpenAI Codex)根据公开的 SKILL.md 撰写。准确的规格请查看下方原文。
AI 仅根据 SKILL.md 的内容,从 4 个方面进行了评估。星标数和热度不计入评估。
总分按每项 A=25 分、B=15 分、C=5 分相加。 由 AI(OpenAI Codex)于 2026年10月21日 评估。仅供参考,安装前请同时查看原文。
安装前可以查看交给 AI 代理的指令内容。
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)Canary (optional):
ci:canary - publish pkg.pr.new canary packages for an in-repo PR; later pushes republish while the label remains. Does nothing on fork PRs. To canary a fork PR, a maintainer runs publish-canary.yml with the pr input; do not ask the fork author to publish. Do not add this label unless the user asks for a canary.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>"
还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
查找Storybook指定分支的试验版软件包,必要时执行发布流程,跟踪发布状态,并提供用于新建项目或更新现有项目的命令。
通过Storybook查询项目现有界面组件、配置参数和使用示例,用于回答组件用法问题,并在重复实现前判断能否复用现有组件。
根据读者和页面目的,审核、改进或新写Storybook的/docs文档。既可调整结构和示例、统一格式,也可讨论页面定位与文档规划。
检出GitHub的PR,修复lint代码规范问题和TypeScript类型错误,完成提交与推送。支持来自分支仓库的PR,并通过重复类型检查验证修复。
为QA测试发现的GitHub Issue和PR添加发布版本追踪标签,并按影响程度与变通方案为漏洞分类。支持批量添加标签,严重程度标签仅用于程序缺陷。
逐条整理 GitHub 拉取请求中尚未解决的审查意见,说明问题并提出修改方案,再按用户选择修改代码、回复或跳过,处理提交及将讨论标为已解决。