Skip to content
Back to skills

Plan

ASecurity

PM planning trigger, decision-weight multi-file/cross-system/reversed prior. Size first if unsized

  • 5 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added May 26, 2026
developmentgoshellbashexpressgitsecurity

Works with

  • terminal

Security analysis

A100/100

Scanned November 29, 2026

npx -y skills add dbc-oduffy/coordinator-claude --skill plan --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Plan?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Plan
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dbc-oduffy-plan/badge)](https://www.skillsdirectory.com/skills/dbc-oduffy-plan)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: plan
description: PM planning trigger, decision-weight multi-file/cross-system/reversed prior. Size first if unsized
description-budget: 260
version: 1.0.0
prerequisite:
  - agent:prior-art-checker
  - skill:coordinator:review
allowed-tools: ["Read","Write","Edit","Bash","Grep","Glob","Agent","Skill","AskUserQuestion","TaskCreate","TaskUpdate","TaskGet","TaskList"]
---

# coordinator:plan

**Trigger:** EM is about to plan work carrying decision weight (multi-file, new abstraction, cross-system, scaffolds agents/skills, reverses a prior decision) OR the PM typed *"write a plan"*, *"break this down"*, *"plan the implementation"*.

**When NOT to use:** Trivial work → `coordinator:sizing` submits it, no plan doc. Implementation-only ambiguity mid-coding → harness Plan tool inline. Architectural-tier (four criteria below) → surface to PM first. Exploration mode or unconverged problem-shape → `coordinator:shape`. Vague or multi-subsystem spec → `coordinator:brainstorming`. SKILL.md authoring → `plugin-dev:skill-development`. Plan needs review → `coordinator:review`. Stuck → `references/mid-plan-friction.md`.

**A new skill/agent scaffold is Branch B, not architectural-tier.** Architectural-tier requires one of four positive criteria: cross-system-irreversible, multi-stakeholder, security/privacy boundary, naming-collision-with-product-policy; none nameable, not architectural.

The caller/engine resolves the route before this skill loads (Branch A). Route-specific detail (Branches B-C, Exit terminals) comes from the `plan-assemble brief` op; segments: `coordinator/skills/plan/residue/`. Executor BLOCKED on drift → read `references/executor-blocked.md`; drafting going sideways → `references/mid-plan-friction.md`.

**Dispatch authorization — invoking this skill IS the request.** The dispatches named below are constitutive steps of this skill, not a separate thing to get cleared: invoking a skill requests the actions that skill performs. A harness line permitting dispatch "unless the user requested it" is therefore **satisfied here, not overridden** — no precedence claim is needed and none is made. Re-asking spends the very context the dispatch exists to protect. The rule attaches to skill entry and dissolves no PM-authored gate: keyword-gated skills gate entry, and every gate a skill names for itself still binds — per-session cross-repo-commit assent, ask-before-external-action, and any other this skill's own body names. Tripwire: `UNATTRIBUTED-HARNESS-LINE-IS-NOT-PM`.

---

## Branch A — Triage: should I plan, and at what altitude?

Before triage, consult the repo's record corpus for prior plans and decisions: `coordinator/docs/wiki/planning/record-corpus-consultation.md`.

_Condition: a planning trigger has arrived; decide whether a plan doc is the right artifact._

- _An incoming sizing-object is present?_ (`coordinator:sizing` resolved this ask and handed a `state/sizings/<id>.yaml`, or the EM is picking up a sizing-routed baton citing one)
  → **Conform, don't gate — skip the rest of triage — but conform per the object's actual `route`.** The D5 shape-entry gate still wins — wiki § Shape-is-a-conditional-room.
  → **Arrival split.** **Fresh inbound, accepted sizing, any route the engine carries** (`dispatch`, `spec-dispatch`, `plan`) → submit `Workflow({name: "coordinator:engine-ask", args: {sizing: "<path>"}})`, the single submission; the run plans, executes, reviews and commits — not Branch B/C, no `/review --surface plan`. **Engine refusal** → the relay fallback: cite the object's `intent` (verbatim), `estimate`, and `appetite` when present (never block or backfill on it) in B.0's restatement, then **Branch B**. **Via the return edge** (verified-scope collapse re-invoked sizing) → conform identically but resume at **Branch C**; the submission fires only fresh.
  → **`route: spec-dispatch` is the S lane:** set `scope_mode: spec-dispatch`; the Exit resolves its light terminal. **OWES** full Branch B substrate verification, B.0's doubt-check, the concurrent-session pre-flight, the cross-plan conflict scan, the pre-dispatch `plan-reviewer` pass (after the scan, before emit-and-dispatch), and both `scaffold-plan` invocation points. **SKIPS** Branch C's four-lens composition (an S-lane body: problem sentence, file scope, acceptance criteria, test surface) and the Opus plan review. **NEVER skips** scoped-commit discipline or ask-before-external-action.
  → **`route: shape` / `roadmap` / `pm-decision`** → **plan is not the room.** Do not enter Branch B; route to `coordinator:shape` or `coordinator:roadmap-planning`, or surface the choice. The engine sets `pm_decision_pending` and never auto-selects — the pick (PM, or APM in ceo) lands in `xl_exit`; a null `xl_exit` never means accept. `shape`: JTBD unstated or not falsifiably restatable in the PM's vocabulary; `roadmap`: spans ≥2 workstreams, or carries/needs an initiative/goal FK; `accept_multi_session`: neither holds **and** the PM explicitly assented.
  → **plan requires a sizing-object and trampolines back without one.** Lifted for `plan` alone.
- _No sizing-object, and this ask has not been through the lobby — **whatever its provenance**?_
  → **STOP. Do not enter Branch B. Invoke `coordinator:sizing` directly** — never ask permission to size. On return, re-enter Branch A; this row fires **at most once per invocation**. All six routes: **`plan`** → conform, Branch B as fresh inbound; **`spec-dispatch`** → conform, Branch B at S-lane weight; **`dispatch`** → abandon the pass and submit `Workflow({name: "coordinator:engine-ask", args: {sizing: "<path>"}})`; **`shape`/`roadmap`** → the named room; **`pm-decision`** → surface the offered exits.
  - **Anti-gaming clause.** Satisfied only by **an artifact on disk in `state/sizings/` citing this ask** — not by holding file:line substrate, not by concluding the work is plan-tier, not by asking *"want me to plan that?"*.
  - **Provenance-blind:** a picked-up cross-repo memo's `ask` needs the lobby too.
  - **Carve-outs — exactly two, no more.** (1) A continuation is exempt only if its baton **cites** work already routed: a resolving `sizing_object`, or a plan (via `origin_plan_id`/`plan_ids`, or a `deliverable_id` some plan on disk carries). Every citation must resolve; never re-litigate a resolved one. A baton citing none is unsized (`A-BATON-IS-NOT-A-SIZING-ARTIFACT`). (2) The express lane never reaches `plan`.
- _Trivial?_ (single-file change, no new abstraction, scope obvious) → Submit it (`Workflow({name: "coordinator:engine-ask", args: {sizing: "<path>"}})`). No plan doc.
- _Implementation-only ambiguity?_ (choosing between two valid shapes mid-typing) → Harness Plan tool inline. No plan doc.
- _PM has set a session axiom?_ (*"we are going to do X"* / *"build Z this session"* — a directive naming the work, not a question about it)
  → Disposition flips to **plan**: plan the named work, do not re-litigate it. Continue to **Branch B**. The architectural-tier check still fires. **This row disposes; it does not admit:** with no sizing object on disk the trampoline row above fires first.
- _Trigger arrived via a PM-handed pickup whose handoff prescribes a plan?_
  → **Already authorized — do NOT ask "want me to plan?".** A T3 spinoff *fork* stays separately PM-gated (one-line candidate). Continue to **Branch B**.
- _PM in exploration mode, OR problem-shape unconverged, OR the EM detects it is guessing at the problem?_
  → Propose `coordinator:shape` **before** committing to plan; its exit gate chains back here. A PM session axiom and the architectural-tier check both win. The PM HAS a problem → `shape`; does not know what to build → `brainstorming`.
- _Cross-repo work whose shared contract is itself the unknown, even when a handoff says "ready to execute" / "XS"?_ (negotiated co-design — the contract/hookspec/shared fixture takes round-trips to converge)
  → **Invoke `coordinator:plan` anyway — do NOT execute off the handoff's t-shirt.** Continue to **Branch B**. The trigger is negotiated co-design, not a sibling's existence: a *memo* (one ask) does not escalate; no nameable coordinating party and contested shared contract → not fired.
  - **A multi-wave plan that sends a memo carries a wave-boundary re-read of it,** written into the spine: at each wave close, enumerate the memos sent and ask whether the wave just landed contradicts any; the correction memo is part of that wave's deliverable (`A-MULTI-WAVE-PLAN-NEVER-RE-READS-ITS-OWN-SENT-MEMOS`).
- _Non-trivial (default for everything else)?_ (multi-file, new abstraction, cross-system, scaffolds an agent/skill, reverses prior teardown, touches shared schema)
  → Continue to **Branch B**, and scope the task list to the COMPLETE problem set; ADR, lineage and docs chunks are not execution-wave rows: list them under a non-empty `## Distill pass` heading, referenced from the closing handoff or the `/workstream-complete` step, which hands them to `/distill`.
- _Architectural-tier?_ (the four positive criteria above)
  → Surface to PM: *"this looks architectural — propose `/staff-session`, want me to draft the brief?"* Wait for PM.

---

## Exit — Route-Selected Terminal

_Condition: body drafted and saved to the path returned by the plan scaffold. The inbound sizing route selects which terminal fires. `shape`/`roadmap`/`pm-decision` never reach here — Branch A diverted them before Branch B._

`DELIVERY-MEANS-IT-RAN-END-TO-END` (`wiki/planning/wiring-table.md`): a plan with a runtime seam declares `wiring:` (wired, not_built, blocked, off_route; `built_path`, `runs_evidence`, `consumes`, `produces`).

**The plan file MUST be produced and committed via `scaffold-plan`, not hand-authored.** It owns frontmatter-skeleton emission and the write-time commit across two invocation points either side of body authoring. Every terminal holds this.

**Invocation point 1 — scaffold.** The generator is the single emission point for frontmatter — never hand-author field lists against `schemas/plan.schema.json`; hand-authored frontmatter is conformed through the same invocation.
Invoke the `.exe` launcher by absolute path via the PowerShell call operator (Shape W; ladder: `${CLAUDE_PLUGIN_ROOT}/snippets/resolve-coordinator-bin.md`):

    `& "$env:COORDINATOR_SETTINGS_HOME\bin\coordinator-doc-new.exe" --type plan --title "<title>" --sizing-object "<path-to-the-routing-sizing>"`

**Pass `--sizing-object`.** `coordinator-doc-new --type plan` hard-refuses without an explicit `--sizing-object`/`--no-sizing-object`, exit 1, nothing written; the flag also writes the reverse edge onto the cited sizing.
`Read` the path returned by the scaffold before authoring the body. Never declare gitignored `state/perf/` readings as a row's writes (`GITIGNORED-PERF-READINGS-ARE-EVIDENCE-NEVER-A-SHIPPED-WRITE`).

**Invocation point 2 — commit.** Commit the moment the body is saved, *then* proceed to review, per
`snippets/scoped-commit-route.md` — pathspec exactly the returned plan path, subject
`plan(<slug>): draft`; never a sweep commit.

---

## Test Surface

Prose-doctrine; no runtime test. Grep-assert (floor ≥2, 1 = gate is gone): `plan requires a sizing-object and trampolines back without one` in this file. The token counts for `Eighth dimension`, `trampoline: true`, `plan⇄spike`, `plan⇄sizing` across core + segments, and the `spike` skill/schema pairings, are pinned by the tests naming this skill.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.