Install
openclaw skills install peter-commit-ops提交与建 PR 桥接自动化。负责将“可提交”改动落成 commit、推送分支并创建 PR,衔接 peter-code-review 与 peter-pr-ops。用于用户提到“帮我提交”“推分支”“创建 PR”“从 review 到 merge 串起来”等场景。
openclaw skills install peter-commit-ops用于“把可提交改动变成可收口 PR”。
它聚焦 4 件事:
peter-code-review,结论为“可提交”或“可提交(高风险)”peter-ci-gate 和 peter-pr-opsgit status -s
git rev-parse --abbrev-ref HEAD
peter-ci-gate。git rev-parse --abbrev-ref HEAD
main/master:创建并切换特性分支(例如 feat/<topic>、fix/<topic>)。git diff --name-only
git add <files>
npm run workflow:check
# 若仓库未定义该命令,回退:
# tools/workflow-check.sh --staged 或 scripts/workflow-check --staged
git commit -m "feat: <summary>"
feat|fix|chore|docs: <简述>。git push -u origin <branch>
gh pr create --fill
gh 不可用:输出手工创建 PR 的比较链接。peter-ci-gate 或 peter-pr-opsGATE_DB_UNREACHABLE)peter-ci-gate 再考虑合并## 提交与 PR 报告### 前置检查(工作区/分支/门禁)### 执行动作(add/commit/push/pr)### 产出物(SHA、branch、PR)### 结论(已进入 CI 阶段 / 阻塞)git add .,除非用户明确要求。main/master。