Defines and enforces a project quality bar through written, measurable constraints
Ships in addy. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Invoke the constraint-driven-development skill.
Use the user-provided request and arguments from the current conversation.
Default behaviour with no arguments: set up constraints for this repository.
Detect first. Read package.json / pyproject.toml / go.mod, the test runner, existing lint configs, current coverage output, CI workflows, and the agent harness in use. Report what you found in two lines. Never ask for anything you can read.
Interview, at most four questions. One at a time, each with your best guess and a usable default so "I don't know" still produces a working config:
Write CONSTRAINTS.md at the repo root with a Floor section, enforced numbers, measured-only metrics with today's values, and an exceptions table with owners and expiry dates. Every number needs a stated reason.
Install what each picked dimension needs. A dimension with a number and no tool behind it is an aspiration. Use the de facto tool so existing config keeps working: Semgrep for code scanning, gitleaks (always --redact) for secrets, osv-scanner for dependencies, axe-core for accessibility, Lighthouse for web vitals, size-limit for bundles, dependency-cruiser for boundaries, Stryker for assertion quality. Record the exact command next to each rule in CONSTRAINTS.md. Accessibility and performance need a running URL; if the project has none, say so and drop the dimension rather than inventing a check. Add the commands to package.json as check:fast / check:task / check:full.
Place each check by cost. Types, lint and secrets in the edit loop (seconds). Related tests and changed-line coverage at task end (under 90s). Everything else at review or in CI. Scope checks to the diff, not the whole repo.
Point the agent at it. Add a line to AGENTS.md and CLAUDE.md telling agents to read CONSTRAINTS.md and never weaken it to make a change pass.
Verify. Run the constraints against the current branch. If anything fails that the user disagrees with, fix the constraint now rather than leaving a gate people will learn to ignore.
Sub-commands:
/constraints check — run the current constraints against this branch and report/constraints guard — inspect the diff for a weakened bar: lowered thresholds, skipped or deleted tests, new suppression comments, unfinished stubs, new exceptions/constraints ratchet — record today's measured values as the floor that must not fallACCESS.md (opens in a new tab)references/accessibility-checklist.md (opens in a new tab)references/definition-of-done.md (opens in a new tab)references/observability-checklist.md (opens in a new tab)references/orchestration-patterns.md (opens in a new tab)references/performance-checklist.md (opens in a new tab)references/security-checklist.md (opens in a new tab)references/testing-patterns.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
/addy:constraintsfrom addy
npx claudepluginhub yersonargotev/skills --plugin addy36 skills in this plugin
/a11yRuns an accessibility audit through the accessibility-auditor persona/accessibility-engineeringAudits existing interfaces for WCAG 2.2 AA conformance and remediates the violations found. Use when auditing a page or component for accessibility, running axe-core or pa11y, triaging a11y violations, or checking screen reader and contrast issues before shipping./api-and-interface-designGuides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when creating REST or GraphQL endpoints, defining type contracts between modules, or establishing boundaries between frontend and backend.Other plugins' skills for the same job