← ClaudeAtlas

work-on-issue-looplisted

Use when the user asks to implement a GitHub issue and drive it through review to completion autonomously — "work on issue and loop until approved", "work-on-issue-loop", or as the automatic follow-on from validate-issue-loop. Runs work-on-issue to implement and open the PR, triggers the first review from the selected review bot itself (@claude by default, @codex when selected), then waits for each review to land and calls fix-pr-review to resolve it. Stops on a bare LGTM with nothing left to fix; once past 5 review cycles it stops at the first LGTM it sees even if non-blocking findings remain, rather than continuing to chase them.
richkuo/rk-skills · ★ 49 · AI & Automation · score 80
Install: claude install-skill richkuo/rk-skills
# work-on-issue-loop Drive an issue from "validated" to "PR reviewed to convergence" without stopping in between. Step 1 implements the issue and opens the PR. The review cycle after that is fix-pr-review-loop's convergence loop, run against the new PR. fix-pr-review-loop owns the loop mechanics (bot selection, preflight, wait procedure, stop conditions, cycle cap, resolution); this skill adds the implementation step, the follow-on issue sweep, and its own terminal state for a run that never produces a PR. Use fix-pr-review-loop directly when there is no issue to implement first, just an existing PR to drive to approval. ## Input - Nothing — default to the issue just validated this session, else the latest open issue (`gh issue list --limit 1`). - `#<N>` / `<N>` / full URL / `owner/repo#N`. ## Steps ### 1. Implement, open the PR, and trigger the first review Invoke the `work-on-issue` skill for the issue (Skill tool, `skill: work-on-issue`). It implements the fix in an isolated worktree, verifies it, commits, pushes, and opens the PR (`Closes #<N>`). It does **not** request review; that is this loop's job. **Gate on its outcome before continuing — work-on-issue can legitimately stop early:** - **Stopped with no PR** (issue already closed, an existing PR already addresses it, wrong repo checked out) → there is nothing to drive; stop and relay its report. - **PR opened** → capture the PR number/URL and the branch, then trigger the first review yourself. Don't wait on CI