CommandValidated

Plan-first workflow — spec before you generate

A plan-first rule for every tool: spec, plan, implement, verify — with the model producing and getting approval on the plan before it edits anything.

$cosq add plan-first

Free, works signed out. No CLI? Copy the file below into your repo — same result.

Why this one

Experienced developers plan before they generate (UChicago); spec → plan → implement → verify is the 2026 consensus for reliable agent output.

How to use it

  1. 1Write the goal and the acceptance check before any code
  2. 2Have the model produce a plan and approve it before it edits

What gets installed

Pick your tool to preview the exact file cosq add writes — byte-for-byte. Prefer copy-paste? Use the copy button on the file.

CLAUDE.md(appended)
## Start with a plan

Before generating code for any non-trivial change, write the plan first:

1. **Spec** — the goal and the acceptance check, in one or two sentences.
2. **Plan** — the files you expect to touch and the order of the changes.
3. **Implement** — generate against the plan, one step at a time.
4. **Verify** — run the tests or the app and confirm the acceptance check.

Produce the plan and wait for approval before editing.