Skip to content
Development
Command

/plan

Use when the user asks for a plan, roadmap, phase breakdown, or task sequencing, or the /team router picks plan. Runs the L1-L4 research/plan/validate/approve pipeline and writes GSD-compatible PLAN.md files when .planning/ exists.

From plugin
coco
63142 skills53 agents42 commands3 hooks
$ npx -y skills add coco-research/coco --agent claude-code

Command definition

plan.md
description: "Use when the user asks for a plan, roadmap, phase breakdown, or task sequencing, or the /team router picks plan. Runs the L1-L4 research/plan/validate/approve pipeline and writes GSD-compatible PLAN.md files when .planning/ exists."

/team plan — Planning Pipeline

> Called by team.md router when action is `plan`.

Role Selection Bias

| Layer | Preferred Roles | Count | |-------|----------------|-------| | L1 | technical-analyst, business-analyst, domain-researcher | 2-3 | | L2 | senior-pm, (domain-dependent engineers), jira-specialist (if Jira workflow planning) | 2-3 | | L3 | domain-accuracy, doc-quality | 2 | | L4 | principal-pm | 1 |

Pipeline Customization

Layer 1: Scope Research

L1 agents assess:

  • Current state of the system/project. When `.arch/index.json` exists and is CURRENT, read

`.arch/INDEX.md` for the component map instead of re-deriving the structure — it is a validated artifact in which every path has been confirmed to exist.

  • What's already been built vs what's needed
  • Dependencies and sequencing constraints
  • Risk areas that need mitigation in the plan

Layer 2: Plan Creation

  • **Mode:** `default` (creates plan documents, not source code)
  • Agents produce structured plans with:
  • Phase breakdown with clear goals
  • Task decomposition within each phase
  • Dependency graph (what blocks what)
  • Effort estimates and sequencing
  • Success criteria per phase

**Toolkit integration:**

  • Check team:toolkit.md for "Project Orchestration" entry
  • If GSD active → create PLAN.md files compatible with GSD format (frontmatter: wave, depends_on, files_modified, autonomous, requirements, must_haves). When `.arch/index.json` exists and is CURRENT, populate `files_modified` from the primary paths of the components the phase touches, then narrow it to the actual files — component paths are the starting set, never the final answer, because a component may own thousands of files.
  • If no GSD → create standalone plan documents

GSD Integration (C4)

When `.planning/` exists:

  • Read ROADMAP.md and REQUIREMENTS.md for context
  • Plans follow GSD conventions
  • Output: `.planning/phases/{phase_dir}/PLAN.md` files with proper frontmatter
  • Compatible with `/gsd-execute-phase`

Layer 3: Plan Validation

L3 agents check:

  • Are all requirements covered?
  • Is the task decomposition achievable?
  • Are dependencies correctly mapped?
  • Are estimates realistic?
  • Are success criteria measurable?

Layer 4: Plan Approval

Principal reviews for:

  • Strategic alignment
  • Resource efficiency
  • Risk coverage
  • Sequencing optimality
Read more
@coco-research
Ships withcoco

495 personas across 13 departments, 229 skills[^installed] and 388 commands in the full catalog (coco 1.9.0, 2026-10-21). Agent skills, slash commands and subagents for Claude Code, Cursor, Codex and other AI coding agents.

631200 skills53 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
631
Star history of coco-research/coco on GitHub, a chart by star-history.com

Other commands on coco.

goal

goal

Command

Set, check, or complete the persistent project goal stored in .goal.md. Trigger as /coco-goal or /coco:goal.

@coco-research@coco-researchInstall Command
mermaid

mermaid

Command

Use when the user asks for a diagram or chart: flowchart, sequence, state, class, ER, or XY chart, as SVG, HTML, or terminal…

@coco-research@coco-researchInstall Command
read

read

Command

Show latest emails from a specific person. Usage: /email-read alice

@coco-research@coco-researchInstall Command
reply

reply

Command

Draft a reply to a specific email. Usage: /email-reply Project Phase 2 Contract Data

@coco-research@coco-researchInstall Command
save

save

Command

Save matching emails to a project folder for sync processing. Usage: /email-save alice to emails/

@coco-research@coco-researchInstall Command
search

search

Command

Search emails by subject keywords. Usage: /email-search github webhook

@coco-research@coco-researchInstall Command

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command