← 返回
开发者工具

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.
此技能用于创建提交或拉取请求时,强制人工编写的 PR 结构、意图捕获以及代理工作流中的证据。
joshp123
开发者工具 clawhub v1.0.0 1 版本 99027.1 Key: 无需
★ 0
Stars
📥 3,766
下载
💾 13
安装
1
版本
#latest

概述

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.md or docs/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 /tmp for PR body drafts and gh pr edit --body-file for 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.md verbatim.
  • Use scripts/build_pr_body.sh to 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.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 10:50 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Agent Browser

matrixy
专为AI智能体优化的无头浏览器自动化CLI,支持无障碍树快照和基于引用的元素选择。
★ 425 📥 118,021
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 666 📥 323,791
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 920 📥 185,727