跳到正文
cccskills
免费在 GitHub 公开

cm-planning

You MUST use this before any creative work or multi-step task. Explores intent, requirements, and design before implementation. Then documents the plan before coding.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md3.4 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Planning — Brainstorm + Write Plans

TL;DR

  • Use before any feature, behavior change, or 3+ step task
  • Phase A (Brainstorm): clarify intent → 2-3 options → recommend → scope
  • Phase B (Write): emit openspec/changes/<name>/{design.md,tasks.md}
  • Handoff out: .cm/handoff/plan.json (goal, decisions, first 3 tasks)
  • Next: cm-tdd or cm-execution

When to Use

  • Creating features, components, or functionality
  • Modifying behavior; multi-step tasks; user-visible change
  • Skip only for trivial single-line edits or pure questions

Full Protocol

Phase A: Brainstorm

  1. Intent — Ask clarifying questions. Don't assume scope. Surface hidden requirements.
  2. Options — List 2-3 approaches with pros/cons. Recommend one with reasoning.
  3. Scope — Must-have vs nice-to-have; edges to handle vs explicitly skip.
  4. Design — Data flow, component boundaries, API contracts. UI work → cm-ui-preview.

Red flags (STOP): code before brainstorm; assuming intent; skipping scope; "it's simple."

Phase B: Write Plan (OpenSpec format)

Write to openspec/changes/<initiative-name>/:

design.md

# Design: [Goal]
## Context & Technical Approach
## Proposed Changes
### [Component/File]
## Verification

tasks.md

# Implementation Checklist
- [ ] 1.1 ...
- [ ] 1.2 ...
- [ ] Verification testing

Plan rules: small testable steps (15-30 min each), order by dependency, verification per step. No vague steps.

Step FINAL: Emit Handoff + Update Continuity

Write .cm/handoff/plan.json:

{
  "schema": "plan@1",
  "goal": "...",
  "decisions": ["..."],
  "first_tasks": ["1.1", "1.2", "1.3"],
  "openspec_path": "openspec/changes/<name>/"
}

Update .cm/CONTINUITY.md:

  • Active Goal → plan goal
  • Next Actions → first 3 tasks
  • Current Phase → "planning"
  • Working Context → key decisions

Token win: next session reads CONTINUITY (~200 tok) instead of full plan (2000+).

Integration

After planning...Use skill
Complex initiativecm-brainstorm-idea (run BEFORE)
Need isolated workspacecm-git-worktrees
Execute the plancm-execution
Tests firstcm-tdd
UI/frontendcm-ui-preview

Karpathy Discipline — Think Before Coding

Before writing the plan, surface what's uncertain instead of guessing:

  • State assumptions explicitly. List them in the plan; mark each as "verified" or "needs confirmation".
  • Multiple interpretations? Present them side-by-side with tradeoffs. Don't pick silently.
  • Simpler path exists? Say so. Push back on over-scoped requests.
  • Confused? Stop. Name the confusion. Ask. Cheaper than building the wrong thing.

Self-test: "Could a reviewer point to anything in this plan I'm guessing about?" If yes, mark it.

Anti-Patterns

  • ❌ Coding before plan exists
  • ❌ Skipping handoff JSON (downstream skills lose context)
  • ❌ Vague tasks ("refactor the code")
  • ❌ Hidden assumptions — pick one interpretation without telling the user

The Bottom Line

Think before you build. Document before you code. Emit handoff so the next skill picks up cold.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

End-to-end ad conversion tracking: Meta Pixel+CAPI, TikTok Events API, Google Ads Enhanced Conversions, GTM, attribution. Auto-detects industry, maps standard events, outputs a developer-ready implementation doc. Use for pixels, GTM, CAPI, ROAS, or 'set up tracking' requests.

中文简介正在准备中。当前显示原文说明。

tody-agent/codymaster542026年8月26日 更新

Comprehensive publishing automation skill bridging AI agents (OpenClaw, Manus, Claude) to the Content Factory Router. Uses the Router API to publish markdown articles with rich media to any connected Astro site natively.

中文简介正在准备中。当前显示原文说明。

tody-agent/codymaster542026年8月26日 更新

Easy-to-use conversational CLI (Codex style) for non-technical users to spawn parallel AI tasks supervised by a visual web dashboard.

中文简介正在准备中。当前显示原文说明。

tody-agent/codymaster542026年8月26日 更新

Easy-to-use conversational CLI (Claude Code style) for non-technical users to spawn parallel AI tasks supervised by a visual web dashboard.

中文简介正在准备中。当前显示原文说明。

tody-agent/codymaster542026年8月26日 更新

Booking & Calendar CRO Engine — Packages all booking, scheduling, .ics download, and Google Calendar integration into a revenue-boosting system. Auto-detect industry → select matching pattern → generate calendar engine + booking UI + export logic. Integrates with cm-google-form (form → sheet) and cm-ads-tracker (conversion events). ALWAYS trigger for: booking, appointment, calendar, reminder, download ics, google calendar, add to calendar, book appointment, schedule, "create booking", "add scheduling", "appointment reminder system", "calendar CRO", "reduce no-show"

中文简介正在准备中。当前显示原文说明。

tody-agent/codymaster542026年8月26日 更新

Strategic analysis gate for existing products — multi-dimensional evaluation (tech, product, design, business) using Design Thinking + 9 Windows (TRIZ) + Double Diamond. Outputs 2-3 qualified options with recommendations. Use BEFORE cm-planning for complex initiatives and enhancements on existing codebases.

中文简介正在准备中。当前显示原文说明。

tody-agent/codymaster542026年8月26日 更新

查看 tody-agent 的全部技能

报告此技能的问题