DEVELOPMENT WORKFLOW / getsentry
Iterate on Pull Requests
Resolve actionable CI failures and review feedback while reporting human merge gates separately.
“Iterate on a PR until actionable CI passes and high/medium review feedback is addressed. Use for PR CI failures, review feedback, or green-check loops; do not wait for human approval, draft status, or merge gates.”
01 / THE REASONING
Why this made the selection.
- The loop fixes failing checks and high or medium review comments, then commits and pushes. It does not wait for human approval or a merge gate.
- Draft pull requests are inspect-only unless the user asks to mark them ready.
- The definition distinguishes actionable pending checks from human gates, includes a post-CI feedback pass and stops on repeated failures or rebase needs.
- Follow a failing check from its full log to the affected source
02 / THE REVIEW RECORD
What we actually inspected.
Source review has boundaries.
A clear record is more useful than a “safe” badge.
Material inspected
- skills/iterate-pr/SKILL.md
- skills/iterate-pr/scripts/fetch_pr_checks.py
- skills/iterate-pr/scripts/reply_to_thread.py
- LICENSE
- README.md
Our findings
- The skill uses gh and uv, then git push. That writes to the remote branch. It does not merge and it does not mark a draft ready unless asked.
- Human approval, draft status, REVIEW_REQUIRED, and Codecov are named as gates it will not wait for.
- Low-priority feedback is a question to the user. The reply script can post on a thread, but the skill does not resolve a thread the user has not asked to answer.
- The definition distinguishes actionable pending checks from human gates, includes a post-CI feedback pass and stops on repeated failures or rebase needs.
- The fetched-check parser and human-gate classifier were inspected; empty-output/error handling is not equivalent to an authoritative no-checks response.
- The fallback section names direct gh commands for PR metadata, checks, failed-run logs, and review comments; the optional monitor has persistent set to false and is restarted after each push.
Not established by this review
- The resource was not executed and its tools were not called.
- The bundled scripts were not run, and no commit or push was made.
- No skill execution, authenticated service operation, or outcome benchmark was performed.
- Not executed: it was not installed or run.
The review applies to the material and revision named here. A newer upstream release can change its behavior.
03 / PUT IT TO WORK
Add a skill to your workflow.
DOCUMENTED COMMAND
npx skills add getsentry/skills/skills/iterate-pr Run in your terminal to choose your AI tools, project or global scope, and installation method. This short command follows the current upstream version; the review covers the revision shown above.
Optional: install the reviewed revision
Keeps the original source and installer version where recorded, while leaving your AI tools and installation scope for you to choose.
npx skills add https://github.com/getsentry/skills/tree/d18b7aa8ba878354e5c348310230e652f7690f9c/skills/iterate-pr - Install the pinned skill directory interactively, retaining its bundled references and scripts.
- Authenticate gh, install uv and run from the target repository while resolving helpers relative to the skill root.
- Read full failed logs, verify fixes locally, then recheck feedback on the updated revision; do not mark a draft ready implicitly.
Before you start
- gh authentication
- uv
- An existing target PR and local checkout
04 / FOLLOW THE EVIDENCE
The source trail.
Our notes are separate from the original resource.
Check upstream before adopting a new version.
- Pinned skill definition ↗Checked
https://github.com/getsentry/skills/blob/d18b7aa8ba878354e5c348310230e652f7690f9c/skills/iterate-pr/SKILL.md
Supports: summary, whySelected, bestFor, limitations, install, access, review
https://github.com/getsentry/skills/blob/d18b7aa8ba878354e5c348310230e652f7690f9c/README.md
Supports: install
- Apache-2.0 licence ↗Checked
https://github.com/getsentry/skills/blob/d18b7aa8ba878354e5c348310230e652f7690f9c/LICENSE
Supports: license
https://github.com/getsentry/skills/blob/d18b7aa8ba878354e5c348310230e652f7690f9c/skills/iterate-pr/scripts/fetch_pr_checks.py
Supports: review, limitations, access, install
https://raw.githubusercontent.com/getsentry/skills/d18b7aa8ba878354e5c348310230e652f7690f9c/skills/iterate-pr/SKILL.md
Supports: review.findings, bestFor