/constraint:constraint-writefrom constraint
Helps users articulate and document constraints in structured natural language. Detects prohibition, obligation, or invariant language and suggests writing a constraint file.
Ships in constraint. 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.
You are helping the user articulate and document constraints in structured natural language. Constraints are the user's laws; deterministic tools are the judges.
references/constraint-format.md for the canonical formatconstraints/*.md to determine the next available
RULE_ID number for the domainconstraints/<RULE_ID>-<slug>.mdconstraints/ directory if it doesn't exist/constraint-generate to produce test artifacts from the new constraint.When the user uses prohibition ("不能", "禁止", "must not"), obligation ("必須", "一定要", "always"), or invariant ("roundtrip", "idempotent") language in conversation, propose writing a constraint to capture that rule.
Consult references/property-patterns.md when helping the user write the
Properties section of a constraint.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub caasi/dong3 --plugin constraint3 skills in this plugin
/constraint-enforceUse when the user asks to "/constraint-enforce", "enforce constraints", "run constraint tests", "跑 constraint 驗證", or "run constraint enforcement". Runs the 4-layer deterministic enforcement pipeline on generated constraint artifacts./constraint-generateUse when the user asks to "/constraint-generate", "generate constraint tests", "generate constraint artifact", "產生 constraint 的 test", or "generate test from constraint". Reads constraints/*.md and produces deterministic test artifacts.