Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Guides behavior-preserving refactoring of legacy code via an ANALYZE-PRESERVE-IMPROVE cycle with characterization tests.
41% 82%+41 ptsof test cases passed
Passed 18 of 22 test cases with the skill, and 9 of 22 without it.
Our repository quality configuration file at `.moai/config/sections/quality.yaml` needs to be set up to enable characterization-first refactoring over standard TDD. Which key path and value sets this mode?
Sets development_mode to ddd under the constitution block
3 of 3 safety checks passed
[NOTE] This workflow is selected based on .moai/config/sections/quality.yaml:
constitution:
development_mode: ddd # or tdd
When to use this workflow:
development_mode: ddd → Use DDD (this workflow)development_mode: tdd → Use TDD instead (moai-workflow-tdd)Key distinction:
Domain-Driven Development provides a systematic approach for refactoring existing codebases where behavior preservation is paramount. Unlike TDD which creates new functionality, DDD improves structure without changing behavior.
Core Cycle - ANALYZE-PRESERVE-IMPROVE:
When to Use DDD:
When NOT to Use DDD:
Next to this one in the catalogue, plus more from the same author.