AGENT SKILL

drin-monolith-to-microservice

Architectural workflow for decomposing legacy monoliths into scalable microservices.

License 许可
MIT
最近更新
2026-04-11
Stars
★ 12
Forks
1

01 前言 Front Matter

name
drin-monolith-to-microservice
status
production
description
Architectural workflow for decomposing legacy monoliths into scalable microservices.

03 SKILL.md 正文

Monolith to Microservice

Purpose

To enable scalable growth and independent deployment by safely breaking down complex legacy systems.

Methodology (The Strangler Pattern)

  1. Identify Boundaries: Find bounded contexts using Domain Driven Design (DDD).
  2. Extract Logic: Move a single capability to a new service.
  3. Proxy Traffic: Redirect traffic to the new service via Ingress/API Gateway.
  4. Decommission: Remove the old code once the new service is stable.

Rules

  • Don't build "Distributed Monoliths" (tight coupling).
  • Database extraction must happen after service logic extraction.
  • Every microservice must have its own CI/CD and monitoring.

subagents:

  • code-architect
  • backend-dev

04 同仓库更多 Skills