Sign in
Explore
Prompts · PromptTesting & SecurityReviewed

constraints

Define and enforce this project's quality bar — interview, sane defaults, CONSTRAINTS.md

Kind
Prompt
Works with
Claude Code
Source
addyosmani/agent-skills @ 2686b620fc1f
Path
.claude/commands/constraints.md
Jobs
Requirements interviews, Guardrails

Credit

Made by
addyosmani
Original
github.com/addyosmani/agent-skills/blob/2686b620fc1fed2e8f60c…
License
MIT

Listed by Skill Manifest; not made by us.

InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
Install factsScanned 3 Nov 2026
Adds
  • .claude/commands/constraints.md (run as /constraints)
Runs scripts
None found
Uses the network
None found
Needs secrets
None found
Calls other skills
  • agent-skills:constraint-driven-development
Source revision
2686b620fc1f
Licence
MIT
Last activity
24 Nov 2026
Source changed after the scan
Yes
  • Last push 24 Nov 2026, scanned 3 Nov 2026; read it again before you rely on this scan
Review
Reviewed

Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.

Invoke the agent-skills:constraint-driven-development skill.

$ARGUMENTS

Default behaviour with no arguments: set up constraints for this repository.

1. **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.

2. **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:
   - Which dimensions beyond the floor (coverage, security, performance, accessibility, architecture)
   - Block or warn when a check fails mid-task
   - Target numbers, or measure today's values and hold them
   - Slowest check tolerated before handing work back

3. **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.
…