buildlisted
Install: claude install-skill arbazkhan971/godmode
## Activate When
- `/godmode:build`, "build", "implement", "create"
- Plan exists with unimplemented tasks
## Lessons Integration
Before planning: read `.godmode/lessons.md` for known build pitfalls.
After session: append lessons about task decomposition or merge strategies that worked/failed.
## Input
Read `.godmode/plan.yaml`. Missing → `/godmode:plan` first. Skip plan only for changes touching ≤2 files.
## Session Resume
On start: check `.godmode/session-state.json`. If resuming (`stop_reason` is null), load completed tasks and pending tasks from saved state. Skip completed tasks, continue from next pending.
After each round: atomically save state (completed task IDs, pending task IDs, current round, agent results) to `.godmode/session-state.json`.
On completion: set `stop_reason` in the state file.
## The Loop
```
tasks = load_plan()
WHILE tasks remain:
round = pick_tasks_with_no_unmet_deps(tasks, completed)[:5]
FOR each task: Agent("Implement: {task.title}\nFiles: {task.files}\nDone when: {task.done_when}\nStack: {stack}", isolation: "worktree")
FOR each completed agent:
merge worktree → conflict: `git merge --abort`, discard, retry narrower scope → test fail: `/godmode:fix` (max 2) or `git revert HEAD`
VERIFY: build_cmd && lint_cmd && test_cmd → fail: /godmode:fix (max 3). All 3 must pass.
Append `.godmode/build-log.tsv`: round, task_id, agent_time_ms, status(merged/reverted/conflict). Print `Round {N}: {done}/{total}`
```
## Output Form