Introduction To Subagents
← Hoch {lessons}
{lesson} 02Introduction To Subagents

Study Notes

wab

wab — yIlaD.

{study notes}
  • Subagent - {custom agent} 'e ghaH specialized task performer. Code review, test writing, documentation checking - wa'DIch task, wa'DIch subagent.
  • /agents slash command - Subagent management interface. Create, configure, deploy - HISlaH QaPla'!
  • Scope selection - Project-level (current project only) pagh User-level (all projects). Qapla' depends on your needs.
  • Tool customization - Read-only, Edit, Execution, {MCP}, Other tools. Code reviewer? Read tools only - edit tools unnecessary. Execution tools? Pending changes identification for better analysis.
  • Model selection - Haiku (fast, lightweight), Sonnet (balanced), Opus (complex analysis), Inherit (main conversation model). Task complexity determines model choice.
  • Config file structure - YAML frontmatter (name, description, tools, model, color) + system prompt body. . claude/agents/your-agent-name. md location. Description controls automatic delegation - "proactively" keyword triggers autonomous use.
  • System prompt mastery - Subagent instructions: focus areas, analysis methods, output structure. Specific prompts = useful subagent. Vague prompts = failure. Be precise!
  • Testing and refinement - Code changes test subagent behavior. Description unclear? Add concrete examples, trigger scenarios. Claude learns delegation patterns from detailed descriptions.
{flashcards} 8 {cards}
{question}
yI'ang · ←/→
{answer}
{flip}
Anki (.tsv) ↓
{knowledge check} 6 {questions}