Senior AI Dev Kit
Back to the catalog

rule

Clean code and principles

clean-code-and-principles

SOLID, DRY, KISS and YAGNI as hard rules, plus limits that stop the agent from inventing APIs.

When to use it

Applies to all code the agent writes.

Technical description

Mandatory SOLID, DRY, KISS, and YAGNI architectural rules and negative anti-hallucination constraints.