constraint-design

Design enforcement-ready constraints with rule text, enforcement type, tool mapping, and scope metadata.

44|6|Updated Mar 30, 2026
One-click install
npx skills add https://github.com/Habitat-Thinking/ai-literacy-superpowers --skill constraint-design
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: constraint-design
Source: https://github.com/Habitat-Thinking/ai-literacy-superpowers/tree/main/ai-literacy-superpowers/skills/constraint-design
Command: npx skills add https://github.com/Habitat-Thinking/ai-literacy-superpowers --skill constraint-design

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps teams convert informal conventions and intent into precise, verifiable constraints that can be enforced by tools or agents and recorded in HARNESS.md, reducing ambiguity and drift between intent and verification.

Core Features & Use Cases

  • Constraint authoring: Write verification-ready rules that describe compliant and violating code clearly.
  • Enforcement selection: Choose between deterministic tooling, agent review, or marking a constraint unverified, and follow the promotion ladder.
  • Verification slot configuration: Map rules to tools or agents and select appropriate scopes like commit, pr, weekly, or manual.
  • Use case: Create a spec-conformance constraint that runs the test suite deterministically while pairing it with agent review for intent alignment.

Quick Start

Use the constraint-design skill to convert a prose rule into a HARNESS.md entry that specifies the rule, enforcement type, tool, and scope for verification.

Frequently Asked Questions about constraint-design

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert informal project rules into enforceable harness constraints?

To convert informal rules into enforceable harness constraints, you formalize intent into precise rule text, assign an enforcement type like deterministic or agent, and map it to verification tools for HARNESS.md inclusion. This reduces ambiguity between intent and automated verification.

What is the difference between deterministic, agent, and unverified enforcement types?

Enforcement types define how constraints are checked: deterministic uses automated tooling for pass or fail results, agent relies on AI review for subjective intent alignment, and unverified marks rules lacking tooling. They follow a promotion ladder toward full automation.

How do I configure verification slots for commit, PR, and weekly audit workflows?

Configuring verification slots involves mapping formalized constraints to specific tools or agents and selecting an appropriate scope like commit, pr, weekly, or manual audit. This scope metadata determines when the automated verification runs within the harness.

When should I use agent review instead of deterministic tooling for constraint verification?

Use agent review instead of deterministic tooling when constraints involve subjective intent alignment or nuanced spec conformance that cannot be strictly automated. Deterministic tooling is preferred for clear pass or fail conditions like running test suites.

What is the best way to structure a HARNESS.md entry for automated rule verification?

The best way to structure a HARNESS.md entry is to include precise rule text describing compliant and violating code, the enforcement type, the mapped tool or agent, and the verification scope metadata for automated processing.