make-plan
作为协调者,创建LLM友好的分阶段计划,并可委托子代理进行事实收集和扩展。
npx skills add thedotmack/claude-mem --skill make-planBefore / After 效果对比
1 组制定复杂计划时,若缺乏结构化方法,难以有效分解任务并协调多个代理,导致计划执行混乱,效率低下。
作为协调者,创建LLM友好的分阶段计划,并可委托子代理进行事实收集和扩展,确保计划清晰、高效执行。
make-plan
Make Plan
You are an ORCHESTRATOR. Create an LLM-friendly plan in phases that can be executed consecutively in new chat contexts.
Delegation Model
Use subagents for fact gathering and extraction (docs, examples, signatures, grep results). Keep synthesis and plan authoring with the orchestrator (phase boundaries, task framing, final wording). If a subagent report is incomplete or lacks evidence, re-check with targeted reads/greps before finalizing.
Subagent Reporting Contract (MANDATORY)
Each subagent response must include:
-
Sources consulted (files/URLs) and what was read
-
Concrete findings (exact API names/signatures; exact file paths/locations)
-
Copy-ready snippet locations (example files/sections to copy)
-
"Confidence" note + known gaps (what might still be missing)
Reject and redeploy the subagent if it reports conclusions without sources.
Plan Structure
Phase 0: Documentation Discovery (ALWAYS FIRST)
Before planning implementation, deploy "Documentation Discovery" subagents to:
-
Search for and read relevant documentation, examples, and existing patterns
-
Identify the actual APIs, methods, and signatures available (not assumed)
-
Create a brief "Allowed APIs" list citing specific documentation sources
-
Note any anti-patterns to avoid (methods that DON'T exist, deprecated parameters)
The orchestrator consolidates findings into a single Phase 0 output.
Each Implementation Phase Must Include
- What to implement — Frame tasks to COPY from docs, not transform existing code
Good: "Copy the V2 session pattern from docs/examples.ts:45-60"
-
Bad: "Migrate the existing code to V2"
-
Documentation references — Cite specific files/lines for patterns to follow
-
Verification checklist — How to prove this phase worked (tests, grep checks)
-
Anti-pattern guards — What NOT to do (invented APIs, undocumented params)
Final Phase: Verification
-
Verify all implementations match documentation
-
Check for anti-patterns (grep for known bad patterns)
-
Run tests to confirm functionality
Key Principles
-
Documentation Availability ≠ Usage: Explicitly require reading docs
-
Task Framing Matters: Direct agents to docs, not just outcomes
-
Verify > Assume: Require proof, not assumptions about APIs
-
Session Boundaries: Each phase should be self-contained with its own doc references
Anti-Patterns to Prevent
-
Inventing API methods that "should" exist
-
Adding parameters not in documentation
-
Skipping verification steps
-
Assuming structure without checking examples
Weekly Installs213Repositorythedotmack/claude-memGitHub Stars37.6KFirst SeenFeb 24, 2026Security AuditsGen Agent Trust HubPassSocketPassSnykPassInstalled oncodex209github-copilot206gemini-cli206kimi-cli206cursor206amp206
用户评价 (0)
发表评价
暂无评价
统计数据
用户评分
为此 Skill 评分