plan
Use to plan one milestone (or small task) into atomic steps: paths, outputs, pass/fail checks, rollback/dry-run for destructive steps, rerun-safe pipelining, budget lines for long-running/compute tasks, decision log, status footer. (Lineage: superpowers/writing-plans, godmode/tas
Install
npx skills add https://github.com/bmtrnavsky/disciplined-vibe-coding/tree/main/skills/plan
claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install bmtrnavsky-disciplined-vibe-coding@llmmart
git clone https://github.com/bmtrnavsky/disciplined-vibe-coding.git
The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole bmtrnavsky/disciplined-vibe-coding collection as a plugin from our marketplace. Git is the plain clone.
Skill manifest
Plan — decompose, prove, hand off
Prime directive
A plan is atomic tasks scoped to ONE milestone.
Steps (in order)
- Isolation check (full-spec and above; one-liner and micro-spec work in place). Already in an isolated workspace? Run
git rev-parse --path-format=absolute --git-dir --git-common-dir(git 2.31 or newer). If the two paths differ, you are isolated, proceed. If the command errors (git older than 2.31), treat it as not isolated and ask. If not isolated, ask the user once: isolated worktree or work in place; carry the answer into the decision log when the plan file is written in step 1. Headless runs do not ask: work in place, and log that. If isolated is chosen, the orchestrator creates the worktree before the step-1 plan file is written, then copies.pipeline/into it, since.pipeline/is gitignored and a fresh worktree will not have it. - Scope.
.pipeline/plans/NN-<milestone>.mdper milestone. One-liner rung: no plan file — the chat line carries it. Micro-spec: 3 bullets. Full-spec and above: full format below. - Decompose into 2–5 minute tasks: path, content, expected output, pass/fail check observable without source.
- Budget line for long tasks. Anything >2 minutes of wall time (training runs, big migrations, bulk embedding) gets an explicit line: expected duration, expected cost if paid compute, and completion signal (file written, metric logged). Never let a multi-hour run start without one.
- Metric targets with tolerance. Model/eval tasks: pass criterion is metric + band ("macro-F1 >= 0.82, dedupe on seed 42"), not a bare boolean.
- Rerun-safe for pipeline/collection tasks: check passes when the task runs TWICE; name the idempotency mechanism.
- Rollback line + dry-run task for destructive steps. MONEY-tier systems: the dry run IS paper-trading — live action is a separate, later milestone.
- Reuse list FIRST with one-line justifications for new code.
- Decision log in header (forks/who/why). Status footer (done/next/open).
- STE style per
write-docs. DRAFT until approved; any edit to the plan body after approval re-stamps DRAFT until re-approved. Two lines are bookkeeping, not edits: theStatus:line itself, and— card: <id>on a ticket heading written at publish. to-ticketsfires on its conditions, not on request. At full-spec and above, with an approved plan, when the work needs the split (8+ steps, 2+ workers, or multi-session): cut ticket groups plus oneblocked by:line each into THIS plan file — ticket groups and edges live here, this file is the one artifact, and the orchestrator owns it. Do not fire below full-spec, on a plan already ticketed, or to publish from a headless run (it drafts, then stops). Order: draft the ticket groups into the plan before teardown; publish only after teardown passes AND the user approves the cut (quiz before publish;scripts/dvc_tickets.py checkis the recorded gate). Headless: write the DRAFT under.pipeline/tickets/and stop — never publish.
Payments rule (hard)
Provider-hosted checkout only. A plan storing/processing raw card data is malformed, full stop.
Autonomy rule (hard)
If anything in this plan runs unsupervised (bots, schedulers, daemons): decision policy must be codified as config/rules BEFORE code, and a kill-switch task exists. No checkpoint can sit inside a running process, so the design phase carries the judgment.
Done when
- Tasks have path + output + observable check; destructive items have rollback + dry-run; long items have budget lines; eval items have metric bands.
- Reuse list, decision log, status footer present. Forks answered. APPROVED by the user.
Cognitive traps
- "One giant plan shows thoroughness" — roadmap holds the whole; plan holds one milestone.
- "Ran once = works" — survive the second run.
- "Rollbacks are implied" — write the line.
Guardrails
- No Build before Done-when.
- Plans promising beyond the stated direction are defects.
Files (disciplined-vibe-coding)
-
SKILL.md 4.3 KB
--- name: plan description: Use to plan one milestone (or small task) into atomic steps: paths, outputs, pass/fail checks, rollback/dry-run for destructive steps, rerun-safe pipelining, budget lines for long-running/compute tasks, decision log, status footer. (Lineage: superpowers/writing-plans, godmode/task-planning) phase: Plan --- # Plan — decompose, prove, hand off ## Prime directive A plan is atomic tasks scoped to ONE milestone. ## Steps (in order) 0. **Isolation check (full-spec and above; one-liner and micro-spec work in place).** Already in an isolated workspace? Run `git rev-parse --path-format=absolute --git-dir --git-common-dir` (git 2.31 or newer). If the two paths differ, you are isolated, proceed. If the command errors (git older than 2.31), treat it as not isolated and ask. If not isolated, ask the user once: isolated worktree or work in place; carry the answer into the decision log when the plan file is written in step 1. Headless runs do not ask: work in place, and log that. If isolated is chosen, the orchestrator creates the worktree before the step-1 plan file is written, then copies `.pipeline/` into it, since `.pipeline/` is gitignored and a fresh worktree will not have it. 1. **Scope.** `.pipeline/plans/NN-<milestone>.md` per milestone. One-liner rung: no plan file — the chat line carries it. Micro-spec: 3 bullets. Full-spec and above: full format below. 2. **Decompose** into 2–5 minute tasks: path, content, expected output, pass/fail check observable without source. 3. **Budget line for long tasks.** Anything >2 minutes of wall time (training runs, big migrations, bulk embedding) gets an explicit line: expected duration, expected cost if paid compute, and completion signal (file written, metric logged). Never let a multi-hour run start without one. 4. **Metric targets with tolerance.** Model/eval tasks: pass criterion is metric + band ("macro-F1 >= 0.82, dedupe on seed 42"), not a bare boolean. 5. **Rerun-safe** for pipeline/collection tasks: check passes when the task runs TWICE; name the idempotency mechanism. 6. **Rollback line + dry-run task** for destructive steps. MONEY-tier systems: the dry run IS paper-trading — live action is a separate, later milestone. 7. **Reuse list FIRST** with one-line justifications for new code. 8. **Decision log** in header (forks/who/why). **Status footer** (done/next/open). 9. **STE style** per `write-docs`. DRAFT until approved; any edit to the plan **body** after approval re-stamps DRAFT until re-approved. Two lines are bookkeeping, not edits: the `Status:` line itself, and `— card: <id>` on a ticket heading written at publish. 10. **`to-tickets` fires on its conditions, not on request.** At full-spec and above, with an approved plan, when the work needs the split (8+ steps, 2+ workers, or multi-session): cut ticket groups plus one `blocked by:` line each into THIS plan file — ticket groups and edges live here, this file is the one artifact, and the orchestrator owns it. Do not fire below full-spec, on a plan already ticketed, or to publish from a headless run (it drafts, then stops). Order: draft the ticket groups into the plan before teardown; publish only after teardown passes AND the user approves the cut (quiz before publish; `scripts/dvc_tickets.py check` is the recorded gate). Headless: write the DRAFT under `.pipeline/tickets/` and stop — never publish. ## Payments rule (hard) Provider-hosted checkout only. A plan storing/processing raw card data is malformed, full stop. ## Autonomy rule (hard) If anything in this plan runs unsupervised (bots, schedulers, daemons): decision policy must be codified as config/rules BEFORE code, and a kill-switch task exists. No checkpoint can sit inside a running process, so the design phase carries the judgment. ## Done when - Tasks have path + output + observable check; destructive items have rollback + dry-run; long items have budget lines; eval items have metric bands. - Reuse list, decision log, status footer present. Forks answered. APPROVED by the user. ## Cognitive traps - "One giant plan shows thoroughness" — roadmap holds the whole; plan holds one milestone. - "Ran once = works" — survive the second run. - "Rollbacks are implied" — write the line. ## Guardrails - No Build before Done-when. - Plans promising beyond the stated direction are defects.
Reviews (0)
No reviews yet.
Comments
Sign in to join the conversation.
No comments yet. Start the conversation.