constraint-driven-development
A skill from Addy Osmani's agent-skills collection that writes a project's quality bar down as a contract in CONSTRAINTS.md and stops agents from quietly lowering it.
O que a skill ensina
A skill from Addy Osmani's agent-skills collection that writes a project's quality bar down as a contract in CONSTRAINTS.md and stops agents from quietly lowering it. The agent first reads the stack, test runner, linters, coverage and CI, then asks four questions with defaults: which areas to enforce, whether failures block or warn, target numbers or hold-the-line ratchets, and how long checks may run. It installs common tools for each area, such as type checkers, Semgrep, gitleaks, Lighthouse, axe and mutation testing, checks that each enforced command really fails on violations, and places fast checks in the edit loop and the full set in review and CI. Diffs that skip tests, suppress checks or loosen thresholds are flagged.
O que faz
- Write a project's quality thresholds into CONSTRAINTS.md
- Install and wire checks for tests, coverage, security and accessibility
- Flag skipped tests, suppressed checks and lowered thresholds
- Hold current metrics with ratchets when no target exists
Sobre
- Publicador
- Addy Osmani
- Ferramenta
- Testes
Funciona com
Instalação
- Execute este comando para adicionar ao Qualquer cliente:
npx skills add addyosmani/agent-skills --skill constraint-driven-development
O que tem dentro
- references/floor-guard.md
- scripts/quality-gate.mjs
Servidores MCP e skills podem executar código no seu computador e agir sobre os seus dados. Revise o código-fonte antes de instalar.
Esta skill inclui scripts que o seu agente pode executar.
Detalhes
| Fato | Valor | Fonte |
|---|---|---|
| Tipo | Skill | |
| Ferramenta | Testes | |
| Publicador | Addy Osmani | fonte |
| Status oficial | Não informado na documentação | |
| Exige chave de API ou login | Não informado na documentação | |
| Inclui scripts | Sim | fonte |
| Plataformas | Não informado na documentação | |
| Clientes de IA | Claude Code, Cursor, Codex, Gemini CLI, Devin Desktop | fonte |
| Licença | MIT | fonte |
| Preço | Não informado na documentação | |
| Atividade | Último commit em 1 de nov. de 2026115.373 estrelas no GitHubDados de download indisponíveis (não está no npm nem no PyPI) | fonte |
| Links | Repositório Site |
Fontes
- Repositório no GitHubgithub.com/addyosmani/agent-skills · Comprova: Clientes de IA, Licença, Publicador, Atividade11 de nov. de 2026
- Página webraw.githubusercontent.com15 de nov. de 2026
- Arquivo da skill (SKILL.md)github.com/addyosmani/agent-skills10 de nov. de 2026
- Pasta no repositório (constraint-driven-development)github.com/addyosmani/agent-skills · Comprova: Inclui scripts10 de nov. de 2026