/desplega:v-planningfrom desplega
Creates DAG-structured plan directories for parallel implementation of vertical slices. Each step is a complete feature (DB, API, UI, tests) for sub-agents to pick up independently.
Ships in desplega. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You create implementation plans as a DAG of vertical steps — each step a complete, QA-able slice of value (DB + API + UI + tests for one feature). The DAG captures feature-level dependencies, so independent steps can be implemented in parallel by sub-agents.
Output is a plan directory at thoughts/<username|shared>/plans/YYYY-MM-DD-description/:
root.md # Overview, mermaid DAG, step index, Global Verification
step-1.md # frontmatter (id, name, depends_on) + Success Criteria
step-2.md
└── step-N.md
Autonomy Mode — passed by the invoking command; default to Critical if unspecified.
| Mode | Behavior |
|---|---|
| Autopilot | Research independently, write the full plan dir, present for final review only |
| Critical (Default) | After each research step, ask clarifying questions before drafting; surface design options especially at DAG decomposition |
| Verbose | Check in at every sub-step: validate understanding, confirm scope, surface unknowns, confirm before writing each step file |
Commit preference — unless Autopilot, ask once via AskUserQuestion:
| Question | Options |
|---|---|
| "Create a commit after each step once manual verification passes?" | 1. Yes (Recommended), 2. No, I'll handle commits |
Prior learnings — OPTIONAL SUB-SKILL: if ~/.agentic-learnings.json exists, run /learning recall <topic> first.
Scaffold first — before any research, exit plan mode and create the plan directory with root.md from cc-plugin/base/skills/v-planning/templates/root.md. (Use the user's name when known, e.g. taras; fall back to thoughts/shared/ otherwise.) Step files are added as the DAG emerges in rule 4. The directory grows incrementally; the user can correct course early.
Sub-agent everything heavy — file reads, research, validation. Default run_in_background: true. Keep raw tool output out of the main session.
Sub-agent menu: codebase-locator (find files), codebase-analyzer (understand current implementation), codebase-pattern-finder (find similar features), context7 MCP (library/framework specifics), Explore or general-purpose (read mentioned files).
Ask via AskUserQuestion — see desplega:ask-user for conventions. Never ask in chat as plain bullets.
Ask after each step (Critical/Verbose), then loop — work the plan section by section: Current State Analysis → Implementation Approach → DAG Decomposition → Per-Step Details. For each section: spawn sub-agents → synthesize findings (with file:line refs) → ask gaps via AskUserQuestion → draft → next section.
AskUserQuestion before drafting step files.step-<n>.md from cc-plugin/base/skills/v-planning/templates/step.md. Frontmatter depends_on: [step-X, ...] is canonical; root.md's mermaid graph + step-index table is a derived view — keep them in sync.Concrete deliverable per step (vertical slice) — every step's Overview names what file/feature/output exists when it's done. Each step must be QA-able on its own. Layer-only steps ("DB migration", "just the endpoint") are smells — collapse them into vertical slices. "Improve X" and "refactor Y" are also smells.
Proof of work: maximize Automated Verification + Automated QA — push everything into runnable commands (low-level) and agent-driven QA (browser-use, screenshot diff, CLI walkthrough). Manual Verification is the exception. Each step has its own Success Criteria block; root.md has ## Global Verification for cross-cutting checks that only fire after the whole DAG drains. A ### QA Spec (optional): linking to a desplega:qa doc is reserved for cross-cutting / evidence-heavy QA — not routine per-step checks.
Propose splitting — when a step has >4 sub-steps or >2 distinct concerns, split into multiple DAG nodes (wire deps appropriately). When the whole DAG won't fit one parallel implementation session, split into multiple plans (e.g., contract → storage → UI). A linear DAG is accepted but worth flagging — the linear planning skill may fit better.
Push back with radical candor — use desplega:feedback when the plan is too big, vague, mixes concerns, or has obvious risks. Silence is Ruinous Empathy.
Validate structure with a Haiku sub-agent before showing the plan (general-purpose with model: haiku). Verify: every step-<n>.md has all three Success Criteria subsections (Automated Verification + Automated QA + Manual Verification); all items use - [ ]; automated checks are runnable commands; every step's depends_on references an existing step ID; no cycles in the DAG; root.md's mermaid graph + step-index table agree with step frontmatter; every step's frontmatter has status: ready (a fresh plan; transitions happen during /v-implement); referenced paths exist. Apply fixes before reveal.
Hand off to a fresh session — never implement here. Close-out:
Open /file-review:file-review <plan-dir>/root.md (unless Autopilot); iterate on comments. Re-open with individual step-<n>.md files if needed.
Optionally invoke desplega:reviewing for gap analysis (offer via AskUserQuestion).
OPTIONAL SUB-SKILL: if significant insights emerged, capture via /learning capture.
If any step has a ### QA Spec (optional): block, generate the QA doc via desplega:qa before handoff (thoughts/<username|shared>/qa/YYYY-MM-DD-[feature].md). Scenarios live in the doc, not the plan.
Ask via AskUserQuestion:
| Question | Options |
|---|---|
| "Plan ready. What's next?" | 1. Implement in a fresh session, 2. Run /review first, 3. Done for now (park the plan) |
Tell them explicitly: "Open a new Claude Code session and run /desplega:v-implement <plan-dir>. Starting fresh keeps the implementation context clean."
root.md's mermaid graph is derived. If they disagree, frontmatter wins.step-<n>.md (plus plan-level context from root.md) should be able to implement it without reading sibling steps.status: ready on every step; desplega:step-running transitions it through claimed → done (or back to ready on retry-able failure) and writes assignee / claimed_at while claimed. This makes the same plan dir safe to drive from multiple orchestrator instances. The body of the step (Changes Required, Success Criteria) is immutable during execution — only frontmatter and checkbox state change.step-N with depends_on: [step-X, step-Y, ...] whose work is "stitch + e2e". Otherwise the DAG just terminates at its leaves.If commit-per-step was enabled in Setup:
[step-N] <brief description>.Canonical format and heading hierarchy live in:
cc-plugin/base/skills/v-planning/templates/root.md (## Global Verification)cc-plugin/base/skills/v-planning/templates/step.md (per-step three-bucket Success Criteria)Structure validation runs automatically (rule 9, Haiku sub-agent).
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub desplega-ai/ai-toolbox --plugin desplega26 skills in this plugin
/ask-userConventions for asking the user questions during a workflow via the AskUserQuestion tool. Other skills reference this to keep prompts consistent and structured./babysit-prKeep a GitHub PR moving until it is clean on its head commit. Each round fixes CI failures, handles review findings, rebases when needed, re-triggers the reviewers, and then waits in the background for the next event. Use when the user says "babysit the PR", "watch the PR until it's approved", "keep going until approved", "monitor the PR", or invokes /babysit-pr. Merges only when the user asks for it./brainstormingInteractive exploration of ideas through Socratic Q&A. Produces progressive documents that serve as lightweight pre-PRDs feeding into research.Other plugins' skills for the same job