Skip to content

[feat][skills]添加 PR 规范检查技能 - #656

Merged
Keithwwa merged 3 commits into
AISBench:masterfrom
Libotry:docs/libotry-pr-check-skill
Nov 21, 2026
Merged

Keithwwa merged 3 commits into
AISBench:masterfrom
Libotry:docs/libotry-pr-check-skill

Conversation

@Libotry

@Libotry Libotry commented Nov 11, 2026 •

Copy link
Copy Markdown
Collaborator

PR Type / PR类型

  • Feature(功能新增)
  • Bugfix(Bug 修复)
  • Docs(文档更新)
  • CI/CD(持续集成/持续部署)
  • Refactor(代码重构)
  • Perf(性能优化)
  • Dependency(依赖项更新)
  • Test-Cases(测试用例更新)
  • Other(其他)

Related Issue | 关联 Issue
Fixes #688;贡献规范背景参考 #594,不声明解决该 PR。

🔍 Motivation / 变更动机

提供可复用的 PR 贡献规范检查技能,辅助提交前检查、已有 PR 审阅及修改后复审。参考 vLLM pr-checklist 的组织形式和 AISBench #594 的规范整理,不复制代码质量审查、不重复现有 CI 门禁。

📝 Modification / 修改内容

仅 3 份 Markdown 文档,新增 183 行:

  • 新增 .agents/skills/pr-checklist/SKILL.md,覆盖标题/提交格式、DCO 与 CLA 声明、模板与分类、Issue 引用、文档/影响说明及反馈记录。
  • 新增技能 README,提供快速开始和边界说明。
  • 公共 README 仅新增一行导航,保留上游已有部署技能及目录约定。

明确区分现行规范与未采纳的 #594 提案,以及本技能和 /pr_check 门禁命令。基于上游 d99493a,仅一个带 Signed-off-by 的提交 b211016。

📐 Associated Test Results / 关联测试结果

本地已通过 git diff --check upstream/master HEAD,以及 UTF-8、frontmatter、代码块闭合、本地 Markdown 链接和技能命名一致性检查。相对上游仅上述 3 份文档;远端与本地提交一致。
纯文档变更,未运行 UT、冒烟或 benchmark;无独立在线测试报告,CI 状态以本 PR Checks 为准。文档检查不代表技能执行效果或代码质量已验证。

⚠️ BC-breaking (Optional) / 向后不兼容变更(可选)

不适用,无运行代码、API 或配置变更。

⚠️ Performance degradation (Optional) / 性能下降(可选)

不适用,无运行时变更。

🌟 Use cases (Optional) / 使用案例(可选)

请读取 .agents/skills/pr-checklist/SKILL.md,检查当前分支相对 upstream/master 的 PR 规范。
请按 pr-checklist 检查 AISBench/benchmark#594,只输出报告,不修改远端。

默认只读,输出证据与待办;不自动评论、触发工作流、改标签、签署、批准或合并,不能视为质量通过或可合并的证明。

✅ Checklist / 检查列表

Before PR:

  • Pre-commit or other linting tools are used to fix the potential lint issues. / 使用预提交或其他 linting 工具来修复潜在的 lint 问题。
  • Bug fixes are fully covered by unit tests, the case that causes the bug should be added in the unit tests. / 修复的 Bug 已完全由单元测试覆盖,导致 Bug 的情况应在单元测试中添加。
  • The modification is covered by complete unit tests. If not, please add more unit tests to ensure the correctness. / 此拉取请求中的修改已完全由单元测试覆盖。如果不是,请添加更多单元测试以确保正确性。
  • All relevant documentation (API docs, docstrings, example tutorials) has been updated to reflect these changes. / 所有相关文档(API 文档、文档字符串、示例教程)已更新以反映这些更改。

使用 git diff 空白检查和文档静态检查;两项 UT 对本次纯文档变更不适用,保留未勾选。

After PR:

  • If the modification has potential influence on downstream or other related projects, this PR should be tested with those projects. / 如果此拉取请求对下游或其他相关项目有潜在影响,应在那些项目中测试此 PR。
  • CLA has been signed and all committers have signed the CLA in this PR. / CLA 已签署,且本 PR 中的所有提交者均已签署 CLA。

无下游运行行为变更;CLA 状态未验证,不据 Signed-off-by 推断 CLA 完成。

👥 Collaboration Info / 协作信息

  • Suggested Reviewers / 建议审核人:请维护者安排。
  • Relevant Module Owners / 相关模块负责人:待确认。
  • Other Collaboration Notes / 其他协作说明:请重点确认规范检查与门禁边界,以及提案和现行规范的区分。

🌟 Useful CI Command / 实用的CI命令

Command / 命令 Introduction / 介绍
/gemini review 代码审核
/gemini summary PR 摘要
/gemini help 可用命令
/readthedocs build 文档构建
/pr_check 重新触发现有质量门禁,与本技能不同

Copilot AI balanced review requested due to automatic review settings November 11, 2026 07:31
@github-actions github-actions Bot added docs no_review PR 未包含任何检视意见,合入前必须包含检视意见 labels Nov 11, 2026
@github-actions

Copy link
Copy Markdown

🚫 PR 合入质量检查未通过,PR 已被禁止合入。

未通过项:no_review

  • 无检视意见:请至少邀请一位 reviewer 提交检视意见(Approve / Request changes / Comment 均可)。

请按上述提示整改后,重新推送(push)或评论本 PR 即可触发再次检查。

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are reported for the new pr-checklist skill documentation.

No open issues 🎉

What changed in this PR

本 PR 为仓库新增 pr-checklist 技能,用于提交前、已有 PR 审阅及修改后复审的贡献规范检查。变更仅涉及文档,不修改运行时代码。

Changes:

  • 定义规范检查流程、证据要求和报告格式,区分目标分支现行规范与尚未采纳的 #594 提案。
  • 明确默认只读,不替代代码质量审查、不重复 CI 门禁,也不代用户签署 DCO 或 CLA。
  • 提供快速开始示例,并在公共技能目录中添加导航。
File Description
.agents/​skills/​pr-checklist/​SKILL.md 定义检查范围、规则来源、执行流程和权限边界。
.agents/​skills/​pr-checklist/​README.md 说明加载方式、输入要求及使用示例。
.agents/​README.md 添加新技能及快速开始的导航链接。

Review effort: Balanced

@Libotry Libotry mentioned this pull request Nov 21, 2026
2 of 15 tasks
@Libotry Libotry changed the title [docs][agents] 添加 PR 规范检查技能 [feat][skills] 添加 PR 规范检查技能 Nov 21, 2026
Copilot AI balanced review requested due to automatic review settings November 21, 2026 08:45

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@github-actions github-actions Bot removed the no_review PR 未包含任何检视意见,合入前必须包含检视意见 label Nov 21, 2026
@github-actions

Copy link
Copy Markdown

✅ PR 合入质量六项检查全部通过,允许合入。

@Libotry Libotry changed the title [feat][skills] 添加 PR 规范检查技能 [feat][skills]添加 PR 规范检查技能 Nov 21, 2026
@github-actions github-actions Bot added feature and removed docs labels Nov 21, 2026
@Libotry

Libotry commented Nov 21, 2026

Copy link
Copy Markdown
Collaborator Author

/pr_check

@github-actions github-actions Bot added the no_UT feature / bugfix 类型 PR 缺少 tests/UT 下的单元测试新增或修改 label Nov 21, 2026
@github-actions

Copy link
Copy Markdown

🚫 PR 合入质量检查未通过,PR 已被禁止合入。

未通过项:no_UT

  • 缺少 UT:PR 含 feature 标签,但 tests/UT/ 路径下没有任何文件新增或修改,请补充相应单元测试。

请按上述提示整改后,重新推送(push)或评论本 PR 即可触发再次检查。

SJTUyh
SJTUyh previously approved these changes Nov 21, 2026
Copilot AI balanced review requested due to automatic review settings November 21, 2026 09:33

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@github-actions

Copy link
Copy Markdown

🚫 PR 合入质量检查未通过,PR 已被禁止合入。

未通过项:no_UT

  • 缺少 UT:PR 含 feature 标签,但 tests/UT/ 路径下没有任何文件新增或修改,请补充相应单元测试。

请按上述提示整改后,重新推送(push)或评论本 PR 即可触发再次检查。

@Keithwwa Keithwwa removed the no_UT feature / bugfix 类型 PR 缺少 tests/UT 下的单元测试新增或修改 label Nov 21, 2026
@Keithwwa
Keithwwa merged commit b5b30ef into AISBench:master Nov 21, 2026
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: 添加 PR 规范检查技能 pr-checklist

4 participants