Skip to content
Skills Library
Programming · Planning

microservices-boundaries

/microservices-boundaries

Split services along business capabilities with clear data ownership, avoiding the distributed monolith. Use when decomposing a system into services or diagnosing services that must always deploy together.

Repository
AI-SKILLS ↗
Licence
MIT
Last repository change
05.09.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 05.09.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

Split services along business capabilities with clear data ownership, avoiding the distributed monolith. Use when decomposing a system into services or diagnosing services that must always deploy together.

Original author description

Split services along business capabilities with clear data ownership, avoiding the distributed monolith. Use when decomposing a system into services or diagnosing services that must always deploy together.

How it works

  1. Method
  2. Boundaries
Original SKILL.md headings · 74 lines, 462 words
SKILL.md preview
---
name: microservices-boundaries
description: Split services along business capabilities with clear data ownership, avoiding the distributed monolith. Use when decomposing a system into services or diagnosing services that must always deploy together.
---

# Microservices boundaries

The hard part of microservices is not building services; it is drawing
the lines between them. Wrong boundaries produce a distributed
monolith: all the operational cost of microservices with none of the
independence, where every change touches three services and they
deploy in lockstep.

## Method

1. **Split by business capability, not technical layer.** A
   service owns a domain (ordering, billing, inventory) end
   to end, not a tier (there is no "database service" and no
   "API service"). Bounded contexts from the domain (see
   domain-driven-design) are the natural seams; org
   structure will shape them anyway (Conway's law), so
   design the boundaries and the team boundaries together.
2. **Give each service sole ownership of its data.** One
   service, one database, no other service reaching into
   it: services collaborate through APIs and events (see
   event-driven-architecture), never shared tables. A
   shared database is the distributed monolith's spine:
   it couples deploys, schemas, and failures across every
   service that touches it.
3. **Test boundaries against change and chattiness.** Good
   boundaries mean most changes fit inside one service
   (high cohesion) and services talk coarsely (low
   coupling: see coupling-analysis). Warning signs of
   wrong lines: a feature always changing the same three
   services together, or two services making dozens of
   synchronous calls per request (that chatter is one
   service split badly: merge them).
4. **Prefer async collaboration, isolate failure.** Events
   over synchronous call chains where the interaction
   allows (see event-driven-architecture): synchronous
   chains propagate latency and failure (service C down
   takes A and B with it). Where synchronous is necessary,
   add timeouts, retries, and circuit breakers (see
   timeouts-and-retries) so one service's outage does not
   cascade.
5. **Design for independent deployability as the test.**
   The payoff of microservices is deploying one service
   without coordinating the others; if you cannot, you have
   the costs without the benefit. Contract testing (see
   contract-testing, pact-verification) lets services
   evolve independently with confidence; shared libraries
   that force lockstep upgrades quietly recouple them.
6. **Start coarse, split on demonstrated pressure.** Fewer,
   larger services are easier to get right; extract a new
   service when a piece has genuinely different scaling,
   team ownership, or release cadence (see monolith-first,
   strangler-fig for the extraction method). Premature
   fine-grained services multiply operational surface
   before you understand the domain well enough to draw
   lines.

## Boundaries

- Microservices trade in-process simplicity for network
  complexity (partial failure, latency, distributed data:
  see distributed-systems category); the boundary decision
  should clear a real bar (independent scaling, team
  autonomy, isolation), not follow fashion (see
  monolith-first).
- Getting boundaries wrong is expensive to fix (data
  ownership migrations, API contracts); this argues for
  starting with a modular monolith and extracting once the
  seams are proven (see monolith-first, coupling-analysis).
- Shared concerns (auth, config, observability) become
  cross-cutting platform work (see service-mesh-tradeoffs,
  api-gateway-pattern); budget for the platform, or every
  service reinvents it inconsistently.

Versions

The database has no other skills named microservices-boundaries.

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

Downloads in the last 30 days: 3 · ranking

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

Similar skills

  • 90microservices
    Design and implement microservices architecture. Use when: design microservices, split monolith, architect distributed system.
  • 100microservices
    Use when decomposing a system into services, or deciding whether to. Covers service boundaries, inter-service communication, distributed data, saga patterns, and the operational cost of the network. Trigger on "should we split the monolith", "extract this into a service", "our…
  • 95microservices-patterns
    Design microservices architectures with service boundaries, event-driven communication, and resilience patterns. Use when building distributed systems, decomposing monoliths, or implementing microservices.
  • 100microservices
    Designs microservice architectures - service boundaries from business capabilities and team ownership, sync vs async communication choices, saga and outbox patterns for consistency, and resilience defaults - producing a boundary map with an extraction verdict per candidate…
  • 100microservices
    Microservices and distributed systems patterns: service boundaries, sagas, CQRS, resilience, and monolith trade-offs. Use to decompose a monolith or design service communication.
  • 100microservices-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…

Feedback and reports

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