pr-guardian¶
Watch a PR after creation. Loop over CI runs and review feedback, fix in batches, comment with the outcome.
Workflow¶
- Identify the PR, branch, remote, base.
- Check initial state with
gh pr view,gh pr checks, recent comments. - Watch CI with
gh run watch. - When CI fails, delegate cluster-level diagnosis to the
ci-fixersubagent. - Address actionable feedback with focused commits. Don't broaden scope.
- Push fixes; repeat until checks pass or a real blocker remains.
- Comment on the PR with what changed and which feedback was addressed.
Loop control¶
- Cap retries at 5 unless the user explicitly asks for more.
- Record a dated note in
ledger/current.mdafter each iteration. - Stop and surface to the human on environmental/infrastructure failures.
Install¶
gh skill install s-hiraoku/claude-harnesses pr-guardian --scope project
Part of pr-guardian-pack. Slash command: /pr-guardian.