Constraint Driven Development
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 the user wants dimensions they care about — accessibility, web performance, coverage — set up as enforced constraints, 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.
- Type
- Skill
- Author
- addyosmani
- Category
- Code Review
- GitHub stars
- 110.9K
- Installs
- 34.0K
- Last updated
- November 1, 2026
Install
npx skills add https://github.com/addyosmani/agent-skills --skill constraint-driven-developmentUse cases
- Set up a written quality bar for accessibility, performance, and coverage thresholds.
- Pick sane default thresholds when you don't have a number in mind.
- Catch an agent adding @ts-ignore or deleting tests to reach a green build.
Frequently Asked Questions
Where does this skill record the quality bar?
It interviews you about the dimensions that matter and records everything in CONSTRAINTS.md.
What diff changes does it flag as a weakened bar?
New @ts-ignore or eslint-disable suppressions, skipped or deleted tests, stripped assertions, unimplemented stubs, and thresholds edited down.
What if I don't know what threshold to pick?
It supplies sane default thresholds when you have no number in mind.
About this skill
Turns a project's quality bar into a written contract in CONSTRAINTS.md and watches the diff for signs it's being lowered — new @ts-ignore or eslint-disable suppressions, skipped or deleted tests, stripped assertions, unimplemented stubs, or edited-down thresholds. It interviews the user about which dimensions matter and supplies default thresholds when they don't have a number in mind. Use it when no quality bar is written down, or when an agent keeps silencing checks to get to green.
Summary written with AI assistance from the project's public description.
Categories
More from addyosmani
Code Review And Quality
Conducts multi-axis code review. Use before merging any change. Use when reviewing code written by yourself, another agent, or a human. Use when yo...
by addyosmani
Security And Hardening
Hardens code against vulnerabilities. Use when handling user input, authentication, data storage, or external integrations. Use when building any f...
by addyosmani
Frontend Ui Engineering
Builds production-quality, accessible, responsive user-facing UIs. Use when building or modifying interfaces and pages, creating components, implem...
by addyosmani
Performance Optimization
Optimizes application performance across frontend, backend, queries, and databases. Use when performance requirements exist, when you suspect perfo...
by addyosmani
Similar Skills
Find Skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", o...
by vercel-labs
Grill Me
A relentless interview to sharpen a plan or design.
by mattpocock
Ai Video Generation
Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0,...
by inference-sh
Ai Image Generation
Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FL...
by inference-sh