/ai-devkit:cmk:delivery-spec-planfrom ai-devkit
Produces git-ignored scratch specs and implementation plans with task dependency structure after intake. Phase 2 of cmk:delivery-pipeline.
Ships in ai-devkit. 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.
None: SKILL.md is the whole skill.
The repo's docs/design/ and docs/requirements/ are the source of truth for
what and why at the system level — but realizing a specific issue needs
another layer of detail: current codebase reality, concrete approach choices,
and the back-and-forth reasoning that ends when the plan is solid enough to
execute without further debate. That layer is this phase's product.
Use superpowers:brainstorming and superpowers:writing-plans when present;
otherwise follow the same shape. Their human-approval checkpoints do not
apply — decide and record it. The phase ends when the plan is written;
cmk:delivery-pipeline owns what runs it.
Specs and plans go to git-ignored scratch. They are working artifacts, never
the record; durable conclusions reach docs/design/, docs/decisions/, the
tracker, and the PR description.
Read cmk:delivery-workflow and cmk:delivery-pipeline's context-efficiency
reference before relying on the intake brief — the brief is a capsule, and
the context-efficiency continuity rules decide when mutable inputs must be
refreshed before planning on them. Confirm the intake brief's scope band
and docs-ready before planning implementable tasks: if docs-ready is
false for the band, stop and finish cmk:requirements (or an explicit
exemption) rather than planning around a hole.
Apply cmk:delivery-pipeline's engineering-principles reference throughout:
decide everything yourself, staff-level bar without overengineering, existing
codebase as design input.
Iterate until solid; one spec per issue.
docs/design/, the recorded decisions in docs/decisions/,
blast radius, and long-term system shape. A shortcut that works only locally, only in CI, or "until we harden it" loses to the production-ready foundation (cmk:delivery-pipeline engineering principles, No shortcut). Pick one. Record why the others lost — that rationale later goes in the PR description, and in an ADR
first if it is architecture-shaping.cmk:delivery-pipeline's engineering-principles reference:
replace, compat wiring with a removal issue, or frozen. Mixed dispositions
within one change are normal; record the driving factor per item. If the
operator asked to decide — the whole change or named items — present
decision briefs for the genuinely contestable items only and record the
outcomes; obvious items are decided and reported, not asked.cmk:project-layout), boundaries and who owns
them, error modes, and how the change composes with what exists. Name
things so an unfamiliar reader gets the correct first-pass mental model
(docs/rules/common/naming.md, seeded by cmk:agent-instructions),
using glossary terms where the repo keeps a glossary (cmk:glossary);
a spec that coins a new system/component/actor term adds it there as
part of the change. A new CI, deploy, or operator step names the
host-runnable script and the composer that calls it (cmk:cicd).docs/rules/common/testing.md) —
spell out exactly what must not change and which suites prove it.docs/design/, docs/requirements/,
decisions, or docs/guides/ pages this change makes stale. Updating them
is part of the implementation, not a follow-up.cmk:delivery-pipeline's engineering-principles reference and address
each item relevant to this change's blast radius: failure modes, config
and secrets, migrations and compatibility, observability, rollout and
rollback, performance limits, runbook and doc impact. Items the change
deliberately does not cover are stated as accepted gaps with a reason —
the review's production-readiness lens audits against this section.Break the spec into tasks with explicit dependency structure, so the next delivery phase can run independent tasks concurrently.
Open with a Global Constraints section carrying the change's binding obligations — the coverage bar, the surface inventory with its per-item dispositions, the doc-impact list from the spec, tracker reconciliation duty, the production-readiness tasks, and any invariant the change goes near with the suites that prove it — one line each, exact values verbatim.
Every task then carries these in its own ## Task N body:
## Task 3: Persist the session ledger
Depends on: Task 1
File scope: libs/session/src/ledger.rs, libs/session/tests/ledger.rs
Exclusive resources: none
<what to build, the behavior to prove, the gate command that verifies it>
<plus the Global Constraints obligations that apply to THIS task, restated>
Depends on: — genuine ordering requirements only, by task number.
Omit it, or write none, when the task has none. This is what execution
schedules from.File scope: — every path the task may touch. Disjoint scopes are
necessary for two tasks to share a wave, not sufficient (execution also
isolates worktrees and honors exclusive resources), and execution checks
each task's commits against this list afterwards, so an inaccurate scope
surfaces as a scope violation rather than silently permitting a race.Exclusive resources: — non-path shared services the task needs
exclusively: a Docker daemon, a shared local chain or database, an
external sandbox. Write none when there are none. Tasks with
intersecting declarations never share an execution wave.Close with the issue's acceptance criteria mapped to the tasks that satisfy
them — cite PREFIX-N.M when the requirements doc defines IDs. An AC with
no task is a hole in the plan, and so is a surface-inventory item with no
covering task. Planning is the cheapest moment to find a criterion will not
land: if no task can honestly satisfy one, disposition it on the issue now
per cmk:delivery-workflow's references/acceptance-criteria.md.
A plan whose tasks all serialize on one file is worth re-partitioning before it executes; sequential-by-accident differs from sequential-by- necessity, and only the second is worth paying for.
The phase is done when a competent engineer or subagent could execute the plan without asking questions. Every open question from the intake brief is resolved with a decision and a written rationale destined for a durable surface. If one genuinely cannot be resolved safely it is a recorded blocker per the principles — not a silent guess, and not a question parked for the human.
Reconcile the tracker before exit when a decision changes scope, acceptance, constraints, relations, estimate, timing, risk, interfaces, or another issue's plan.
If Plannotator is already installed, hand the written plan to
/plannotator-annotate and keep its notes with the plan. Absence is a no-op:
do not install it, do not pipe its installer, and do not block exit. Contract:
docs/guides/companion-skills.md.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
36 skills in this plugin
/cmk:adrUse when the user asks to "record this decision", "we decided to use X over Y", "document why we chose this approach", "record an ADR", "update ADR-0003", or needs to create or update architecture decision records for system-level technical choices like choosing a database, communication protocol, or infrastructure pattern./cmk:agent-instructionsUse when the user asks to "set up CLAUDE.md", "set up AGENTS.md", "agent instructions", "add engineering rules", "make the instructions thinner", or needs to establish or maintain a thin, multi-vendor root instruction file backed by on-demand engineering rules under docs/rules/./cmk:agent-vendorsUse when the user asks to "vendor the kit's skills into this repo", "set up agent adapters", "add a coding-agent vendor", "wire skills for Claude Code / Codex / OpenCode / Grok Build / Cursor", or whenever a repo needs one canonical skill set discoverable by multiple coding agents.Generated from the plugin's indexed repository (commandosslabs/ai-devkit) — no native marketplace selected
npx claudepluginhub p/commandosslabs-ai-devkit