Skip to content
Development
Skill

/architecture-paradigm-microservices

Applies microservices for independent deployment and per-service scaling. Use when teams need autonomous release cycles with distinct capability scaling needs.

From plugin
claude-night-market
350200 skills60 agents162 commands1 MCP

Claude Code

$ npx -y skills add athola/claude-night-market --skill architecture-paradigm-microservices --agent claude-code

SKILL.md

architecture-paradigm-microservices.SKILL.md
name: architecture-paradigm-microservices
role: library
description: Applies microservices for independent deployment and per-service scaling. Use when teams need autonomous release cycles with distinct capability scaling needs.
alwaysApply: false
category: architectural-pattern
tags:
- architecture
- microservices
- distributed-systems
- team-autonomy
- scalability
dependencies: []
tools: []
usage_patterns:
- paradigm-implementation
- distributed-system-design
- team-scaling
- api-gateway-planning
complexity: high
estimated_tokens: 900

The Microservices Architecture Paradigm

When to Employ This Paradigm

  • When the organizational structure requires high levels of team autonomy and independent release cycles.
  • When different business capabilities (bounded contexts) have distinct scaling requirements or would benefit from different technology stacks.
  • When there is a significant organizational commitment to investing in DevOps and SRE maturity, including advanced observability, CI/CD, and incident response capabilities.

When NOT To Use This Paradigm

  • When team size is small and organizational complexity is low
  • When lack of DevOps maturity or limited platform engineering resources
  • When system requires strong transactional consistency across operations
  • When early-stage startup with rapidly evolving requirements
  • When regulatory constraints make distributed data management challenging

Adoption Steps

1. **Define Bounded Contexts**: Map each microservice to a clear business capability and establish unambiguous data ownership. 2. **validate Service Data Autonomy**: Each service must own and control its own database or persistence mechanism. All data sharing between services must occur via APIs or events, not shared tables. 3. **Build a production-grade Platform**: Before deploying services, establish foundational infrastructure for service discovery, distributed tracing, centralized logging, CI/CD templates, and automated contract testing. 4. **Design for Resilience**: Implement resilience patterns such as timeouts, retries, circuit breakers, and bulkheads for all inter-service communication. Formally document Service Level Indicators (SLIs) and Objectives (SLOs). 5. **Automate Governance**: Implement automated processes to enforce security scanning, dependency management policies, and consistent versioning strategies across all services.

Key Deliverables

  • An Architecture Decision Record (ADR) cataloging all service boundaries, their corresponding data stores, and their communication patterns (e.g., synchronous API vs. asynchronous events).
  • A set of "golden path" templates and runbooks for creating and operating new services on the platform.
  • A detailed testing strategy that includes unit, contract, integration, and chaos/resilience tests.

Technology Guidance

**API Communication**:

  • **REST APIs**: Spring Boot (Java), Express.js (Node.js), FastAPI (Python)
  • **GraphQL**: Apollo Server (Node.js), Hasura (PostgreSQL)
  • **gRPC**: gRPC frameworks for high-performance internal communication

**Service Discovery & Configuration**:

  • **Service Registry**: Consul, Eureka, etcd
  • **Configuration**: Spring Cloud Config, HashiCorp Vault, AWS Parameter Store

**Message Broking & Events**:

  • **Message Brokers**: Apache Kafka, RabbitMQ, AWS SQS/SNS
  • **Event Streaming**: Apache Kafka, Apache Pulsar, AWS Kinesis

**Observability**:

  • **Distributed Tracing**: Jaeger, Zipkin, AWS X-Ray
  • **Metrics**: Prometheus, Datadog, CloudWatch
  • **Logging**: ELK Stack, Fluentd, Splunk

Real-World Examples

**Netflix**: Video streaming platform with hundreds of microservices handling different aspects like playback, recommendation, billing, and user authentication. Each team can deploy independently without affecting others.

**Amazon**: E-commerce platform with separate services for product catalog, order processing, payment, inventory, and shipping. Enables independent scaling during high-traffic events like Prime Day.

**Uber**: Ride-sharing platform with microservices for rider matching, driver dispatch, pricing, payment processing, and notifications, allowing rapid feature development and deployment.

Risks & Mitigations

  • **Distributed System Complexity**:
  • **Mitigation**: The operational overhead for a microservices architecture is substantial. Invest in dedicated platform teams and shared tooling to manage this complexity and provide support for service teams.
  • **Data Consistency Challenges**:
  • **Mitigation**: Maintaining data consistency across services is a primary challenge. Employ patterns like Sagas for orchestrating transactions, validate message-based communication is idempotent, and use reconciliation jobs to handle eventual consistency.
  • **Incorrect Service Granularity ("Over-splitting")**:
  • **Mitigation**: If services are too small, the communication overhead can outweigh the benefits of distribution. validate each service owns a meaningful and substantial piece of functionality. Monitor change coupling between services to identify candidates for merging.

Concrete Components

Vocabulary for the tools and abstractions an implementation of this paradigm tends to carry. Not dependencies, and not ``tools:`` frontmatter.

  • ``service-boundary-analyzer``: finds candidate seams via call-graph and data-ownership analysis
  • ``api-contract-generator``: OpenAPI/protobuf scaffolding for new service boundaries
  • ``resilience-patterns``: retry, circuit breaker, bulkhead, and timeout libraries

Exit Criteria

  • [ ] An ADR catalogs all service boundaries with their data stores and communication patterns

(synchronous API vs. asynchronous events) before any service is deployed independently.

  • [ ] Each service owns its own database or persistence mechanism. No service reads another

service's tables directly (verified via data-ownership review).

  • [ ] Resilience patterns (timeout, retry, circuit breaker, bulkhead) are documented and

implemented for ev

Read more
@athola
Ships withclaude-night-market

A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.

350200 skills60 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
350
Star history of athola/claude-night-market on GitHub, a chart by star-history.com

Other skills on claude-night-market.

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills2w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react5d252k
@facebook@facebookInstall Skill

Questions about architecture-paradigm-microservices.

Which coding agents can use architecture-paradigm-microservices?
architecture-paradigm-microservices installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.