Install any skill in seconds. Free to start, no credit card required.
Get Started Free →modu-ai/moai-workflow-ddd
Domain-Driven Development workflow specialist using ANALYZE-PRESERVE-IMPROVE cycle for behavior-preserving code transformation.
Passed 17 of 21 test cases with the skill, and 9 of 21 without it.
and 11 more in the full report
9 fixed9 passed either way4 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 9 test cases the skill fixed. Same model, same prompt, with and without the skill.
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?
| Checked | Without skill | With skill |
|---|---|---|
| Sets development_mode to ddd under the constitution block | Missed | Passed |
The instructions your model reads when the skill loads.
[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:
test cases passed, vs 9 / 21 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.