运行时依赖
安装命令
点击复制技能文档
Git Commit PR 工作流
Use this 技能 for end-to-end git delivery from working tree to pull 请求.
工作流 Inspect branch 状态, diff agAInst default branch, and existing PR 状态. 创建 a feature branch if still on the default branch. Stage and commit the relevant changes. Push the branch. 创建 or 更新 the PR with a short title, summary bullets, and test plan. 防护rAIls No destructive git commands unless explicitly 请求ed. No force push to default branches. Keep PR titles short and bodies structured. Avoid committing secrets or unrelated changes. Example 请求s Commit this work, push it, and open a PR. Take the current changes to a polished PR with a test plan. 输入s Current git 状态 Default branch Optional user instructions 输出s New commit Pushed branch 创建d or 更新d PR 成功 Criteria The right files were committed. The branch was pushed safely. The PR body accurately reflects the diff. Non-Goals Force-push 工作流s by default Interactive git rebases Source Provenance
Derived from src/commands/commit-push-pr.ts.