用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Dicklesworthstone/pi_agent_rust --skill subagent-driven-development命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | subagent-driven-development |
| description | Use fresh agents for focused subtasks to avoid context pollution |
| version | 1.0.0 |
| author | Ariff |
| when_to_use | When tasks need isolation or fresh perspective |
FRESH AGENT = FRESH CONTEXT
Use subagents for focused work without baggage
| Situation | Why Subagent Helps |
|---|---|
| Complex subtask | Focused context, clear scope |
| Going in circles | Fresh perspective breaks loops |
| Parallel work | Multiple things at once |
| Context pollution | Main agent too cluttered |
| Specialized task | Pass only relevant info |
| Research/exploration | Keep main context clean |
The Handoff:
1. DEFINE clear scope - what exactly to do
2. PROVIDE needed context - files, constraints, requirements
3. SPECIFY deliverable - what to return
4. SET success criteria - how to know it's done
Template:
Task: [Specific action to take]
Context:
- Working in [repo/directory]
- Relevant files: [list]
- Constraints: [any limits]
Deliverable:
- [Exact output expected]
Success when:
- [Criteria 1]
- [Criteria 2]
❌ Vague handoffs
Bad: "Look into this bug"
Good: "Find root cause of TypeError in user.ts:45"
❌ Context dumping
Bad: Passing entire conversation history
Good: Passing only relevant files and specific question
❌ No success criteria
Bad: "Make it better"
Good: "Refactor to reduce duplication, all tests must pass"
❌ Too broad scope
Bad: "Implement the whole feature"
Good: "Implement the validation logic for email field"
✅ Research:
✅ Focused fixes:
✅ Generation:
✅ Analysis:
When subagent returns:
1. READ the full response
2. VERIFY against success criteria
3. INTEGRATE results into main context
4. CONTINUE from where you left off
Before launching subagent:
scope-boundary-checker → Is scope clear and bounded?assumption-checker → Are handoff assumptions valid?After receiving results:
fact-checker → Verify subagent claimspre-action-verifier → Before using resultsMain agent responsibilities:
Subagent responsibilities: