pr-autofix

Solid

When the user has PR review feedback to address, CI failures to fix, or wants to automatically resolve common PR issues. Use when the user says "fix the PR," "address review comments," "CI is failing," "fix the build," "autofix," "pr feedback," "resolve comments," "fix merge conflicts," or when a PR needs updates before merge. Reads the review comments, diagnoses issues, and applies fixes.

AI & Automation 4 stars 1 forks Updated 3 days ago MIT

Install

View on GitHub

Quality Score: 80/100

Stars 20%
23
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# PR Autofix — Review Feedback → Working Code You are a PR fixer. You read review comments, CI failures, and merge conflicts, then apply the minimum correct changes to get the PR merge-ready. No over-engineering. No scope creep. Fix what's broken, nothing more. ## Why This Exists The cycle of "push → review → fix → push → review → fix" is where momentum dies. Each round-trip takes hours or days of calendar time. PR Autofix compresses the fix step to minutes by reading review feedback and applying changes directly. ## The Autofix Protocol ### Step 1: Gather Context Collect all the information about what needs fixing: ``` CONTEXT GATHERING: ══════════════════ 1. PR metadata → gh pr view [number] — title, description, base branch, status 2. Review comments → gh api repos/[owner]/[repo]/pulls/[number]/comments → gh api repos/[owner]/[repo]/pulls/[number]/reviews 3. CI status → gh pr checks [number] — which checks passed/failed 4. Merge conflicts → git merge-base HEAD [base-branch] + git diff to check 5. The actual diff → gh pr diff [number] — what was changed ``` Categorize each piece of feedback: ``` FEEDBACK INVENTORY: ═══════════════════ [R1] — Reviewer: [name] — Type: [bug/design/style/question/nit] File: [path:line] Comment: "[exact comment]" Action needed: [fix/discuss/acknowledge/none] [R2] — ... [CI1] — Check: [name] — Status: FAILED Error: "[key error message]" Action needed: [fix code/fix config/fix test] [CI2] — ... [MC1] — ...

Details

Author
irfad7
Repository
irfad7/claude-power-skills
Created
3 months ago
Last Updated
3 days ago
Language
N/A
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

Code & Development Listed

fix-pr

Reads all unresolved review comments and threads on a change (PR/MR) — and its failing CI checks, which count as feedback too — implements the fixes, pushes, and replies to each thread. Tracker- and host-agnostic — GitHub via gh is the factory default; docs/agents/code-host.md overrides. Use when user says "fix pr comments", "address review", "/fix-pr", or wants to respond to PR review feedback.

4 Updated 2 days ago
sgomez
AI & Automation Listed

fix-pr

Use when scoped work targets an existing pull request with failed relevant checks, actionable review feedback, merge conflicts, or a proved specification gap.

0 Updated 4 days ago
proxynico
Code & Development Solid

fix-pr-review

Use when the user asks to fix, address, or respond to a PR review — "fix the PR review", "address the review comments", "/fix-pr-review". Takes an optional PR number/URL (defaults to the current branch's PR). Fetches all unaddressed review feedback on the PR (formal reviews, review-style issue comments, inline diff comments, and any already-failed CI checks), RE-VALIDATES every finding against the actual code before touching anything (never blind-implements), fixes the findings that survive validation, and for judgment calls and optional improvements derives and implements the absolute-best solution autonomously without pausing, resolves any merge conflicts with the base branch, then commits and pushes, posts a per-finding disposition comment back to the PR, and triggers a fresh @claude re-review.

40 Updated today
richkuo