Agent Routing
Rules and conventions are in
/CLAUDE.md. This file is for Claude-specific agent orchestration.
Shared Context
- Domain Glossary — Workflow, Node, Trigger, Execution definitions
Agent Selection
| Task Type | Agent | Notes |
|---|---|---|
| UI components, styling, layout | frontend-engineer | Uses shadcn/ui patterns |
| System design, ADRs | software-architect | Consults existing architecture |
| TSDoc, API docs | code-documenter | Follows JSDoc conventions |
| Single-file quality audit | file-efficiency-guardian | Quick convention checks |
| tRPC routers, services | Default | Follow modules/{name}/server/ pattern |
| Background jobs | Default | Use Inngest, see src/inngest/ |
Agent-Specific Docs
Cross-Cutting Constraints
These extend CLAUDE.md rules for multi-step agent work:
- tRPC for all internal APIs — never raw fetch
- Inngest for background work — never heavy processing in request handlers
- Prisma only in API layer — UI → tRPC → Prisma → DB