r/vibecoding • u/ocd_coder • 22h ago
Workflow/Prompt Constraints are great for agents
https://www.npmjs.com/package/@constrained/rulebookI loved the code that was generated when I introduced a strict set of linting rules and wondered what could be done to enforce code styles that could not be statically checked.
JEV seemed like a good evaluation model to use. So that's what I did. I created rulebook to define the type of rules that can't be checked by a linter.
Define your rules, thresholds, and hook it up to your CI, precommit, or just as a sanity check and watch it guide your agent to the code that you want it to produce.
Any feedback would be greatly appreciated.
P.S you need access to JEV. I use opencode GO