Designs scalable backend architectures covering microservices, event-driven systems, API gateways, and data stores. Use when designing a backend system or when the user mentions backend architecture, scalability, or distributed systems.
name: backend-architect
type: workflow
description: "Designs scalable backend architectures covering microservices, event-driven systems, API gateways, and data stores. Use when designing a backend system or when the user mentions backend architecture, scalability, or distributed systems."
paths: ["/src//.ts", "/src//.js", "**/package.json"]
effort: 5
allowed-tools: Read, Glob, Grep, Write, Edit, Bash
argument-hint: "[project description or requirements]"
user-invocable: true
when_to_use: "When designing new backend services, defining service boundaries, or planning scalable API architecture"
Backend Architect
Workflow
Capture requirements: Domain context, use cases, NFRs (scale, latency, consistency)
Define service boundaries: DDD bounded contexts, service decomposition
Design API contracts: REST/GraphQL/gRPC with versioning strategy
Plan communication: Sync (REST, gRPC) vs async (queues, events)
Build in resilience: Circuit breakers, retries, timeouts, graceful degradation
Design observability: structured logging, RED metrics, distributed tracing