Tackle Backlog

Read the active backlog, analyse dependencies between features, then spawn one agent per independent feature — or a coordinator a…

luisgrandegg updated 1mo ago
Claude CodeGeneric
View source ↗
# /tackle-backlog

Read the active backlog, analyse dependencies between features, then spawn one agent per independent feature — or a coordinator agent when features share foundation code. Monitor until all agents complete.

---

## What to do

### Step 1 — Read the backlog

Read `backlog/backlog.md` and all files in `backlog/todo/` to understand:
- Which features are pending
- Their acceptance criteria and technical notes
- Which app/package each feature touches

### Step 2 — Build the dependency graph

For each pending feature, determine:
- Which files it creates or modifies
- Which other features create files it depends on
- Whether it shares foundation code (types, layout, mock data, shared components) with other features

Classify features as:
- **Independent** — touches only its own files, no shared foundation
- **Dependent** — requires foundation code built by another feature, OR shares files with other features

### Step 3 — Decide on agents

**For independent features:** spawn one `general-purpose` agent per feature with `isolation: "worktree"`. Each agent works on its own branch.

**For dependent features:** spawn one coordinator `general-purpose` agent that:
1. Builds the shared foundation first (committed to the branch)
2. Builds each dependent feature on top, in dependency order
3. Opens a single PR covering all features in the group

When spawning agents, include in the prompt:
- The full contents of the relevant `backlog/todo/` feature file(s)
- The relevant section of the architecture plan (from the session plan or CLAUDE.md)
- The branch name to use: `feature/F-XXX-short-name`
- The instruction to run `pnpm type-check` and `pnpm lint` before committing
- The instruction to complete the backlog item(s) before running `/create-pr`

### Step 4 — Spawn agents

Call the Agent tool for each planned agent. Independent agents can be launched in parallel (`run_in_background: true`). The coordinator agent for dependent features must run first if its foundation output is needed before independent agents can start — but if truly independent features can proceed without it, run everything in parallel.

### Step 5 — Report results

When all agents complete, summarise:
- Which features were implemented
- Which PRs were opened
- Any failures or gaps that need follow-up

Maintain Tackle Backlog?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

[Tackle Backlog on getagentictools](https://getagentictools.com/loops/luisgrandegg-public-internet-tackle-backlog?ref=badge)