constitution-enforcer

Enforce the 9 Constitutional Articles and Phase -1 Gates before implementation.

Updated Dec 12, 2025
One-click install
npx skills add https://github.com/ref-docs/sdd-stl --skill constitution-enforcer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: constitution-enforcer
Source: https://github.com/ref-docs/sdd-stl/tree/main/.claude/skills/constitution-enforcer
Command: npx skills add https://github.com/ref-docs/sdd-stl --skill constitution-enforcer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill validates compliance with the 9 Constitutional Articles and Phase -1 Gates before implementation, helping governance teams prevent design and code misalignment.

Core Features & Use Cases

  • Phase -1 gates validation before any code is written
  • Enforcement of all 9 Constitutional Articles (I–IX)
  • Violation detection and actionable remediation planning
  • Complexity tracking and governance reporting

Quick Start

Run the constitution-enforcer to perform pre-implementation checks and generate a compliance report.

Frequently Asked Questions about constitution-enforcer

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

FAQPage Schema
How do I enforce governance compliance before writing code?

Pre-implementation validation enforces the 9 Constitutional Articles and Phase -1 Gates to catch design and compliance violations before code is written. The constitution-enforcer applies automated checks across requirements, architecture, tests, and project structure to detect misalignment and provide remediation guidance.

What are the 9 Constitutional Articles and Phase -1 Gates?

The 9 Constitutional Articles establish governance rules for libraries, CLI interfaces, tests, EARS-formatted requirements, traceability, project memory, simplicity, anti-abstraction, and integration-first testing. Phase -1 Gates validate these rules as mandatory checkpoints before implementation begins.

Can I automate compliance audits across my project structure?

Yes. The constitution-enforcer detects governance violations automatically, documents justified exceptions, and generates compliance reports. It tracks complexity and provides actionable remediation planning to keep design and implementation aligned with constitutional standards.

When should I run pre-implementation compliance checks?

Run compliance validation before any code is written. Phase -1 Gates catch violations early in requirements, architecture, and test design stages, preventing costly rework and ensuring governance standards are met from project inception.

What violations does the enforcer detect?

The enforcer identifies misalignment across EARS-formatted requirements, traceability gaps, library and CLI interface violations, test structure issues, and anti-abstraction breaches. It reports deviations from the 9 Constitutional Articles with specific remediation guidance for each violation type.

Do I need special knowledge to interpret compliance reports?

No. The enforcer generates actionable compliance reports with clear violation detection and remediation steps. Governance teams and developers can use the structured output immediately to resolve violations and document justified exceptions before proceeding to implementation.