Stats
Actions
Tags
From dev-workflow
Automated Git PR workflow: detect status → commit → create PR → wait for CI → fix failures → check Copilot comments → loop until all green. Use when user says 'cpr' or wants to push code through the full PR pipeline.
How this skill is triggered — by the user, by Claude, or both
Slash command
/dev-workflow:cprThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
自动化 PR 全流程:检测状态 → 提交 → 创建 PR → 等 CI → 修复 → 循环。
自动化 PR 全流程:检测状态 → 提交 → 创建 PR → 等 CI → 修复 → 循环。
gh pr view --json number,state 2>/dev/null # 是否已有 PR
gh pr checks # CI 状态
git status # 未提交更改
| 状态 | 操作 |
|---|---|
| 无 PR | 从创建 PR 开始 |
| CI 运行中 | 等待完成 |
| CI 失败 | 查看错误日志 → 修复 → 推送 |
| CI 通过 | 检查 Copilot 评论 |
git add + git commitgit push -u + gh pr creategh pr checks --watchgh run view <id> --log-failed → 修复 → 推送gh pr view --comments + gh api repos/{owner}/{repo}/pulls/$PR_NUMBER/comments → 修复必要问题 → 推送npx claudepluginhub davie521/claude-skills --plugin dev-workflowGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.