用于在当前会话中拆分并并行推进独立实现任务,加快开发执行效率。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "subagent-driven-development" 技能: 1. 下载 https://raw.githubusercontent.com/obra/superpowers/main/skills/subagent-driven-development/SKILL.md 2. 保存为 ~/.claude/skills/subagent-driven-development/SKILL.md 3. 装好后重载技能,告诉我可以用了
请根据这个实现方案,把用户认证、支付回调和日志监控拆成独立任务并分别推进,最后汇总每个任务的结果、风险和下一步建议。
输出按任务拆分的执行结果汇总,包含每个模块的进展、问题与后续建议。
我有一个代码库重构计划,请将数据层、API 层和测试补充分成可独立执行的任务,在当前会话中分别处理,并给出最终整合建议。
输出分任务的重构推进结果,并附带整合方案与依赖关系说明。
请把下面几个开发待办按独立任务组织执行:修复登录 bug、补充单元测试、更新部署脚本。分别说明完成情况、阻塞点和优先级建议。
输出每项待办的处理结果与优先级判断,便于继续执行整体计划。
Execute plan by dispatching fresh subagent per task, with two-stage review after each: spec compliance review first, then code quality review.
Why subagents: You delegate tasks to specialized agents with isolated context. By precisely crafting their instructions and context, you ensure they stay focused and succeed at their task. They should never inherit your session's context or history — you construct exactly what they need. This also preserves your own context for coordination work.
Core principle: Fresh subagent per task + two-stage review (spec then quality) = high quality, fast iteration
Continuous execution: Do not pause to check in with your human partner between tasks. Execute all tasks from the plan without stopping. The only reasons to stop are: BLOCKED status you cannot resolve, ambiguity that genuinely prevents progress, or all tasks complete. "Should I continue?" prompts and progress summaries waste their time — they asked you to execute the plan, so execute it.
digraph when_to_use {
"Have implementation plan?" [shape=diamond];
"Tasks mostly independent?" [shape=diamond];
"Stay in this session?" [shape=diamond];
"subagent-driven-development" [shape=box];
"executing-plans" [shape=box];
"Manual execution or brainstorm first" [shape=box];
"Have implementation plan?" -> "Tasks mostly independent?" [label="yes"];
"Have implementation plan?" -> "Manual execution or brainstorm first" [label="no"];
"Tasks mostly independent?" -> "Stay in this session?" [label="yes"];
"Tasks mostly independent?" -> "Manual execution or brainstorm first" [label="no - tightly coupled"];
"Stay in this session?" -> "subagent-driven-development" [label="yes"];
"Stay in this session?" -> "executing-plans" [label="no - parallel session"];
}
vs. Executing Plans (parallel session):
digraph process {
rankdir=TB;
subgraph cluster_per_task {
label="Per Task";
"Dispatch implementer subagent (./implementer-prompt.md)" [shape=box];
"Implementer subagent asks questions?" [shape=diamond];
"Answer questions, provide context" [shape=box];
"Implementer subagent implements, tests, commits, self-reviews" [shape=box];
"Dispatch spec reviewer subagent (./spec-reviewer-prompt.md)" [shape=box];
"Spec reviewer subagent confirms code matches spec?" [shape=diamond];
"Implementer subagent fixes spec gaps" [shape=box];
"Dispatch code quality reviewer subagent (./code-quality-reviewer-prompt.md)" [shape=box];
"Code quality reviewer subagent approves?" [shape=diamond];
"Implementer subagent fixes quality issues" [shape=box];
"Mark task complete in TodoWrite" [shape=box];
}
"Read plan, extract all tasks with full text, note context, create TodoWrite" [shape=box];
"More tasks remain?" [shape=diamond];
"Dispatch final code reviewer subagent for entire implementation" [shape=box];
"Use superpowers:finishing-a-development-branch" [shape=box style=filled fillcolor=lightgreen];
"Read plan, extract all tasks with full text, note context, create TodoWrite" -> "Dispatch implementer subagent (./implementer-prompt.md)";
"Dispatch implementer subagent (./implementer-prompt.md)" -> "Implementer subagent asks questions?";
"Implementer subagent asks questions?" -> "Answer questions, provide context" [label="yes"];
"Answer questions, provide context" -> "Dispatch implementer subagent (./implementer-prompt.md)";
"Implementer subagent asks questions?" -> "Implementer subagent implements, tests, commits, self-reviews" [label="no"];
…
帮助你审慎分析代码评审意见,核实技术合理性后再决定是否采纳。
在对话开始时建立技能发现与调用规则,确保先用技能再作答。
在宣称任务完成或修复成功前,先执行验证并用结果佐证结论。
在开发分支完成并通过测试后,帮助选择合并、提 PR 或清理收尾方案。
在创意与实现前梳理用户意图、需求与方案方向,降低返工风险。
为新功能开发创建隔离工作区,避免影响当前代码并便于并行实现。
通过为每个任务分派独立子代理并穿插代码审查,稳步推进实现计划。
通过并行执行、批量调用与独立验证通道,加速复杂任务且保持结果正确。
帮助你调研、规划并并行执行大规模代码变更,让多个代理分别提交 PR。
记录代理执行中的决策依据,并在代理交接时传递结构化上下文。
通过逐步细化检索上下文,提升子代理任务理解与结果质量。
按批次执行详细计划并设置复核检查点,帮助任务稳步推进与纠偏