# Project Subagents Configuration # Domain-specific agents for working on different parts of the codebase. # # When working on a specific domain, spawn a Task with subagent_type="Explore" or # "general-purpose" and include the relevant agent's context in the prompt. # # Customize this file for YOUR project's structure. The domains below are examples. # Example: Backend/Core agent # [agents.backend] # name = "Backend Agent" # description = "API routes, database models, business logic" # file_patterns = [ # "src/**/*.rs", # "src/**/*.py", # "app/**/*.py" # ] # focus_areas = [ # "Database operations", # "API endpoints", # "Business logic" # ] # instructions = """ # When working on backend: # - Run tests before and after changes # - Follow existing patterns for new endpoints # - Maintain backwards compatibility # """ # Example: Frontend agent # [agents.frontend] # name = "Frontend Agent" # description = "UI components, state management, styling" # file_patterns = [ # "web/src/**/*.ts", # "web/src/**/*.tsx", # "src/components/**" # ] # focus_areas = [ # "React components", # "State management", # "Styling and layout" # ] # instructions = """ # When working on frontend: # - Test in browser after changes # - Follow component patterns # - Keep accessibility in mind # """ # Example: Infrastructure agent # [agents.infra] # name = "Infrastructure Agent" # description = "CI/CD, deployment, configuration" # file_patterns = [ # ".github/workflows/**", # "Dockerfile", # "docker-compose.yml", # "scripts/**" # ] # focus_areas = [ # "GitHub Actions", # "Docker configuration", # "Deployment scripts" # ] # instructions = """ # When working on infrastructure: # - Test workflows locally when possible # - Keep builds fast with caching # - Document any manual steps # """