onekashlabs/devloop
Spec, plan, implement, review: a test-driven development loop for AI coding agents. /spec clarifies what to build and validates the spec. /plan decides how, then runs a plan review and a checkpoint. /implement builds with TDD, then runs a code review (conformance, correctness and cleanup lenses) and a checkpoint, and re-runs the plan review when a finding shows the plan was wrong.
Test-driven implementation of a plan produced by /plan: loads the JSON tracker, then per chunk writes a failing test, implements until it passes, runs the code review gate (review-impl with conformance, correctness and cleanup lenses), stops at a checkpoint, then runs the configured finish steps. Use after /plan has produced an approved tracker; requires a tracker whose plan_review gate passed. A fast-lane change (see /plan) takes no tracker and does not use this skill.
Structured planning process: explores the code, decomposes a feature into independently-testable TDD chunks with a dependency graph, writes a JSON tracker, and gates the plan through an independent review-plan agent before any code is written (a fast-lane change is built in-session instead, with one code review). Use after /spec (or on its own) and before /implement, to decide how to build it.
Structured specification process: explores code, generates user stories with testable acceptance criteria, resolves ambiguities through interactive clarification, validates completeness, and outputs a lightweight spec. Use before /plan to clarify what to build.