Keep stateful code clear with domain models.
Guides agents to organize stateful code around domain models that reduce branching and prevent invalid states.
When to use it
Use when writing stateful logic, when code has many branches, or when shape assumptions repeat across files.
It changes how the agent writes stateful code by encoding domain rules in data structures rather than scattered conditionals.
What you provide
No setup requirements listed.
No additional actions listed.