iterate-pr
Iterate on a PR until CI passes. Use when you need to fix CI failures, address review feedback, or continuously push fixes until all checks are green. Automates the feedback-fix-push-wait cycle.
npx skills add sickn33/agentic-awesome-skills --skill iterate-pr --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Iterate on PR Until CI Passes Continuously iterate on the current branch until all CI checks pass and review feedback is addressed. **Requires**: GitHub CLI (`gh`) authenticated. **Important**: All scripts must be run from the repository root directory (where `.git` is located), not from the skill directory. Use the full path to the script via `${CLAUDE_SKILL_ROOT}`. ## Bundled Scripts ### `scripts/fetch_pr_checks.py` Fetches CI check status and extracts failure snippets from logs. ```bash uv run ${CLAUDE_SKILL_ROOT}/scripts/fetch_pr_checks.py [--pr NUMBER] ``` Returns JSON: ```json { "pr": {"number": 123, "branch": "feat/foo"}, "summary": {"total": 5, "passed": 3, "failed": 2, "pending": 0}, "checks": [ {"name": "tests", "status": "fail", "log_snippet": "...", "run_id": 123}, {"name": "lint", "status": "pass"} ] } ``` ### `scripts/fetch_pr_feedback.py` Fetches and categorizes PR review feedback using the [LOGAF scale](https://develop.sentry.dev/engineering-practices/code-review/#logaf-scale). ```bash uv run ${CLAUDE_SKILL_ROOT}/scripts/fetch_pr_feedback.py [--pr NUMBER] ``` Returns JSON with feedback categorized as: - `high` - Must address before merge (`h:`, blocker, changes re
- Bundled Scripts
- scripts/fetchprchecks.py
- scripts/fetchprfeedback.py
- Workflow
- 1. Identify PR
- 2. Gather Review Feedback
- 3. Handle Feedback by LOGAF Priority
- 4. Check CI Status
- 5. Fix CI Failures
- 6. Verify Locally, Then Commit and Push
- 7. Monitor CI and Address Feedback
- 8. Repeat
- Exit Conditions
- Fallback
uv run ${CLAUDE_SKILL_ROOT}/scripts/fetch_pr_checks.py [--pr NUMBER]
uv run ${CLAUDE_SKILL_ROOT}/scripts/fetch_pr_feedback.py [--pr NUMBER]
gh pr view --json number,url,headRefName
git add <files>
git commit -m "fix: <descriptive message>"
git pushWhat does the iterate-pr skill do?
Iterate on a PR until CI passes. Use when you need to fix CI failures, address review feedback, or continuously push fixes until all checks are green. Automates the feedback-fix-push-wait cycle.
How do I install it?
Run `npx skills add sickn33/agentic-awesome-skills --skill iterate-pr --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From sickn33/agentic-awesome-skills, a repository with 44,414 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.