pr-commit-workflow
This skill should be used when creating commits or pull requests, enforcing a human-written PR structure, intent capture, and evidence in agentic workflows.
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
PR + Commit Workflow
Overview
Enforce a high-signal commit workflow and a human-written PR format. Keep global process rules as source of truth and make PRs reviewable by humans and agents.
Workflow Decision Tree
- If the task is about commits only, follow
references/workflow-commit.md. - If the task involves PR creation or PR updates, follow
references/workflow-pr.md.
Global Rules
- If the repo has
AGENTS.mdordocs/agents/PROCESS.md, read it for repo-specific rules. - Require user-supplied, human-written intent for every PR. Never generate or paraphrase this text.
- Use
/tmpfor PR body drafts andgh pr edit --body-filefor updates.
Commit Workflow (entry point)
- Execute the steps in
references/workflow-commit.md. - Use the message format in
references/commit-format.md.
PR Workflow (entry point)
- Execute the steps in
references/workflow-pr.md. - Use the template in
references/pr-human-template.mdverbatim. - Use
scripts/build_pr_body.shto gather environment metadata if available.
Resources
-
references/workflow-commit.md: commit checklist and evidence expectations. -
references/workflow-pr.md: PR creation/update flow, comment checks, and evidence rules. -
references/pr-human-template.md: human-written PR structure (must be used as-is). -
references/commit-format.md: commit message format and examples. -
scripts/build_pr_body.sh: environment metadata collector for PR prompt history section.
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-01-20
- 索引更新时间
- 2026-01-30
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!