Agent skill · Code Review & Quality

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.

Nick44,086★ · +407/wk · 1 repos on radarProfile →
claude-codecodexcursorMIT
Install
npx skills add sickn33/agentic-awesome-skills --skill iterate-pr --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 8 KB
Bundled scripts: none
Path: skills/iterate-pr/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 44,414 · +328 this week
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. Bundled Scripts
  2. scripts/fetchprchecks.py
  3. scripts/fetchprfeedback.py
  4. Workflow
  5. 1. Identify PR
  6. 2. Gather Review Feedback
  7. 3. Handle Feedback by LOGAF Priority
  8. 4. Check CI Status
  9. 5. Fix CI Failures
  10. 6. Verify Locally, Then Commit and Push
  11. 7. Monitor CI and Address Feedback
  12. 8. Repeat
  13. Exit Conditions
  14. Fallback
Commands it runs
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 push
More from agentic-awesome-skills
All skills →
About this skill
What 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.

Keep going