Agent Skills
› rustfs/rustfs
› pr-creation-checker
pr-creation-checker
GitHub用于在创建或更新 PR 前进行最终预检,验证分支范围、CI 状态及元数据合规性,确保符合规范后输出 READY/BLOCKED 状态。
Trigger Scenarios
准备提交 Pull Request
更新现有 Pull Request
Install
npx skills add rustfs/rustfs --skill pr-creation-checker -g -y
SKILL.md
Frontmatter
{
"name": "pr-creation-checker",
"description": "Perform the final RustFS PR preflight and draft compliant English title\/body metadata immediately before creating or updating a PR. Do not use during implementation or as a second general code review."
}
PR Creation Checker
Use this skill only at the PR boundary. Reuse completed diff review and verification evidence; do not reread the repository or rerun equivalent checks.
Preflight
- Confirm the branch is based on current
origin/mainand contains only the intended task diff. - Inspect
git diff --stat,git diff --check, and changed file names for secrets, logs, generated artifacts, or unrelated edits. - Confirm the checks selected by root
AGENTS.mdpassed on the final diff. Do not replace focused behavioral tests with a generic gate or rerun checks already covered by an unchanged umbrella run. - Read
.github/pull_request_template.md. ConsultMakefile,.config/make/, or CI only when the required command/current gate is uncertain. - Return
BLOCKEDfor an unclean scope, missing required evidence, failed required checks, or non-compliant metadata.
Metadata
- Title: English Conventional Commit, at most 72 characters, with no tool prefix.
- Body: English, exact template headings,
N/Awhere needed, concise rationale, actual verification commands, and material risks/rollback notes. - Use repository-relative paths; never include local absolute paths.
- Keep prose paragraphs on one logical line and never include the literal
sequence
\n. - Use a temporary body file with
gh pr create --body-fileorgh pr edit --body-file; never pass multiline Markdown inline.
Output
- Status:
READYorBLOCKED. - Title.
- Complete PR body.
- Verification commands and results.
- Risks or
N/A.
Immediately before the GitHub write, repeat only the five preflight checks above against the final head.
Version History
-
0fe41da
Current 2026-08-29 02:10
优化指令路由,简化流程说明
- 0d129ec 2026-08-20 14:32


