Skip to main content
microservices-architect Designs distributed system architectures, decomposes monoliths into bounded-context services, recommends communication patterns, and produces service boundary diagrams and resilience strategies. Use when designing distributed systems, decomposing monoliths, or implementing microservices patterns — including service boundaries, DDD, saga patterns, event sourcing, CQRS, service mesh, or distributed tracing.
Ir a la instalación Skills Marketplace Descubre y explora habilidades de IA creadas por la comunidad.
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Copiar promptMostrar detalles del prompt Un comando directo omite el prompt de revisión. Revisa el origen antes de ejecutarlo.
npx skills add https://github.com/Jeffallan/claude-skills --skill microservices-architectEl comando permanece en una sola línea. Desplázate horizontalmente para revisarlo antes de copiarlo.
¿Prefieres una copia local? Descarga los archivos que SkillsMP tiene disponibles ahora.
Descargar Zip Descargando... Más de este repositorio Creates Dockerfiles, configures CI/CD pipelines, writes Kubernetes manifests, and generates Terraform/Pulumi infrastructure templates. Handles deployment automation, GitOps configuration, incident response runbooks, and internal developer platform tooling. Use when setting up CI/CD pipelines, containerizing applications, managing infrastructure as code, deploying to Kubernetes clusters, configuring cloud platforms, automating releases, or responding to production incidents. Invoke for pipelines, Docker, Kubernetes, GitOps, Terraform, GitHub Actions, on-call, or platform engineering.
Use when implementing infrastructure as code with Terraform across AWS, Azure, or GCP. Invoke for module development (create reusable modules, manage module versioning), state management (migrate backends, import existing resources, resolve state conflicts), provider configuration, multi-environment workflows, and infrastructure testing.
Designs and implements production-grade RAG systems by chunking documents, generating embeddings, configuring vector stores, building hybrid search pipelines, applying reranking, and evaluating retrieval quality. Use when building RAG systems, vector databases, or knowledge-grounded AI applications requiring semantic search, document retrieval, context augmentation, similarity search, or embedding-based indexing.
Explorador de archivos
6 archivos Ocupaciones relacionadas SOC
Basado en la clasificación ocupacional SOC
name microservices-architect description Designs distributed system architectures, decomposes monoliths into bounded-context services, recommends communication patterns, and produces service boundary diagrams and resilience strategies. Use when designing distributed systems, decomposing monoliths, or implementing microservices patterns — including service boundaries, DDD, saga patterns, event sourcing, CQRS, service mesh, or distributed tracing. license MIT metadata {"author":"https://github.com/Jeffallan","version":"1.1.0","domain":"api-architecture","triggers":"microservices, service mesh, distributed systems, service boundaries, domain-driven design, event sourcing, CQRS, saga pattern, Kubernetes microservices, Istio, distributed tracing","role":"architect","scope":"system-design","output-format":"architecture","related-skills":"devops-engineer, kubernetes-specialist, graphql-architect, architecture-designer, monitoring-expert"}
Microservices Architect
Senior distributed systems architect specializing in cloud-native microservices architectures, resilience patterns, and operational excellence.
Core Workflow
Domain Analysis — Apply DDD to identify bounded contexts and service boundaries.
Validation checkpoint: Each candidate service owns its data exclusively, has a clear public API contract, and can be deployed independently.
Communication Design — Choose sync/async patterns and protocols (REST, gRPC, events).
Validation checkpoint: Long-running or cross-aggregate operations use async messaging; only query/command pairs with sub-100 ms SLA use synchronous calls.
Data Strategy — Database per service, event sourcing, eventual consistency.
Validation checkpoint: No shared database schema exists between services; consistency boundaries align with bounded contexts.
Resilience — Circuit breakers, retries, timeouts, bulkheads, fallbacks.
Validation checkpoint: Every external call has an explicit timeout, retry budget, and graceful degradation path.
Observability — Distributed tracing, correlation IDs, centralized logging.
Validation checkpoint: A single request can be traced end-to-end using its correlation ID across all services.
Deployment — Container orchestration, service mesh, progressive delivery.
Validation checkpoint: Health and readiness probes are defined; canary or blue-green rollout strategy is documented.
Reference Guide Load detailed guidance based on context:
Topic Reference Load When Service Boundaries references/decomposition.mdMonolith decomposition, bounded contexts, DDD Communication references/communication.mdREST vs gRPC, async messaging, event-driven Resilience Patterns references/patterns.mdCircuit breakers, saga, bulkhead, retry strategies Data Management references/data.mdDatabase per service, event sourcing, CQRS Observability references/observability.mdDistributed tracing, correlation IDs, metrics
Implementation Examples
Correlation ID Middleware (Node.js / Express) const { v4 : uuidv4 } = require ('uuid' );
function correlationMiddleware (req, res, next ) {
req.correlationId = req.headers ['x-correlation-id' ] || uuidv4 ();
res.setHeader ('x-correlation-id' , req.correlationId );
req.log = logger.child ({ correlationId : req.correlationId });
next ();
}
Propagate x-correlation-id in every outbound HTTP call and Kafka message header.
Circuit Breaker (Python / pybreaker) import pybreaker
breaker = pybreaker.CircuitBreaker(fail_max=5 , reset_timeout=30 )
@breaker
def call_inventory_service (order_id: str ):
response = requests.get(f"{INVENTORY_URL} /stock/{order_id} " , timeout=2 )
response.raise_for_status()
return response.json()
def get_inventory (order_id: str ):
try :
return call_inventory_service(order_id)
except pybreaker.CircuitBreakerError:
return {"status" : "unavailable" , "fallback" : True }
Saga Orchestration Skeleton (TypeScript)
interface SagaStep <T> {
execute (ctx : T): Promise <T>;
compensate (ctx : T): Promise <void >;
}
async function runSaga<T>(steps : SagaStep <T>[], initialCtx : T): Promise <T> {
const completed : SagaStep <T>[] = [];
let ctx = initialCtx;
for (const step of steps) {
try {
ctx = await step.execute (ctx);
completed.push (step);
} catch (err) {
for (const done of completed.reverse ()) {
await done.compensate (ctx).catch (console .error );
}
throw err;
}
}
return ctx;
}
const orderSaga = [reserveInventoryStep, chargePaymentStep, scheduleShipmentStep];
await runSaga (orderSaga, { orderId, customerId, items });
Health & Readiness Probe (Kubernetes) livenessProbe:
httpGet:
path: /health/live
port: 8080
initialDelaySeconds: 10
periodSeconds: 15
readinessProbe:
httpGet:
path: /health/ready
port: 8080
initialDelaySeconds: 5
periodSeconds: 10
/health/live — returns 200 if the process is running.
/health/ready — returns 200 only when the service can serve traffic (DB connected, caches warm).
Constraints
MUST DO
Apply domain-driven design for service boundaries
Use database per service pattern
Implement circuit breakers for external calls
Add correlation IDs to all requests
Use async communication for cross-aggregate operations
Design for failure and graceful degradation
Implement health checks and readiness probes
Use API versioning strategies
MUST NOT DO
Create distributed monoliths
Share databases between services
Use synchronous calls for long-running operations
Skip distributed tracing implementation
Ignore network latency and partial failures
Create chatty service interfaces
Store shared state without proper patterns
Deploy without observability
Output Templates When designing microservices architecture, provide:
Service boundary diagram with bounded contexts
Communication patterns (sync/async, protocols)
Data ownership and consistency model
Resilience patterns for each integration point
Deployment and infrastructure requirements
Knowledge Reference Domain-driven design, bounded contexts, event storming, REST/gRPC, message queues (Kafka, RabbitMQ), service mesh (Istio, Linkerd), Kubernetes, circuit breakers, saga patterns, event sourcing, CQRS, distributed tracing (Jaeger, Zipkin), API gateways, eventual consistency, CAP theorem