Plan Eng

Generate a structured engineering plan markdown for an idea, pre-filled with codebase facts (stack, dependencies, current critique score) from dragoon.json. Forces a test matrix, edge cases, migration plan, and review checklist. Use after /brief or before any non-trivial feature implementation. Output goes to .dragoon/plans/plan-eng-{slug}-{date}.md. Defaults to dry-run; pass --apply to write. Run as `node ~/.claude/skills/dragoon/skills/plan-eng/scripts/plan-eng.js "<idea>"`.

dragoon0x 9184915 2 files · 1.5 KB Updated

File contents

/plan-eng

Generates an engineering plan template that respects the codebase's stack and current quality bar.

When to use

  • After /brief, before implementation
  • The user asks for "an engineering plan", "an architecture doc", "a design doc"
  • Non-trivial features (anything more than a one-file change)

Output sections

  • architecture (data model, api, state)
  • edge cases (forces at least 5)
  • test matrix (unit, integration, e2e, perf)
  • existing dependencies (auto-loaded from package.json)
  • migration / rollout (flags, backfill, rollback, observability)
  • review checklist (gated on /critique threshold)

Run it

dragoon plan-eng "add user invites"
dragoon plan-eng "add user invites" --apply

Dragoon0x/dragoon-skills/tree/main/skills/plan-eng commit 918491563a

Frequently asked questions

npx skillmds@latest add dragoon0x/plan-eng