backlog
Skill1 starsChanged 21 days agoMITView on GitHub
Work a whole issue backlog unattended - parallel lanes, each a full /loops:work run in its own git worktree, with this session supervising, re-queueing or handing stuck issues to a human, and filing lane findings as issues assigned to that human. Use when the user asks to clear, burn down or continuously work a backlog of issues, or invokes /loops:backlog.
46 other projects use a version of this.
Adopted by
Most recently taken up by
- valsecchi75/project-scaffoldertheir own version, first seen Nov 29, 2026
- Kanevry/session-orchestratortheir own version, first seen Nov 29, 2026
- hacagahasanli/agents-knowtheir own version, first seen Nov 29, 2026
- gabrielbsandim/task-funneltheir own version, first seen Nov 29, 2026
- tamntlib/skillstheir own version, first seen Nov 22, 2026
- maxekman/skillstheir own version, first seen Nov 20, 2026
Used with
Projects with it also use conventions, tech-debt and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
KaratussSkillconventions
Spring Boot 코드 컨벤션(커밋 형식·네이밍·패키지 구조). 모든 구현 전 필수 확인.
Also in 3 projects that use this
AnthropicSkilltech-debt
Identify, categorize, and prioritize technical debt. Trigger with "tech debt", "technical debt audit", "what should we refactor", "code health", or when the user asks about code quality, refactoring priorities, or maintenance backlog.
Also in 3 projects that use this
endlessblinkSkilltask
Create a new task in MASTER_PLAN.md with auto-generated sequential IDs. Supports TASK, BUG, FEATURE, and INQUIRY types. Triggers on "/task", "add task", "new task", "create task", "track this".
Also in 3 projects that use this
AWSSkillissue
Implement a GitHub issue end-to-end — branch, code, test, docs, and commit.
Also in 3 projects that use this
MicrosoftSkillworktree
Create, reuse or clean up a dedicated git worktree for working on a pull request or a private branch. Use from any PR-scoped workflow that needs an isolated checkout to keep current code and build output untouched.
Also in 3 projects that use this
Google CloudSkillfix
Plan a remediation strategy after a test failure.
Also in 3 projects that use this
Other versions46 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 46
- nschurmann/hola-ai★ 253same name
- sammcj/agentic-coding★ 174same name
- Kanevry/session-orchestrator★ 53same name
- camtrik/agent-trail★ 45same name
- a-lottes/aSPARK★ 26same name
- ovargas/virtual-team★ 14same name
- valsecchi75/project-scaffolder★ 9same name
- chuckplayer/claude-agent-pack★ 8same name
- greglas75/zuvo★ 7same name
- gabrielbsandim/task-funnel★ 4same name
36 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository36 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- skills/work/platforms/claude.mdCLAUDE.md
- llms.txtllms.txt
- clarifySkill
- consistencySkill
- debuggingSkill
- documentationSkill
- featureSkill
- hexagonalSkill
- initSkill
- jobs-and-state-machinesSkill
- lang-clojureSkill
- lang-cppSkill
- lang-csharpSkill
- lang-elixirSkill
- lang-erlangSkill
- lang-goSkill
- lang-javaSkill
- lang-kotlinSkill
- lang-phpSkill
- lang-pythonSkill
- lang-rubySkill
- lang-rustSkill
- lang-scalaSkill
- lang-swiftSkill
- lang-typescriptSkill
- memorySkill
- parallel-workSkill
- performanceSkill
- qualitySkill
- reportSkill
- review-integrationSkill
- statusSkill
- testingSkill
- workSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 2 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 43 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 20
You change no code: Never edit files in the main checkout or a worktree, never merge, rebase or close a PR, and never close an issue.
- Very specific: line 26
Check the forge: gh auth status.
- Very specific: line 37
Start k lanes, the smallest of:
- Very specific: line 43
When k is 0, start nothing: wait for the running lanes, or go to step 5 when none is running.
- Distinctive: line 72
Write the body to a file. Never pass model-written text as an inline argument.
- Very specific: line 76
When no lane is running and step 2 starts none, the session ends its stretch for one of three reasons: the queue is empty, the open-PR cap …
“Common” is measured: kept by at least 6 in 10 of the 43 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/loops:backlog - the supervisor
You are the supervisor. You fill the lanes, react when one ends, and talk to the user. You never work an issue yourself: every issue is worked by a lane, a separate headless agent running /loops:work in its own worktree. Spec: specs/BACKLOG.md (cite BACKLOG §n, do not restate). Arguments: $ARGUMENTS.
The loops binary. As in /loops:work: loops version, else the absolute path the session context gives (<plugin root>/bin/loops). Run the plugin's update once now (loops update --apply --platform <p>, where <p> is in skills/work/platforms/<your platform>.md ## Update), relay its line, and continue: lanes skip it (BACKLOG §4).
Your platform decides how lanes start. Steps 2 and 3 need background commands that notify you when they exit (Claude Code: Bash run_in_background). Without them, do step 1, then supervise with loops backlog run as step 6 says, never with steps 2 and 3, and end with step 5 when that stretch ends. Lanes default to claude -p; on another platform step 1 passes that platform's headless command as --agent (BACKLOG §9), unless the user gave one.
Discipline
- Lanes are processes, never subagents (BACKLOG §1). Start each lane with Bash
run_in_background: truerunningloops backlog work. Never use the Agent tool for a lane, and nevercdinto a worktree. - The state file is the truth. After a compaction or in a resumed session, run
loops backlog statusfirst and continue from it. Arunningissue whose lane is gone (loops backlog workand every process its agent started) is recovered by the nextloops backlog sync. Never start a second lane for an issue that is running. - Wait, don't poll. The harness tells you when a background lane exits. Between exits do nothing: no
sleep, no status loops.loops backlog watchis the user's view; never run it yourself. - You change no code. Never edit files in the main checkout or a worktree, never merge, rebase or close a PR, and never close an issue.
- Short messages. One line per lane event (
#42 PR opened: <url>,#17 handed to @alice: <reason>). Questions only in step 1.
1. Setup (once)
- Parse
$ARGUMENTS. The human (--human) is required and is never guessed (BACKLOG §5). When it is missing, ask the user for the GitHub login that findings and hand-offs go to. This is the only question you ask. - Check the forge:
gh auth status. On failure, tell the user to run! gh auth loginand wait. - Init. Pass only the flags the user gave, plus
--agenton a platform other than Claude Code (above):
loops backlog init --human <login> [--lanes N] [--max-prs N|none] [--label …] [--exclude-label …] [--authors …|any] [--budget usd] [--agent "<tmpl>"]
loops backlog sync
loops backlog status- Tell the user, in at most 5 lines: the repo, the lanes × agents, the queue size and the first issues, and the safety settings from BACKLOG §7. That means the authors filter, the lane permission mode (
autounless--agentsays otherwise), the budget per lane ("none" when unset) and the open-PR cap with how many lane PRs are open now (fromsync). Also say that lanes open PRs and never merge, and where to follow the lanes: the/loops-backlogpane on Claude Code (it opens by itself when a lane starts) orloops backlog watchin a side terminal. Then start. Do not wait for a reply.
2. Fill the lanes
Start k lanes, the smallest of:
- the
lanessetting minus the running lanes inloops backlog status; - the queued issues from the last
sync; - the open-PR cap minus the open count from the last
sync(BACKLOG §7; skip this term when the cap is none); - under
--max N, N minus the lanes started in this session.
When k is 0, start nothing: wait for the running lanes, or go to step 5 when none is running. Otherwise, in one message, start k background Bash calls, each:
loops backlog workEach one claims the next queued issue under the state lock and checks the cap there, so parallel calls never collide or pass it. Say one line: backlog: <running> lanes running, <q> queued, <open>/<cap> PRs open.
3. When a lane exits
The notification carries the command's output and exit code (BACKLOG §3):
| Exit | Output says | You do |
| 0 | #n done: <PR> | Relay the line and any finding filed lines. |
| 1 | queued again: <reason> | Read the reason. When retrying cannot help, hand it off now: loops backlog finish <n> --status human --note "<reason, in plain words>". Retrying cannot help when the reason shows a contradiction or missing information in the ticket, a missing credential or service, or the same failure as the base branch has. A lane's own needs-human decision is already handed off by the binary. Otherwise leave it queued for the retry. |
| 1 | handed to the human | Relay it. The comment, label and assignee are already set (BACKLOG §6). |
| 1 | loops backlog work: <error> | A lane could not start (forge, git or state error). Fix what is in your power (for example ! gh auth login, told to the user), else tell the user and stop filling lanes. |
| 3 | nothing queued | That lane stays empty. |
| 4 | paused: <open> of <cap> lane PRs open | Start no more lanes until a sync shows room under the cap. Tell the user once that lanes wait for them to merge or close PRs. |
For a closer look at a failure, read the tail of the lane log that loops backlog status lists (tail -n 40 <log>), never the whole log. Read the run's reflection.md or pr.md in the worktree only when a hand-off note needs it.
Then run loops backlog sync. It picks up new issues and issues the human gave back, and prints the open PRs against the cap. Then go to step 2, which starts only what that sync leaves room for.
4. Findings and the human
Lanes record findings, and loops backlog work files them, deduplicated and assigned to the human (BACKLOG §5). When the user mentions a problem you noticed yourself across lanes (the same failure in several issues, a flaky check in the base branch), file it once with:
loops backlog file --title "<one line>" --body-file <file in the scratchpad> [--from <n>]Write the body to a file. Never pass model-written text as an inline argument.
5. Stop or keep watching
When no lane is running and step 2 starts none, the session ends its stretch for one of three reasons: the queue is empty, the open-PR cap is reached (issues wait for merges), or --max lanes have started. Then:
loops backlog cleanremoves the worktrees of finished lanes: every earlier lane of each issue, and the last lane of done and skipped issues. The last lane of a failed or handed-off issue stays for the human (--allremoves it too, only when the user asks).- Give the user a summary of at most 10 lines. Say which of the three reasons stopped it. From
loops backlog status: PRs opened (with links), issues handed off and why (one line each), findings filed, issues still queued or skipped, and the lane logs directory. At the cap, say how many PRs must be merged or closed before lanes resume. - Under
--watch, or when the user asked to keep going ("continuously", "keep watching"), do not stop (except at--max). Schedule a wake-up about 30 minutes out (on Claude Code,ScheduleWakeupwith this skill's arguments, or/loop). On each wake-up runloops backlog sync, then step 2. On a platform with no wake-up, hand the watching toloops backlog run --waitas step 6 says. Otherwise end here.
6. Unattended stretches and other platforms
A session that may close (a laptop lid, a long weekend) should not supervise many hours of lanes. Tell the user once, when the queue is over ~20 issues, that loops backlog run (BACKLOG §8) is the same loop without an agent. They can start it under nohup or tmux with --wait 30m, so it keeps watching (at the open-PR cap and on an empty queue) until they stop it, and come back to /loops:backlog for judgment on the hand-offs. On a platform without background commands, run loops backlog run --max <k> in the foreground, where k is the lanes setting, or under --max N the smaller of that and N minus the lanes started so far (stop at 0). Repeat it while sync shows issues queued and room under the cap, relaying its output. Under --watch, a foreground command cannot keep watching for hours: tell the user to start loops backlog run --wait 30m under nohup or tmux themselves, with --max <N minus the lanes started so far> when the user gave --max (none left: do not start it). It keeps watching at the cap and on an empty queue until stopped or --max is reached.
Escalations
- A lane that runs past its timeout is stopped by
loops backlog workitself and counts as a failed attempt. loops backlog finish <n> --status skipped --note "<why>"sets an issue aside when the user says so.--status queued(with--forceonce its attempts are spent) gives it another lane.- If the user says stop: do not start new lanes. Running lanes finish on their own. To stop one now, stop its background task (TaskStop): it stops
loops backlog workand its agent with everything the agent started. Then runloops backlog sync: it records the attempt and removes the claim label when the lane had no time to. Aloops backlog workkilled outright by anything else (SIGKILL) may leave its agent running; the issue staysrunninguntil it ends, so tell the user to check for it.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

