Domain-Split Monolith Module Refactoring Plan
Why it works · It defines the runtime, behaviour and edge cases, then asks for tests — turning the AI from a code generator into a reliable engineering pair.
Best use case
Best for refactoring workflows where generate a detailed refactoring plan to decompose a monolithic module into domain-specific bounded contexts. this guides engineers through applying the strangler pattern with a routing shim, outlining current/target states, migration steps, testing, and rollback for safe service extraction.
Expected output
Working code in the runtime you specified, with edge cases handled and a small test you can run immediately.
Generate a detailed refactoring plan to decompose a monolithic module into domain-specific bounded contexts. This guides engineers through applying the strangler pattern with a routing shim, outlining current/target states, migration steps, testing, and rollback for safe service extraction.

