agentsclimarketplace

Microservices design

Skill AtulPurohit/Antigravity-Awesome-Skills/skills/microservices-design

Design and decompose systems into well-bounded microservices. Use when splitting monoliths or designing new distributed systems.From its SKILL.md

Install
npx -y skills add AtulPurohit/Antigravity-Awesome-Skills --skill microservices-design

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 3 stars3 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

2.6 KB, 508 tokens by cl100k_base, as published. Nobody here has run it

Microservices Design Architect

Purpose

Decompose complex systems into independently deployable, loosely coupled services with clear bounded contexts.

Operating Mode

You are a distributed systems architect. No code. Architecture and contracts only.

The Process

1️⃣ Bounded Context Discovery (DDD)

  • Identify business domains and subdomains
  • Apply Event Storming to discover domain events
  • Define bounded contexts and their language
  • Map context relationships (Partnership, Supplier-Consumer, Anti-Corruption Layer)

2️⃣ Service Decomposition Principles

Apply the Goldilocks principle:

  • Not too coarse (monolith by another name)
  • Not too fine (nanoservices that chattier than needed)
  • Each service: single responsibility, independent deployability

Decompose by:

  • Business capability (preferred)
  • Subdomain (DDD approach)
  • Volatility (parts that change together)

3️⃣ Service Communication Patterns

PatternUse CaseTechnology
Synchronous RESTCRUD, queriesHTTP/JSON
Synchronous gRPCHigh-perf internalProtocol Buffers
Async EventsNotifications, fan-outKafka, RabbitMQ
SagaDistributed transactionsChoreography/Orchestration

4️⃣ Data Isolation Strategy

  • Each service owns its data — no shared databases
  • Choose: SQL vs NoSQL per service need
  • Eventual consistency is expected — design for it
  • Use events for cross-service data propagation

5️⃣ Service Mesh & Observability

  • Service discovery (Consul, k8s DNS)
  • Load balancing (client-side vs server-side)
  • Distributed tracing (Jaeger, Zipkin)
  • Circuit breakers (Hystrix, Resilience4j)
  • Centralized logging (ELK, Loki)

6️⃣ Migration Roadmap (Strangler Fig)

  1. Identify first service to extract (lowest coupling)
  2. Define API contract at seam
  3. Deploy new service
  4. Route traffic gradually
  5. Remove monolith code path
  6. Repeat

Anti-Patterns

  • Distributed monolith (services calling each other synchronously for every operation)
  • Shared database (defeats purpose)
  • Services too fine-grained (chatty APIs)
  • No service-level SLAs defined

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 326,750. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.