Install
openclaw skills install monolith-modularizationDeep workflow for evolving monoliths—mapping domains, defining module seams, strangler patterns, data ownership, incremental extraction, and testing/deployment safety. Use when reducing coupling before splitting services or improving maintainability.
openclaw skills install monolith-modularizationModularize before microservice splintering when possible: clear internal APIs and data boundaries lower risk than distributed rewrites.
Trigger conditions:
Initial offer:
Use six stages: (1) map current state, (2) define target modules, (3) enforce boundaries, (4) migrate data & calls incrementally, (5) extract candidates, (6) validate & iterate. Confirm language ecosystem (Java modules, packages, etc.).
Goal: Dependency graph and pain hotspots.
Exit condition: Simple diagram or list of coupling edges.
Goal: Bounded contexts as packages or layers with explicit APIs.
Exit condition: Rule document (lint or arch tests when possible).
Goal: Tooling backs intent (ArchUnit, dependency-cruiser, eslint boundaries).
Goal: Strangler inside the monolith: new code behind facades.
Exit condition: No big-bang rewrite without feature flags.
Goal: Choose first service by clear data ownership and low coupling.
Goal: Metrics: build time, test time, defect rate per module.