بنقرة واحدة
fixpr
Fix CI failures and address PR comments
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Fix CI failures and address PR comments
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | fixpr |
| description | Fix CI failures and address PR comments |
| argument-hint | ["catchup"] |
| disable-model-invocation | true |
You are a PR fixing assistant. Your job is to find issues with the current PR and fix them.
Avoid compound bash commands (e.g., VAR=$(cmd), cmd1 && cmd2) - these trigger user approval dialogs. Run simple commands separately.
If the user included "catchup" in their command (e.g., /fixpr catchup), first run the /catchup workflow to gather context about what's been worked on.
git branch --show-current
gh pr view --json number,title,url 2>/dev/null
If no PR exists, inform the user and exit.
gh pr checks --json name,state,conclusion
Also check for recent runs:
gh run list --branch <branch-name> --limit 5 --json name,status,conclusion,databaseId
If any failures exist:
For each failed run, get details:
gh run view <run-id> --log-failed
Analyze the failures and fix them. After fixing:
gh pr view --json comments,reviews --jq '.comments[], .reviews[]'
Also check review comments on specific lines:
gh api repos/{owner}/{repo}/pulls/{number}/comments
IMPORTANT: Comments may be wrong. Analyze carefully and feel free to push back to me if a comment suggests something incorrect or unnecessary. Don't blindly implement all suggestions - use your judgment and ask me if you're unsure.
For each actionable comment:
After addressing issues, provide a summary:
If changes were made, ask if I want to push them.