Stack Gems
Menu
← Skills

Constraint-Driven Development

Write the quality bar so agents cannot quietly lower it

Workflow · MIT

When

Establishes a project's quality bar as a written contract and stops agents quietly lowering it. Interviews the user on which dimensions matter, supplies sane default thresholds when they have no number in mind, records everything in CONSTRAINTS.md, and watches the diff for a weakened bar — new @ts-ignore or eslint-disable suppressions, skipped or deleted tests, assertions stripped out, unimplemented stubs, thresholds edited down. Use when no quality bar is written down, when the user says "set up constraints" or "define our standards", when an agent keeps silencing checks or skipping tests to get to green, when you need a coverage or performance threshold and don't know what number to pick, or when an agent writes more code than anyone will read.

The Catch

Writes CONSTRAINTS.md. Useless if nobody reads it, or if the agent quietly lowers the bar anyway.

Embed

Reviewed on Stack Gems
[![Reviewed on Stack Gems](https://stackgems.com/badge/skill/constraint-driven-development.svg)](https://stackgems.com/skills/constraint-driven-development)