agent-health
Reads production/traces/agent-metrics.jsonl and displays a per-agent performance summary table for the current or a specified…
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.
Claude Code
$ npx -y skills add tranhieutt/software_development_department --skill backend-architect --agent claude-code
Codex
$ npx skills add tranhieutt/software_development_department --skill backend-architect -a codex -y
Cursor
$ npx skills add tranhieutt/software_development_department --skill backend-architect -a cursor -y
Gemini CLI
$ npx skills add tranhieutt/software_development_department --skill backend-architect -a gemini-cli -y
GitHub Copilot
$ npx skills add tranhieutt/software_development_department --skill backend-architect -a github-copilot -y
OpenCode
$ npx skills add tranhieutt/software_development_department --skill backend-architect -a opencode -y
Windsurf
$ npx skills add tranhieutt/software_development_department --skill backend-architect -a windsurf -y
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"
1. **Capture requirements**: Domain context, use cases, NFRs (scale, latency, consistency) 2. **Define service boundaries**: DDD bounded contexts, service decomposition 3. **Design API contracts**: REST/GraphQL/gRPC with versioning strategy 4. **Plan communication**: Sync (REST, gRPC) vs async (queues, events) 5. **Build in resilience**: Circuit breakers, retries, timeouts, graceful degradation 6. **Design observability**: structured logging, RED metrics, distributed tracing 7. **Security**: Auth/Z strategy, rate limiting, secrets management 8. **Caching**: Layer strategy (app → API → CDN) with invalidation plan 9. **Document**: Service diagram (Mermaid), ADRs, trade-offs
| Use case | Protocol | Reason | |---|---|---| | Standard CRUD API | REST | Widest tooling support | | Client queries complex data | GraphQL | Reduces over-fetching | | Internal service-to-service | gRPC | Typed contracts, low latency | | Real-time bidirectional | WebSocket | Full duplex | | Server push (one-way) | SSE | Simpler than WS for unidirectional | | High-volume async work | SQS/Kafka | Decoupling, retry, backpressure |
Circuit Breaker: CLOSED → [failures > threshold] → OPEN → [timeout] → HALF-OPEN → [success] → CLOSED Retry: exponential backoff with jitter — base_delay * 2^attempt + random(0, base_delay) Timeout: always set; propagate deadline via context/headers Bulkhead: separate thread pools per dependency; one slow dep shouldn't starve others Idempotency: every mutating operation needs idempotency key; store result, return on duplicate
Logs: structured JSON, always include: traceId, userId, duration, status Metrics (RED): Rate (req/s), Errors (%), Duration (p50/p95/p99) Traces: OpenTelemetry → Jaeger/Tempo; trace every cross-service call Alerts: error rate > 1%, p99 latency > SLO, queue depth > threshold
| Layer | Tool | Pattern | Invalidation | |---|---|---|---| | App | Redis | Cache-aside | TTL + event-driven | | API | CDN (CloudFront) | Read-through | Cache-Control headers | | DB reads | Read replica | Direct query | N/A (replica lag) |
Cache-aside rule: **read → cache miss → DB → cache set → return**. Never write to cache directly on writes — let TTL or event invalidate.
Reads production/traces/agent-metrics.jsonl and displays a per-agent performance summary table for the current or a specified…
Provides the vendored agent-style v0.3.5 prose rule pack as a portable Claude skill. Use when installing, syncing, applying, or…
Provides Angular best practices for components, modules, services, and reactive patterns. Use when working with Angular…
Records unexpected API behaviors, undocumented caveats, version bugs, or non-obvious workarounds into…
Defines REST and GraphQL API contracts including endpoints, request/response schemas, auth flows, and versioning strategy. Use…
Manages the ADR (Architecture Decision Record) registry. Use when recording tech-stack choices, design patterns, or…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.