Skip to content

๐Ÿ“‹ Full Skill Source โ€” This is the complete, unedited SKILL.md file. Nothing is hidden or summarized.

โ† Back to Skills Library

Planning โ€” Brainstorm + Write Plans โ€‹

Two phases, one skill: Explore WHAT to build, then document HOW.

When to Use โ€‹

ALWAYS before:

  • Creating features, components, or functionality
  • Modifying behavior
  • Multi-step tasks
  • Any work that changes user-facing behavior

Phase A: Brainstorm (Explore Intent) โ€‹

The Process โ€‹

  1. Understand Intent โ€” What does the user ACTUALLY want?

    • Ask clarifying questions
    • Don't assume scope
    • Identify hidden requirements
  2. Explore Options โ€” What are the approaches?

    • List 2-3 possible approaches
    • Pros/cons of each
    • Recommend one with reasoning
  3. Define Scope โ€” What's in and what's out?

    • Must-haves vs nice-to-haves
    • Edge cases to handle
    • Edge cases to explicitly NOT handle
  4. Design โ€” How should it work?

    • Data flow
    • Component boundaries
    • API contracts (if applicable)
    • If building UI: Use cm-ui-preview to preview on Google Stitch before coding

Red Flags โ€” STOP โ€‹

  • Starting code before brainstorming
  • Assuming you know what the user wants
  • Skipping scope definition
  • "It's simple, no need to plan"

Phase B: Write Implementation Plan โ€‹

When to Write a Plan โ€‹

  • Task has 3+ steps
  • Multiple files involved
  • Changes affect other components
  • User explicitly asks for a plan

Plan Structure โ€‹

markdown
# [Goal]

## Context
What and why.

## Proposed Changes

### [Component/File]
- What changes
- Why this approach

## Verification
How to verify it works.

Plan Rules โ€‹

โœ… DO:
- Break into small, testable steps
- Order by dependency (foundations first)
- Include verification for each step
- Keep steps bite-sized (15-30 min each)

โŒ DON'T:
- Write vague steps ("refactor the code")
- Skip verification steps
- Plan more than needed
- Over-engineer the plan itself

Integration โ€‹

After planning...Use skill
Need isolated workspacecm-git-worktrees
Execute the plan (same session)cm-execution
Write tests firstcm-tdd
Building UI/frontendcm-ui-preview

The Bottom Line โ€‹

Think before you build. Document before you code. No exceptions.

Open Source AI Agent Skills Framework