跳到正文
cccskills
免费在 GitHub 公开

subagent-driven-development

Use fresh agents for focused subtasks to avoid context pollution

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

查看安装方法

包含的文件(1)

  • SKILL.md3.1 KB

SKILL.md(原文)

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

Subagent Driven Development

Core Concept

FRESH AGENT = FRESH CONTEXT
Use subagents for focused work without baggage

When to Use Subagents

SituationWhy Subagent Helps
Complex subtaskFocused context, clear scope
Going in circlesFresh perspective breaks loops
Parallel workMultiple things at once
Context pollutionMain agent too cluttered
Specialized taskPass only relevant info
Research/explorationKeep main context clean

How to Launch Subagent

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]

Anti-Patterns

❌ 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"

Good Subagent Tasks

✅ Research:

  • "Find how X is implemented in this codebase"
  • "Search for similar patterns in the repo"
  • "Understand the data flow from A to B"

✅ Focused fixes:

  • "Fix the specific test failure in X"
  • "Resolve the lint error in file Y"
  • "Update function Z to handle edge case"

✅ Generation:

  • "Generate tests for this function"
  • "Create documentation for this module"
  • "Write migration for schema change"

✅ Analysis:

  • "Analyze dependencies of this module"
  • "Identify all usages of this API"
  • "Review this PR for issues"

Receiving Subagent Results

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

Integration with Checkers

Before launching subagent:

  • scope-boundary-checker → Is scope clear and bounded?
  • assumption-checker → Are handoff assumptions valid?

After receiving results:

  • fact-checker → Verify subagent claims
  • pre-action-verifier → Before using results

Context Management

Main agent responsibilities:

  • High-level plan
  • User communication
  • Final integration
  • Overall progress

Subagent responsibilities:

  • Focused execution
  • Detailed work
  • Return clean results
  • No side conversations

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

Complete methodology for preventing AI hallucinations. Use when accuracy is critical and you need Claude to verify before claiming, cite before asserting, and admit uncertainty instead of guessing.

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

a-ariff/ariff-claude-plugins142026年3月29日 更新

Transform rough ideas into solid designs through structured questioning

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

a-ariff/ariff-claude-plugins142026年3月29日 更新

Canvas API Connection Skill

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

a-ariff/ariff-claude-plugins142026年3月29日 更新

Forces every code-related claim to include file:line citations. No citation means the claim must be verified or removed. Use when building documentation, writing code reviews, or any output that others will rely on.

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

a-ariff/ariff-claude-plugins142026年3月29日 更新

Assign confidence scores (0-100) to every claim in a response. Helps users understand which parts are verified facts and which are educated guesses. Use when the user needs to know how much to trust each part of the answer.

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

a-ariff/ariff-claude-plugins142026年3月29日 更新

Forces Claude to extract exact quotes from files before making claims about them. Prevents hallucinations by grounding every statement in actual text from the codebase. Use when working with large files or unfamiliar code.

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

a-ariff/ariff-claude-plugins142026年3月29日 更新

查看 a-ariff 的全部技能

报告此技能的问题