Lightlines
By michael-denyer

principle-model-the-domain

michael-denyer637 installs

Keep stateful code clear with domain models.

What it does

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.

How to use it

It changes how the agent writes stateful code by encoding domain rules in data structures rather than scattered conditionals.

What you provide

  • An existing project

Latest review

What you need · 0

No setup requirements listed.


Access · 0

No additional actions listed.