iterate-pr
Skill by salesforce
Iterates on a pull request until actionable CI checks pass and high or medium review feedback is addressed. Built for developers handling CI failures, review comments, or green-check loops on pull requests.
Install iterate-pr
Built from the published package, never by AI.
git clone --depth 1 https://github.com/salesforce/cloudsplaining /tmp/cloudsplaining && mkdir -p ~/.claude/skills && cp -r /tmp/cloudsplaining/.claude/skills/iterate-pr ~/.claude/skills/iterate-prRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/salesforce/cloudsplaining /tmp/cloudsplaining && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/cloudsplaining/.claude/skills/iterate-pr ~/.gemini/antigravity-cli/skills/iterate-prAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill iterates on a pull request until actionable CI checks pass and high or medium priority review feedback is addressed. It identifies the current PR with the gh CLI, then fetches check status and review feedback through bundled scripts run with uv. Failures are traced to their root cause, fixed, verified locally, committed and pushed, and the loop repeats.
Low priority feedback is raised as a question for the user, and informational bot comments are skipped. The skill stops and reports human approval, draft readiness and merge gates instead of waiting for them. It is intended for developers working on CI failures, review feedback, or green-check loops in a target repository.
Written from the project's SKILL.md and checked against it.
What it can do
- Fetch CI checksRuns fetch_pr_checks.py to report failed, pending and actionable pending checks with failure snippets.
- Fetch review feedbackRuns fetch_pr_feedback.py to sort PR comments into high, medium, low, bot and resolved buckets.
- Fix CI failuresReads failed logs with gh run view, traces the cause to source, and fixes the root cause.
- Address review feedbackFixes high and medium feedback and explains false positives from review bots.
- Monitor checksRuns monitor_pr_checks.py to report status markers such as ALL_CHECKS_PASSED.
- Reply to review threadsRuns reply_to_thread.py to post replies to PR review threads.
What you need
- Authenticated gh CLI
- uv
- Target repository root as the working directory
Try asking
- Fix the failing CI checks on my current pull request
- Address the high and medium review comments on this PR
- Keep iterating on this PR until the actionable checks pass
Good to know
- Does not wait for human approval, draft status, or merge gates.
- Low priority feedback is only addressed after the user chooses which items.
- Asks the user for input when the same failure persists after 2 attempts.
- Does not mark a draft PR ready for review unless asked.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/iterate-pr/SKILL.md, .claude/skills/iterate-pr/scripts/fetch_pr_checks.py, .claude/skills/iterate-pr/scripts/fetch_pr_feedback.py, .claude/skills/iterate-pr/scripts/monitor_pr_checks.py, .claude/skills/iterate-pr/scripts/reply_to_thread.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB -
SPEC.md5 KB -
scripts/fetch_pr_checks.py10 KB -
scripts/fetch_pr_feedback.py16 KB -
scripts/monitor_pr_checks.py7 KB
Show all 6 files
-
scripts/reply_to_thread.py5 KB
Alternatives to iterate-pr
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
iterate-pr: common questions
Does it wait for PR approval before finishing?
No. The skill says not to wait for human approval, draft status, or merge gates. It reports those gates instead.
What happens to low priority review comments?
The skill asks which ones to address, and the user can reply with a list, "all", or "none".
What happens if the same CI failure keeps coming back?
After 2 attempts on the same failure, the skill asks the user for input.
How do I install iterate-pr?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is iterate-pr free?
The code is published under the BSD-3-Clause licence. The service it connects to may have its own pricing.
Is iterate-pr safe to use?
It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to iterate-pr?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
