Autonomous, spec-first planning and execution skills for AI coding agents — Claude Code and Codex today, more harnesses later.
jdi drives a project through a disciplined loop — spec → plan → execute → verify → review →
ship — using fresh-context workers (subagents where the harness has them, inline otherwise)
and file-based state under .planning/. Your main session stays a thin orchestrator; state lives
in files, so work survives /clear, compaction, crashes, and switching harnesses mid-project.
It's a synthesis of three systems: GSD (thin orchestrator + file-based state + goal-backward verification + ambiguity-gated specs + roadmap phases), Superpowers (router injection, file-handoff, commit-keyed progress ledger, cross-harness packaging), and an internal GitHub-Projects task lifecycle, plus current practice from Spec Kit / Kiro (requirements→design→tasks) and Anthropic's context-engineering guidance.
- Front-load questions, then go quiet. Questions concentrate in
jdi-spec; execution runs heads-down with no "should I continue?" nagging. - Auto-advance loop. Each phase writes
.planning/handoff.json(the single control-flow authority — schema inreferences/handoff-schema.md). If it's clean, the next phase fires itself. The loop only stops for a real question, a hard blocker, or the ship gate. - Verify always, TDD opt-in. Every task carries machine-checkable verify commands; red-green test-first is a per-task flag, not a blanket law.
- Gated shipping.
jdi-shiprefuses to open a PR without a passedVERIFICATION.mdand a cleanREVIEW.mdthat postdate the last source commit. - Git-safe execution. Workers never commit; the orchestrator stages each task's declared
files explicitly (never
git add -A) and commits serially — no index races, no swept files. - Roadmap mode for big work. When a feature won't fit one PR,
jdi-specwritesROADMAP.mdand the loop runs once per phase — one PR each, auto-resuming after merges.
| Skill | Role |
|---|---|
using-jdi |
Router + auto-advance rules + runtime capability fallbacks. |
jdi-start |
One-time kickoff: front-load questions, scaffold .planning/, write AGENTS.md. |
jdi-spec |
Lock the what/why — bounded Socratic loop, EARS requirements (R<NN>-<n>), roadmap detection for big work. |
jdi-plan |
Branch + decompose into ≤8 verifiable tasks in ≤3 waves (tracer task first). |
jdi-execute |
Build task-by-task via fresh workers; orchestrator-owned git; durable ledger. |
jdi-verify |
Goal-backward, adversarial check that the spec was actually built (no hollow stubs). Capped gap loop. |
jdi-review |
Unbiased fresh-eyes diff review — the anti-reward-hacking gate, with a staleness rule. |
jdi-ship |
PR from artifacts, gated on verify+review. The one deliberate stop (unless autonomy: full). |
jdi-fast |
Escape hatch for trivial changes — no spec, no plan, no ceremony. |
jdi-debug |
Cross-cutting: root-cause a bug or test failure before fixing, from any phase. |
jdi-resume |
Reconstruct state across sessions; reconciles handoff vs ledger; picks up the next roadmap phase. |
.planning/
├── config.json # autonomy, tdd default, verify commands, github toggle
├── handoff.json # the baton between phases — single control-flow authority
├── STATE.md # human-readable log
├── progress.md # commit-keyed ledger (survives /clear)
├── ROADMAP.md # only for big multi-phase work
├── specs/NN-<slug>.md
├── plans/NN-<slug>.md
└── execute/ # board-map.json + occasional deviation notes (no routine files)
jdi-start also writes AGENTS.md — the cross-runtime project spine (facts + embedded
router rules) that harnesses without session hooks rely on. CLAUDE.md symlinks to it.
Claude Code: load this repo as a plugin (marketplace or local). The SessionStart hook
re-injects the router after /clear/compaction.
Codex: codex plugin marketplace add <this repo> then install from /plugins, or copy
skills/* into ~/.codex/skills/. No hooks needed — skills surface by description, and
AGENTS.md carries the router rules. Platform notes: references/codex-tools.md
(enable [features] multi_agent = true for parallel workers; inline fallback otherwise).
To start: open a repo and say what you want to build — jdi routes you to jdi-start / jdi-spec.
- Pass 1: core loop (spec → plan → execute → ship), Claude Code only.
- Pass 2: quality gates (
jdi-verify,jdi-review,jdi-debug) + optional GitHub Projects mirroring (per-task cards, To Do → In Progress → In Review → Done). - Pass 3:
jdi-resume+scripts/validate.sh— built by dogfooding jdi on itself. - Pass 4: hardening from an adversarial design review (git-safe execution, gated ship, handoff schema + state authority, capped loops), execute simplification (no per-task briefs), roadmap mode, and runtime agnosticism (AGENTS.md spine + Codex adapter).