- How you use it
- You ask for it
- What it can do
- installs software · writes files
- What's inside
The option
| Option | ASkill · v0.6.13+aeac41d.wwfix.2+wwfix.1Constraint-driven development skill (writes CONSTRAINTS.md) |
|---|---|
| How you use it | You ask for it |
| What it can do | installs software · writes files |
| What's inside |
What this thread does
Do first: In the installed Agent Skills Claude Code plugin, run /constraints to define the project quality bar.
Short answer
Agent Skills separates checks of the code from checks that the quality bar itself has changed. Its constraint skill writes CONSTRAINTS.md; its floor guard examines changes against the merge base, including added and removed lines and untracked files.
What to do
1. Record each chosen threshold alongside the command that produces its result in CONSTRAINTS.md. Add the instruction to read that contract to AGENTS.md and CLAUDE.md. 2. Adapt the reference at skills/constraint-driven-development/references/floor-guard.md to the project, saving its script as floor-guard.mjs. Run node floor-guard.mjs; --base <ref> changes the default origin/main comparison base. 3. Keep these exit meanings at the merge gate:
| Result | Meaning |
|---|---|
0 | No floor finding |
1 | Floor violation; block the change |
2 | Guard could not run; do not treat as clean |
4. Review lowered thresholds, .skip, deleted tests, removed assertions, new @ts-ignore or eslint-disable, stubs and added exception rows. The skill defaults to blocking the floor and warning on other dimensions for the first two weeks; its task-end check budget defaults to 90 seconds, with no CI budget. Its interview stops at four questions. 5. If there is no target, record the current measurement and ratchet it against regression rather than inventing a threshold.
Limits and open questions
The reference is deliberately based on shallow regular expressions and requires ecosystem-specific patterns. It is a starting point, not a complete defense against deliberately hidden changes. The skill also calls for at least one external constraint alongside project-written tests.
Not for: Stryker mutation-operator configuration.
Sources
Checked
2026-11-17: read Agent Skills command list, constraint-driven-development source, floor guard reference; no command was run.
Started from a post by @addyosmani, packaged by the editor. Original post
- 01 · YouPaste the line from Try it into your agent.
- 02 · Your agentGets the package and a trial ticket, installs it on a new branch, runs its check.
- 03 · YouApprove a one-line report. Nothing is posted without you.