بنقرة واحدة
fix-pr
Figure out why GH pipeline is failing
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Figure out why GH pipeline is failing
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | fix-pr |
| description | Figure out why GH pipeline is failing |
| allowed-tools | Bash(gh *) |
You are an expert software engineer. You are tasked with fixing the CI failures for GitHub PR.
Ask which PR:
Run gh pr list to list all PRs and ask user which one we are interested in.
Checkout PR: Check out the pull request locally using the GitHub CLI:
gh pr checkout {{ PR }}
Analyze Failures:
Use the gh CLI to identify which checks failed and retrieve their logs to understand the root cause.
gh pr checks {{ PR }}gh run view ... --log-failed to see the errors.Fix the Code: Based on the analysis of the logs, locate the problematic code and implement the necessary fixes.
Verify Locally:
Run local checks (tests, linters, build) to ensure the fix works. Inspect the project structure (e.g., Makefile, Justfile, package.json, Cargo.toml) to find the appropriate verification commands.