
Constraint Driven Development
Constraint-driven-development is for the moment after an agent has been writing code all afternoon and nobody has read most of it. Instead of trusting the agent's sense of "good enough," this skill interviews you on which quality dimensions matter (coverage, security, accessibility, web performance), fills in sensible default thresholds when you don't have numbers, and writes the result to a CONSTRAINTS.md that any harness can read. The part I'd actually use is the diff watch: it flags new @ts-ignore or eslint-disable suppressions, deleted or skipped tests, and thresholds quietly edited down to get to green. Four interview questions with defaults is a sensible scope, and the Floor section is a good baseline even for small projects.
- skills.sh installs
- 42.4K
- GitHub stars
- 114.6K
- last updated
- Oct 27, 2026
Install
$ npx -y skills add addyosmani/agent-skills --skill constraint-driven-development --agent claude-codeInstalls into .claude/skills of the current project.
Files
Constraint-Driven Development
Overview
Other skills in this pack describe what good looks like. code-review-and-quality gives you five axes. test-driven-development gives you a cycle. security-and-hardening gives you a threat list. All of that lives in prose the agent reads and may or may not follow, and none of it survives the end of the session.
This skill produces something different: a written record of this project's bar, with numbers, that outlives the conversation and can be checked mechanically.
The reason matters. When you wrote the code, reading it told you whether it was any good. An agent writes more in an afternoon than you will read that week, so the judgement moves out of your head and into checks that run around the loop. Those checks need to exist, they need numbers you actually chose, and they need to fire close enough to the work that the agent fixes its own output.
Spec-driven development says what to build. Test-driven development proves it works. Constraint-driven development defines what "good enough to ship" means, before anyone argues about it in a pull request.
When to Use
Apply this skill when:
Sponsors
Details
- Repository
- github.com/addyosmani/agent-skills
- Categories
- Testing & QA, Git & Pull Requests, Code Review & Quality, AI & Agent Building, Debugging, Design & UI/UX
- First seen
- Oct 27, 2026
More from addyosmani/agent-skills
All 25- Code Review And Quality84.1K
- Security And Hardening81.4K
- Frontend Ui Engineering77.8K
- Performance Optimization75.2K
- Spec Driven Development74.7K
- Planning And Task Breakdown73.5K
- Documentation And Adrs73.5K
- Code Simplification72.6K
- Api And Interface Design72.4K
- Debugging And Error Recovery72.4K
- Test Driven Development71.3K
- Context Engineering71.1K
- Incremental Implementation71K
- Git Workflow And Versioning68.8K
- Idea Refine68.3K
- Using Agent Skills68K
- Browser Testing With Devtools67.7K
- Shipping And Launch67.4K
- Source Driven Development67.4K
- Ci Cd And Automation67.3K
- Interview Me66.4K
- Deprecation And Migration66.4K
- Doubt Driven Development65.8K
- Observability And Instrumentation63.8K