Pr checks

From wasabeef/claude-code-cookbook · View interactive version

Pr checks is an AI agent skill from the GitHub repository wasabeef/claude-code-cookbook. 监控 GitHub Actions CI 并跟踪完成。「PR 检查状态?」「CI 结果」「测试通过了吗?」「构建成功?」等触发。

How to use this skill

Skill file

监控 GitHub Actions CI 并跟踪完成

监控 GitHub Actions CI 状态,并跟踪到完成。

使用方法

# 检查 CI 状态
gh pr checks

基本示例

# PR 创建后的 CI 确认
gh pr create --title "新功能添加" --body "说明"
gh pr checks

与 Claude 的协作

# CI 确认到修复的流程
gh pr checks
"分析 CI 检查结果,如有失败项目请提出修复方案"

# 修复后的再确认
git push origin feature-branch
gh pr checks
"确认修复后的 CI 结果,确保没有问题"

执行结果示例

All checks were successful
0 cancelled, 0 failing, 8 successful, 3 skipped, and 0 pending checks

   NAME                                    DESCRIPTION                ELAPSED  URL
○  Build/test (pull_request)                                          5m20s    https://github.com/user/repo/actions/runs/123456789
○  Build/lint (pull_request)                                          2m15s    https://github.com/user/repo/actions/runs/123456789
○  Security/scan (pull_request)                                       1m30s    https://github.com/user/repo/actions/runs/123456789
○  Type Check (pull_request)                                          45s      https://github.com/user/repo/actions/runs/123456789
○  Commit Messages (pull_request)                                     12s      https://github.com/user/repo/actions/runs/123456789
-  Deploy Preview (pull_request)                                               https://github.com/user/repo/actions/runs/123456789
-  Visual Test (pull_request)                                                  https://github.com/user/repo/actions/runs/123456789

注意事项

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.