dev-loop
A Claude Code plugin packaging a product→dev→quality agent loop, extracted from a working
game-dev setup and genericized for any project.
What's inside
Agents:
| Agent | Role |
|---|
dev-orchestrator | Runs the cycle from one product directive; owns git; caps loops at 3; heartbeat log + self-healing playbook |
product-manager | Consult mode (pressure-test ideas, no writes) or ticket mode (ONE ticket to docs/agents/backlog/) |
developer | Implements one ticket, TDD-first: red test → minimal green → full suite |
code-quality | Reviews the diff + runs tests itself; PASS/FAIL; coverage non-negotiable; loops back to developer |
Skills: grilling (relentless plan stress-testing), grill-with-docs (grill, then
record decisions), domain-modeling (CONTEXT.md + ADRs), loop-init (scaffold a project
for the loop).
The first three skills are by Matt Pocock,
redistributed under MIT — see THIRD-PARTY-LICENSES.md. loop-init and the agents are
original to this plugin.
The flow:
you → dev-orchestrator (one directive)
├─ product-manager → ticket in docs/agents/backlog/<id>.md
├─ developer → red test → code until green
└─ code-quality → PASS / FAIL (FAIL loops back to the same developer)
└─ orchestrator commits to loop/<ticket> (explicit paths, only after PASS)
you → accept manually, merge via your team's review process, feed findings back in
Branch policy: the loop never commits to the default branch. Each ticket's work lands
on a loop/<ticket> feature branch; merging is always a human decision.
The deliberate division of labor: agents specify/build/gate, the human validates.
Grill first (/grilling) when the directive is big; record decisions as ADRs
(/domain-modeling) so later tickets inherit them.
Install
Plain copy (no plugin machinery) — everything here is ordinary Claude Code config
markdown, so you can skip plugins entirely (useful where plugin installs need approval
but skills/agents don't). Clone this repo, then copy into a project:
cp -r dev-loop/agents/* <your-repo>/.claude/agents/
cp -r dev-loop/skills/* <your-repo>/.claude/skills/
(or into ~/.claude/agents/ and ~/.claude/skills/ to make them available in every
repo on the machine). Agent names are unprefixed (dev-orchestrator, etc.). This is
byte-for-byte the same content as the plugin — nothing in it depends on being installed
as one.
As a plugin — versioned installs and /plugin update:
/plugin marketplace add zach-fransen/dev-loop
/plugin install dev-loop@dev-loop-marketplace
Or from a local clone: /plugin marketplace add /path/to/dev-loop, then install. Note:
under a plugin install, agents may surface with a dev-loop: prefix in agent pickers;
the files themselves reference bare names, which resolve within the plugin.
Per-project setup
In each repo where you want the loop, run /loop-init once. It scaffolds the backlog and
acceptance dirs, records the project's product doc + test command in CLAUDE.md (the
agents ground themselves there — this is what replaces the original's hardcoded game-design
doc), and optionally sets up repo-tracked memory (a symlink so Claude's per-project memory
lives in git and syncs across machines).
For security reviewers
The plugin's entire behavior surface is markdown prompt files — there is no executable
code in the package:
- No hooks (
hooks/ absent — nothing runs automatically on tool calls or session
events), no MCP servers (.mcp.json absent — no network services), no bin/
executables, no install scripts.
- Agents are prompt definitions with tool grants declared in their frontmatter. The
broadest grant is
Bash (orchestrator, developer, code-quality) — used for git and the
host project's own test command. product-manager writes only ticket markdown under
docs/agents/backlog/. Git writes are confined to loop/<ticket> feature branches;
the prompts forbid committing to, merging to, or pushing the default branch.
loop-init is the only skill that instructs writes outside the project: an optional,
user-confirmed symlink under ~/.claude/projects/<slug>/ so per-project memory lives in
the repo. Everything else it touches is inside the target repo.
- Provenance: the three vendored skills are byte-identical to
mattpocock/skills
main @ 8b78b53 (see
THIRD-PARTY-LICENSES.md for exact paths) — diff against upstream rather than auditing
the prose. The agents and loop-init are original to this repo.
- Standard plugin caveat: prompt files steer an LLM that runs with the user's local
permissions; review the agent prompts as you would review automation scripts.
What was deliberately left behind