om-auto-continue-pr-loop

Resumes unfinished pull request runs from PLAN.md task tables in isolated git worktrees.

2.6k|159|Updated Mar 8, 2021
One-click install
npx skills add https://github.com/go-musicfox/go-musicfox --skill om-auto-continue-pr-loop-go-musicfox
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: om-auto-continue-pr-loop
Source: https://github.com/go-musicfox/go-musicfox/tree/main/.agents/skills/om-auto-continue-pr-loop
Command: npx skills add https://github.com/go-musicfox/go-musicfox --skill om-auto-continue-pr-loop-go-musicfox

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Long-running, multi-step pull request work often cannot finish in a single agent session, leaving half-done branches with no clear resume point. This Skill re-enters an interrupted PR created by om-auto-create-pr-loop, reconstructs the exact execution state, and drives the remaining work to completion without duplicating commits or opening a second PR. ## Core Features & Use Cases - State reconstruction: Reads HANDOFF.md, parses the authoritative Tasks table in PLAN.md, and resumes from the first row whose status is not done, with legacy format migration and --from overrides. - Safe concurrency: Claims the PR with a three-signal lock (assignee, in-progress label, claim comment), supports stale-lock recovery and --force takeover, and always releases the lock even on failure. - Lean execution discipline: Lands one commit per Step, batches verification into checkpoint passes every 5 Steps with integration tests and UI screenshots, and runs a full final gate plus an automated review pass before flipping the PR to complete. - Use Case: A 12-Step feature PR stalled at Step 7 when the session ended. Invoke this Skill with the PR number and it re-enters the worktree, lands Steps 7 through 12 with checkpoints, runs the validation gate and review pass, promotes the draft PR to ready, and posts a full summary comment. ## Quick Start Resume the unfinished work on pull request 1492 by running the om-auto-continue-pr-loop skill with that PR number.

Frequently Asked Questions about om-auto-continue-pr-loop

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I resume an unfinished pull request from a previous agent session?

Pass the PR number to the skill, which reads HANDOFF.md and the Tasks table in PLAN.md to find the first step not marked done. It then continues committing from that point in an isolated worktree created from the PR head.

How does the skill avoid conflicting with other automation on the same PR?

It runs a three-signal in-progress check covering assignee, in-progress label, and recent claim comments before touching anything. Locks held by others stop the run unless they are stale or --force is passed, and the lock is always released at the end even on failure.

What happens if a pull request has no plan file at all?

The skill hands the PR off to om-auto-continue-pr, which reconstructs an execution plan from the PR's own context and hands the run back if the plan exceeds the loop step threshold. The lock is transferred, never released, during the hand-off.

Does the skill run tests and review before marking a PR complete?

Yes. It runs the full configured validation gate, the complete integration test suite, a style-compliance pass, and an om-auto-review-pr autofix review before flipping the PR status to complete and promoting it from draft to ready.

When should I use om-auto-continue-pr instead of this skill?

Use plain om-auto-continue-pr for simple runs such as small bug fixes, dependency bumps, or PRs that have no associated plan file. This loop variant is intended for multi-phase spec-implementation runs with a Tasks table and run folder.