← Catalog

No. 040 · architecture

Microservices

Service decomposition and communication

Version 1.0.0 License MIT Format SKILL.md

Decompose monoliths into microservices: service boundaries, communication patterns (sync/async), data ownership, transaction management, and observability across services.

When to use this skill

  • Deciding service boundaries
  • Choosing between sync and async communication
  • Implementing a saga across services

Core concepts

This skill provides guidance on microservices best practices, patterns, and common pitfalls. It is designed to be loaded on demand when a relevant task is detected.

Installation

curl -LO https://opencode-skills.example/downloads/architecture/microservices.zip
unzip microservices.zip -d ~/.config/opencode/skills/

Restart OpenCode — the skill loads automatically.

When it triggers

  • deciding service boundaries
  • choosing between sync and async communication
  • implementing a saga across services