# Plan Driven Work

> The spec → plan → implementation → conformance-matrix workflow for non-trivial work — prevents the "tests green ≠ shipped" and "subagent reported done ≠ verified" failure modes. Use when a task crosses from in-head reasoning into a written plan: roughly more than a day of work, or several files / more than one module / one conceptual surface. Skip for 1-2 file diffs and typo fixes.

- **Type:** Skill
- **Install:** `agentstack add skill-vindm-dotclaude-plan-driven-work`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [vindm](https://agentstack.voostack.com/s/vindm)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [vindm](https://github.com/vindm)
- **Source:** https://github.com/vindm/dotclaude/tree/main/skills/plan-driven-work
- **Website:** https://github.com/vindm/dotclaude

## Install

```sh
agentstack add skill-vindm-dotclaude-plan-driven-work
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Plan-driven work — spec, plan, impl, conformance

For non-trivial work, "tests pass" and "the subagent reported done" are not the ship-bar. Tests cover what was thought of when they were written; a subagent verifies itself against its own plan, with all the same blind spots; and plans routinely fail to fully encode the spec, so 70-85% shipped feels like 100% until a real user hits the gap months later. The conformance matrix is the separate, human-readable audit of spec against reality — what the user actually cares about. It costs roughly half an hour to write and pays for itself the first time it catches a deviation before ship.

**Threshold.** Cross into this workflow when the task is more than about a day of work, or touches more than a few files / more than one module / more than one conceptual surface. Below that, the quick bug-fix / polish loop applies — don't impose plan-driven overhead on a one-line change.

## The four stages

**1 — Spec (the *what*).** What should exist after this work ships. Authored before the plan, kept stable during implementation (scope changes mean a documented deviation or a new version, never a silent edit). Lives under the project's spec/design convention. Structure:
- **Capability delta** — first row; which capability IDs this transitions (e.g. ` [partial] → [shipped]`, ` new`). Everything else is detail under it.
- **§-sections** — each a self-contained requirement, numbered or named.
- **Acceptance criteria per §** — falsifiable statements of what "matches spec" means.
- **Out of scope** + **Open questions** — explicit, to prevent creep and to resolve before plan-writing.

**2 — Plan (the *how*).** The multi-step roadmap implementing the spec. Authored after the spec, before code. Opens with *"Implements: "* — a plan without a spec reference is an orphan plan. Each task carries a clear input, output, a **verification command** to confirm it completed (*"after this task: run ; expected: green"*), and a per-task Definition of Done. Large work splits into sub-plans, each with its own task list and DoD.

**3 — Implementation.** Code written per the plan, verified per-task by the plan's verification commands. After every multi-file commit, confirm the staged set actually landed (`git show --stat HEAD`) — staged-file desync is real and a multi-file stage can land as a one-file commit while the message claims all of them. Recovery: soft-reset, re-stage explicitly, recommit. When dispatching implementation to a subagent, prefix the dispatch with a working-directory verify-and-STOP gate (`cd  && pwd && git branch --show-current`, stop if it's the wrong branch).

**4 — Conformance matrix (spec ↔ reality).** Not optional. "Tests green," "subagent reports done," and "it looks right" are NOT substitutes. Authored *during* the verification step, not retroactively (by then the implementation is gone from working memory). Lives under the project's audit convention. Anatomy:
- **First row: capability delta** — the IDs transitioned; survives the spec doc being archived.
- **§ rows** — one per spec section: spec §, a one-sentence assertion, evidence (paths + a screenshot link for any visual surface), verdict (`matches` / `deviates(why)` / `deferred(why)`), and severity for deviations.
- **CRIT/MAJ resolution block** — per deviation, the resolution: fixed in this change / shipped in a follow-up / deferred to a later plan with rationale.

The matrix is human-readable, human-reviewable, and dated. The user reads it, agrees or disagrees with the verdicts, and signs off — *only then* is the work shipped.

## Before declaring shipped, confirm

- [ ] A spec exists and the plan opens with *"Implements: "*.
- [ ] Every plan task has an explicit verification command.
- [ ] A conformance matrix exists (search for it before declaring done — if absent, NOT shipped).
- [ ] The matrix's first row is the capability delta.
- [ ] Every § of the spec has a matrix row; counts should match (missing rows are silent deviations).
- [ ] Every CRIT/MAJ deviation has a resolution.
- [ ] Every visual surface verdict points at a screenshot.
- [ ] Multi-file commits were checked with `git show --stat HEAD`.

A subagent's "done" summary does NOT substitute for the matrix. Plan-driven work without the matrix is the workflow's name without its substance.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [vindm](https://github.com/vindm)
- **Source:** [vindm/dotclaude](https://github.com/vindm/dotclaude)
- **License:** MIT
- **Homepage:** https://github.com/vindm/dotclaude

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-vindm-dotclaude-plan-driven-work
- Seller: https://agentstack.voostack.com/s/vindm
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
