Lightlines
By backnotprop

principle-model-the-domain

backnotprop2.6k installs

Fewer tangled branches in your stateful code.

What it does

Guides code design toward domain-shaped data structures that reduce branches, duplicated rules, and 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 designs project 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.