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.
スキルの内容
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.
できること
- 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
概要
- 公開元
- Addy Osmani
- ツール
- テスト
インストール
- すべてのクライアントに追加するには、次のコマンドを実行します:
npx skills add addyosmani/agent-skills --skill constraint-driven-development
含まれるファイル
- references/floor-guard.md
- scripts/quality-gate.mjs
MCPサーバーやスキルは、お使いのコンピューターでコードを実行したり、データを操作したりできます。インストールする前にソースを確認してください。
このスキルには、エージェントが実行する可能性のあるスクリプトが含まれています。
詳細
| 項目 | 内容 | 出典 |
|---|---|---|
| 種類 | スキル | |
| ツール | テスト | |
| 公開元 | Addy Osmani | 出典 |
| 公式かどうか | ドキュメントに記載なし | |
| APIキーまたはサインインが必要 | ドキュメントに記載なし | |
| スクリプトを含む | はい | 出典 |
| プラットフォーム | ドキュメントに記載なし | |
| AIクライアント | Claude Code, Cursor, Codex, Gemini CLI, Devin Desktop | 出典 |
| ライセンス | MIT | 出典 |
| 料金 | ドキュメントに記載なし | |
| 活動状況 | 最終コミット 2026年11月1日GitHubスター 115,373ダウンロード数のデータなし(npm・PyPIで未公開) | 出典 |
| リンク | リポジトリ Webサイト |
出典
- GitHubリポジトリgithub.com/addyosmani/agent-skills · 根拠となる項目:AIクライアント, ライセンス, 公開元, 活動状況2026年11月11日
- Webページraw.githubusercontent.com2026年11月15日
- スキルファイル(SKILL.md)github.com/addyosmani/agent-skills2026年11月10日
- リポジトリ内のフォルダ(constraint-driven-development)github.com/addyosmani/agent-skills · 根拠となる項目:スクリプトを含む2026年11月10日