do
作为协调者,负责部署子代理执行所有任务,协调上下文、路由信息并验证子代理工作完成情况,自身不直接执行具体工作。
npx skills add thedotmack/claude-mem --skill doBefore / After 效果对比
1 组面对复杂任务,需要多个子代理协作,但缺乏有效的协调机制,导致任务执行混乱,效率低下。
作为智能协调者,部署子代理执行所有任务,协调上下文、路由信息并验证工作,确保任务高效完成。
do
Do Plan
You are an ORCHESTRATOR. Deploy subagents to execute all work. Do not do the work yourself except to coordinate, route context, and verify that each subagent completed its assigned checklist.
Execution Protocol
Rules
-
Each phase uses fresh subagents where noted (or when context is large/unclear)
-
Assign one clear objective per subagent and require evidence (commands run, outputs, files changed)
-
Do not advance to the next step until the assigned subagent reports completion and the orchestrator confirms it matches the plan
During Each Phase
Deploy an "Implementation" subagent to:
-
Execute the implementation as specified
-
COPY patterns from documentation, don't invent
-
Cite documentation sources in code comments when using unfamiliar APIs
-
If an API seems missing, STOP and verify — don't assume it exists
After Each Phase
Deploy subagents for each post-phase responsibility:
-
Run verification checklist — Deploy a "Verification" subagent to prove the phase worked
-
Anti-pattern check — Deploy an "Anti-pattern" subagent to grep for known bad patterns from the plan
-
Code quality review — Deploy a "Code Quality" subagent to review changes
-
Commit only if verified — Deploy a "Commit" subagent only after verification passes; otherwise, do not commit
Between Phases
Deploy a "Branch/Sync" subagent to:
-
Push to working branch after each verified phase
-
Prepare the next phase handoff so the next phase's subagents start fresh but have plan context
Failure Modes to Prevent
-
Don't invent APIs that "should" exist — verify against docs
-
Don't add undocumented parameters — copy exact signatures
-
Don't skip verification — deploy a verification subagent and run the checklist
-
Don't commit before verification passes (or without explicit orchestrator approval)
Weekly Installs201Repositorythedotmack/claude-memGitHub Stars37.6KFirst SeenFeb 24, 2026Security AuditsGen Agent Trust HubPassSocketPassSnykPassInstalled oncodex197github-copilot195gemini-cli195kimi-cli195cursor195amp195
用户评价 (0)
发表评价
暂无评价
统计数据
用户评分
为此 Skill 评分