Skip to content
Back to skills

Microservices

ASecurity

Service architecture — monolith, modular monolith and microservices trade-offs, decomposition by bounded context, data ownership per service, synchronous vs asynchronous communication, service contracts, extraction from a monolith, operational prerequisites. Use for service boundary or decomposition decisions (microservices, modular monolith, decomposition, service boundaries, strangler).

  • 5 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 3, 2026
ai-agentsgodatabaseci/cd

Security analysis

A100/100

Scanned December 3, 2026

npx -y skills add vectora-os/kit --skill microservices --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Microservices?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Microservices
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectora-os-microservices/badge)](https://www.skillsdirectory.com/skills/vectora-os-microservices)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: microservices
description: Service architecture — monolith, modular monolith and microservices trade-offs, decomposition by bounded context, data ownership per service, synchronous vs asynchronous communication, service contracts, extraction from a monolith, operational prerequisites. Use for service boundary or decomposition decisions (microservices, modular monolith, decomposition, service boundaries, strangler).
metadata:
  category: architecture
---

# Microservices

## Purpose

Choose and shape service boundaries that match team and domain structure without paying needless distribution costs.

**Use when:** deciding how to split or merge services.

**Not for:** deployment mechanics.

## Inputs

- Domain model, team topology, change coupling data.

## Outputs

- Service boundary proposal with data ownership and communication style.

## Read first

- [Project Brain](../../../project-brain/README.md) — `npm run brain -- query "microservices"` for prior decisions, patterns and anti-patterns.
- [Architecture standard](../../../standards/architecture.md)

## Steps

1. **Prerequisites.** Check operational maturity: CI/CD, observability, on-call.
   Done when gaps are listed.
2. **Boundaries.** Derive candidates from bounded contexts and change coupling.
   Done when each service owns its data.
3. **Communication.** Prefer async events between services; sync only for queries needing fresh data.
   Done when every edge has a style and contract.
4. **Path.** Start modular; extract by criteria (independent scaling, team ownership, release cadence).
   Done when extraction criteria are written.

## Best practices

- Modular monolith first for small teams.
- No shared databases between services.

## Common mistakes

- Distributed monolith with chatty sync calls.
- Splitting by technical layer.

## Example

Six-engineer team: modular monolith with enforced module boundaries; billing extracted later when it needed separate scaling.

## Reusable prompt

```text
Apply the Microservices skill (.agents/skills/microservices/SKILL.md).
Context: {{task card or question; links to PRD, ADRs, code paths}}
Constraints: {{approved thresholds, deadlines, allowed files}}
Evaluate prerequisites and propose service or module boundaries, data ownership, communication styles and extraction criteria.
Return: Service boundary proposal with data ownership and communication style..
Cite evidence (file:line, command output, source) for every claim; list open questions separately.
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.