Commit Graph

2 Commits

Author SHA1 Message Date
Git Admin 98f7a27a33 Fix custom sub-agents documentation based on official Claude Code docs
Corrected approach based on https://code.claude.com/docs/en/sub-agents:

Changes:
- Rewrote agent-templates.md with proper YAML frontmatter format
- Updated custom-subagents-usage-guide.md with correct file-based architecture
- Modified CLAUDE.md CUSTOM SUB-AGENTS section

Key corrections:
- Sub-agents are Markdown files with YAML frontmatter (not Task tool calls)
- Location: .claude/agents/ directory (not arbitrary)
- Management: Use /agents command (not Task tool)
- Built-in sub-agents: General-Purpose, Plan, Explore
- Custom agents: 6 project-specific agents with YAML config

Format:
---
name: agent-name
description: When to use
model: sonnet|opus|haiku|inherit
---

System prompt...
2025-12-02 11:31:15 +00:00
Git Admin 2f6b593ab7 Create custom project-specific sub-agents for AI Dev Factory
New files:
- custom-subagents-usage-guide.md (18KB): Complete guide to creating and using
  custom sub-agents with project-specific expertise
- agent-templates.md (9KB): Copy-paste ready templates for 6 specialized agents:
  * n8n Workflow Specialist
  * OpenHands SDK Specialist
  * Gitea Integration Specialist
  * Security Audit Specialist
  * Docker Services Specialist
  * Phase 3 Implementation Specialist

Updates:
- CLAUDE.md: Added CUSTOM SUB-AGENTS section with overview
- Documentation references: Added new guide files

Features:
- Project-specific knowledge embedded in each agent
- Ready-to-use templates with specialized context
- Examples for debugging, security audits, Phase 3 implementation
- Model selection guide (sonnet/opus/haiku)
- Best practices and advanced techniques

Benefits:
- Specialized expertise for each project component
- Reusable knowledge patterns
- Efficient task execution with context awareness

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-02 11:16:50 +00:00