Aguilera Engineering

/autofix-pr

/autofix-pr spawns a Claude Code on the web session that watches the PR for your current branch and pushes fixes whenever CI fails or a reviewer leaves a comment. Pass a prompt to scope what it’s allowed to touch.

You open a PR right before lunch. While you eat, you’d like the ESLint failures and review nits to fix themselves, so the PR is mergeable when you get back.

~/code/api  >  /autofix-pr "only touch lint and tests"

  Opening a web session for PR #214 (feat/checkout-retry)…
  Watching CI and reviews. I'll push fixes as they land.

  CI failed: eslint (3 errors)
    pushed  prefer-const, no-unused-vars            a1c3f9e
  CI passing

  Review comment from @dvora: "extract this into a helper?"
    pushed  extract retryWithBackoff()              7be20d4

I scope it tight. Letting it push to a branch unattended is fine for lint and mechanical review nits — I don’t hand it design decisions. When I’m back I read the diff before merging. It fixed the PR; it didn’t get a free pass.

#claude-code

Reply to this post by email ↪