Loading...
Loading...
Transform design documents into TDD-based implementation plans with parallelizable tasks. Triggers: 'plan implementation', 'create tasks from design', or /plan. Enforces the Iron Law: no production code without a failing test first. Requires an existing design document — use /ideate first if none exists. Do NOT use for brainstorming, debugging, or code review.
npx skill4agent add lvlup-sw/exarchos implementation-planningreferences/worked-example.md/plan/ideate--revise--revise.planReview.gapsmcp__exarchos__exarchos_workflowaction: "set"planReview.revisionsExhausted = true/ideate --redesignMANDATORY: Before accepting any rationalization for skipping tests, planning, or TDD steps, consult. Every common excuse is catalogued with a counter-argument and the correct action.references/rationalization-refutation.md
NO PRODUCTION CODE WITHOUT A FAILING TEST FIRST
exarchos_orchestrate({
action: "check_tdd_compliance",
featureId: "<featureId>",
taskId: "<taskId>",
branch: "feature/<name>"
})passed: truepassed: falsereferences/spec-tracing-guide.mdexarchos_orchestrate({
action: "generate_traceability",
designFile: "docs/designs/<feature>.md",
planFile: "docs/plans/<date>-<feature>.md",
output: "docs/plans/<date>-<feature>-traceability.md"
})passed: truepassed: false#####references/task-template.mdtestingStrategyreferences/testing-strategy-guide.mdpropertyTestsbenchmarksdocs/plans/YYYY-MM-DD-<feature>.mdreferences/plan-document-template.mdexarchos_orchestrate({
action: "check_plan_coverage",
featureId: "<id>",
designPath: "docs/designs/<feature>.md",
planPath: "docs/plans/<date>-<feature>.md"
})Implements:exarchos_orchestrate({
action: "check_provenance_chain",
featureId: "<id>",
designPath: "docs/designs/<feature>.md",
planPath: "docs/plans/<date>-<feature>.md"
})**Implements:** DR-Nexarchos_orchestrate({
action: "check_task_decomposition",
featureId: "<id>",
planPath: "docs/plans/<date>-<feature>.md"
})exarchos_orchestrate({
action: "spec_coverage_check",
planFile: "docs/plans/<date>-<feature>.md",
repoRoot: ".",
threshold: 80
})passed: truepassed: falsereferences/spec-tracing-guide.md| Don't | Do Instead |
|---|---|
| Write implementation first | Write failing test first |
| Create large tasks | Break into 2-5 min chunks |
| Skip dependency analysis | Identify parallel opportunities |
| Vague test descriptions | Specific: Method_Scenario_Outcome |
| Assume tests pass | Verify each test fails first |
| Add "nice to have" code | Only what the test requires |
| Excuse | Reality |
|---|---|
| "This is too simple for tests" | Simple code breaks too. Test it. |
| "I'll add tests after" | You won't. Or they'll be weak. |
| "Tests slow me down" | Debugging without tests is slower. |
| "The design is obvious" | Obvious to you now. Not in 3 months. |
workflowTypeplan-reviewoverhaul-plan-reviewaction: "set", featureId: "<id>", phase: "<plan-review-phase>", updates: {
"artifacts": { "plan": "<plan-file-path>" },
"tasks": [{ "id": "001", "title": "...", "status": "pending", "branch": "...", "blockedBy": [] }, ...]
}@skills/workflow-state/references/phase-transitions.mdplanplan-reviewplan-artifact-existsartifacts.plansetphaseexarchos_workflow({ action: "describe", actions: ["set", "init"] })exarchos_workflow({ action: "describe", playbook: "feature" })"debug""refactor"exarchos_orchestrate({ action: "describe", actions: ["check_plan_coverage", "check_provenance_chain"] })exarchos_orchestrate({ action: "generate_traceability" })exarchos_orchestrate({ action: "check_plan_coverage" })exarchos_orchestrate({ action: "check_provenance_chain" })exarchos_orchestrate({ action: "check_task_decomposition" })exarchos_orchestrate({ action: "spec_coverage_check" })exarchos_orchestrate({ action: "check_coverage_thresholds" })exarchos_orchestrate({
action: "check_coverage_thresholds",
coverageFile: "coverage/coverage-summary.json",
lineThreshold: 80,
branchThreshold: 70,
functionThreshold: 100
})docs/plans/.phaseplan-reviewoverhaul-plan-review.planReview.gaps/plan --revise.planReview.approved = true/delegateexarchos_orchestrate({ action: "check_plan_coverage" })/plan --reviseplan-reviewoverhaul-plan-review/delegateworkflow.transitionexarchos_workflowsetexarchos_event| Issue | Cause | Resolution |
|---|---|---|
| Design sections not mapped to tasks | Add tasks for uncovered sections or add explicit deferral rationale |
| Planned test files missing or failing | Create missing test stubs, verify file paths in plan match actual paths |
| Design doc missing expected | Verify design uses standard Markdown headings |
| Revision loop (3+ attempts) | Persistent gaps between design and plan | Set |