agent-health
Reads production/traces/agent-metrics.jsonl and displays a per-agent performance summary table for the current or a specified session. Highlights agents with…
Provides microservices design patterns for service decomposition, API gateway, circuit breakers, saga orchestration, and inter-service communication. Use when designing or implementing microservices architecture.
$ npx -y skills add tranhieutt/software_development_department --skill microservices-patterns --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/microservices-patternsContext preview
The summary Claude sees to decide when to auto-load this skill.
Provides microservices design patterns for service decomposition, API gateway, circuit breakers, saga orchestration, and inter-service communication. Use when designing or implementing microservices architecture.
name: microservices-patterns type: reference description: "Provides microservices design patterns for service decomposition, API gateway, circuit breakers, saga orchestration, and inter-service communication. Use when designing or implementing microservices architecture." paths: ["**/docker-compose*", "**/k8s/**", "**/services/**"] effort: 4 allowed-tools: Read, Glob, Grep, Write, Edit, Bash user-invocable: true when_to_use: "When designing microservices architecture, implementing service communication, or decomposing monoliths"
Service decomposition, communication, resilience, and orchestration patterns.
| Pattern | Description | Use When | |---------|-------------|----------| | Domain-Driven | Align services with bounded contexts | Complex business domains | | Data-Ownership | Service owns its data store | Data isolation required | | Team-Aligned | One service per team | Large organizations |
\`\`\`yaml
routes:
route: { cluster: order-service }
route: { cluster: user-service } \`\`\`
\`\`\` Producer → Exchange → Queue → Consumer (Topic) (DLQ on failure) \`\`\`
Use async for: event propagation, eventual consistency, load leveling.
\`\`\`typescript // Example with opossum const breaker = new CircuitBreaker(fetchUserProfile, { timeout: 3000, errorThresholdPercentage: 50, resetTimeout: 30000, }); \`\`\`
\`\`\`typescript async function retryWithBackoff(fn, maxRetries = 3) { for (let i = 0; i < maxRetries; i++) { try { return await fn(); } catch (e) { await sleep(Math.pow(2, i) * 1000); } } throw new Error('Max retries exceeded'); } \`\`\`
| Pattern | Consistency | Complexity | Use When | |---------|-------------|------------|----------| | Saga (orchestration) | Eventual | High | Complex multi-service transactions | | Saga (choreography) | Eventual | Medium | Simple event chains | | Event sourcing | Eventual | High | Audit trail, time travel | | Shared database | Strong | Low | Anti-pattern, avoid |
Tools: Kong, AWS API Gateway, Envoy, NGINX.
Responsibilities: routing, auth, rate limiting, request transformation, load balancing.
Repo: tranhieutt/software_development_department
Reads production/traces/agent-metrics.jsonl and displays a per-agent performance summary table for the current or a specified session. Highlights agents with…
Provides the vendored agent-style v0.3.5 prose rule pack as a portable Claude skill. Use when installing, syncing, applying, or auditing SDD Agent-Style…
Provides Angular best practices for components, modules, services, and reactive patterns. Use when working with Angular TypeScript files, component templates,…
Records unexpected API behaviors, undocumented caveats, version bugs, or non-obvious workarounds into .claude/memory/annotations.md. Use immediately when an…
Defines REST and GraphQL API contracts including endpoints, request/response schemas, auth flows, and versioning strategy. Use when designing a new API,…
Manages the ADR (Architecture Decision Record) registry. Use when recording tech-stack choices, design patterns, or infrastructure decisions with context,…