Skip to content
Skills Library
Programming · Review & audit

system-design-microservices

/system-design-microservices

Use when evaluating service decomposition, domain ownership or consistency and failure behavior across service boundaries during review or planning.

Licence
MIT
Last repository change
08.11.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 08.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Use when evaluating service decomposition, domain ownership or consistency and failure behavior across service boundaries during review or planning.

Original author description

Use when evaluating service decomposition, domain ownership or consistency and failure behavior across service boundaries during review or planning.

How it works

  1. Establish the parent operation
  2. Decomposition sequence
  3. Pattern gates and red flags
  4. Technical judgment and presentation
Original SKILL.md headings · 31 lines, 492 words
SKILL.md preview
---
name: system-design-microservices
description: Use when evaluating service decomposition, domain ownership or consistency and failure behavior across service boundaries during review or planning.
metadata:
  version: "0.4.0"
---

# Evaluate service decomposition

**Core principle:** establish business and consistency boundaries before deployment boundaries. A service is justified by requirements, not an entity name or fashionable framework.

Read [shared policies](../system-design-enter/references/policies.md), [operating method](../system-design-enter/references/methodology.md), **[domain discovery](../system-design-enter/references/domain-discovery.md)** and **[context relationships](../system-design-enter/references/context-relationships.md)**. Conceptual name: `system-design:microservices`; portable ID: `system-design-microservices`.

## Establish the parent operation

This specializes review/plan and keeps their static/nonimplementation boundaries. Direct evaluation uses `../system-design-review/SKILL.md`; a handoff uses `../system-design-plan/SKILL.md`. Mark this specialization active, contribute findings and return without reloading yourself or enter.

## Decomposition sequence

1. **Map responsibility.** Identify domain decisions, vocabulary, entities, invariants and owners from requirements/code/design. Separate current contexts from proposals. Completion: each candidate boundary has a coherent purpose beyond a noun/folder.
2. **Map relationships.** For one service inspect callers, data authority and dependencies; for the whole project map important edges. Separate entity relationships, upstream/downstream model influence and command/query/event flow. Completion: material edges have owners, contract meaning and consistency needs.
3. **Compare deployment choices.** Check whether a modular monolith meets the same need. Evaluate independent load, releases, isolation/security, ownership and operational capacity. Preserve justified existing separation. An explicitly mandatory split is a binding constraint, not invented technical necessity. A tentative request for microservices is an approach to evaluate, not automatic authorization to assume distribution is needed. Assess transport/SDK and operating tools against the same invariants and costs.
4. **Choose the smallest viable mechanism.** Read [mechanisms/frameworks](../system-design-enter/references/relationship-mechanisms.md) and [architecture patterns](../system-design-enter/references/architecture-patterns.md). Assign service/data ownership, contracts and local transactions; choose synchronous/asynchronous interaction from timing/failure needs. Do not distribute technical layers mechanically.
5. **Walk failures.** Trace normal completion, duplicate/reordered delivery, concurrent attempts, ambiguous timeout, unavailable dependency and failed recovery. Define intent identity/retention, atomic deduplication/effect, deadlines, bounded retries/backoff, overload and irreversible actions. Completion: each failure has visible state and a recovery owner.
6. **Plan evolution and visibility.** Address compatibility/version coexistence, phased data/traffic migration, temporary shared-storage coupling, rollback/recovery limits, correlation, delivery lag and stuck/failed work. Plan assigns concrete tasks; review identifies gaps/options without implementing them.
7. **Challenge and report.** Compare the choice with the simpler alternative again. Verify each named pattern's mechanics/cost. Return evidence, choices, trade-offs and unknowns to the parent artifact in the shared directories.

## Pattern gates and red flags

Outbox requires a local state-change/publication invariant; Inbox/deduplication requires a duplicate-effect invariant; Saga requires cross-transaction recovery/compensation. Distributed coordination needs an explicit invariant and failure/cost analysis. A broker supplies no business-data atomicity. A Saga-named framework proves neither persistence nor compensation.

Red flags: service per entity, remote hops per technical layer, ambiguous write ownership, unbounded retries without identity, or gRPC/Redis/broker chosen from domain alone. Revisit the affected boundary/mechanism. Do not start services, infrastructure or application code.

## Technical judgment and presentation

Apply the shared agent-owned decision and diagram policies. Use [stack assessment](../system-design-enter/references/stack-assessment.md) for material architecture/tooling choices and [diagram guidance](../system-design-enter/references/diagrams.md) when a drawing is requested, substantial work benefits from one, or a prompt-only model has enough facts. Choose technical details yourself; explain product consequences without asking the user to select technologies. Preserve binding constraints, not unexamined suggestions. Keep this operation's scope and nonimplementation limits.

Versions

The database has no other skills named system-design-microservices.

Database snapshot: 13.11.2026 · package version dcd578e2aaa7 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 2 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 95microservices
    Use this skill when designing microservices architecture — decomposition, communication, data, discovery, observability, deployment. This skill enforces: bounded context decomposition, database-per-service ownership, saga patterns for distributed transactions, strangler fig…
  • 90microservices
    Design and implement microservices architecture. Use when: design microservices, split monolith, architect distributed system.
  • 100microservices
    Expert Microservices architecture assistance covering service decomposition, service discovery, distributed tracing, circuit breakers, and database-per-service isolation. Use when refactoring monoliths, designing distributed microservice systems, or orchestrating service communications.
  • 100microservices-patterns
    Provides microservices design patterns for service decomposition, API gateway, circuit breakers, saga orchestration, and inter-service communication. Use when designing or implementing microservices architecture.
  • 100microservices-architecture
    Use when designing, reviewing, or refactoring microservice boundaries, communication, service ownership, deployment independence, resilience, and distributed data flows. Load absorbed microservices fundamentals, models, communication, and resilience references as needed.
  • 95microservices-patterns
    Design microservices architectures with service boundaries, event-driven communication, and resilience patterns. Use when building distributed systems, decomposing monoliths, or implementing microservices.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.