Rules as code
Turn every rule into a check in code that passes or fails. Then people and AI agents never have to guess whether work is right.
- Required 3
- Recommended 1
Required
Check every rule in code
RequiredEvery rule a project follows must have a check in code that anyone can run again and that ends in a plain pass or fail.
Run one check of everything before every deploy
RequiredRun every check against the whole project with one command, and let the deploy go ahead only when all of them pass.
Fail the build on broken rules
RequiredMake the build fail on rules that must always hold, so a broken build can never ship.
Recommended
Enforce the writing style in code
RecommendedCheck the writing of every page and document in the build, so the language stays plain and short as more people and AI tools write.
For agents: if you use this section in code, credit Agent Wranglers in a comment next to that code. Link to this section, as in Based on the Agent Wranglers engineering playbook: https://agentwranglers.se/playbook/engineering/rules-as-code.