constitution-enforcer

Validate software projects against the 9 Constitutional Articles before implementation.

12|2|Updated Nov 26, 2025
One-click install
npx skills add https://github.com/nahisaho/CodeGraphMCPServer --skill constitution-enforcer-nahisaho
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: constitution-enforcer
Source: https://github.com/nahisaho/CodeGraphMCPServer/tree/main/.claude/skills/constitution-enforcer
Command: npx skills add https://github.com/nahisaho/CodeGraphMCPServer --skill constitution-enforcer-nahisaho

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill validates governance and gate compliance across projects, enforcing the 9 Constitutional Articles before implementation.

Core Features & Use Cases

  • Phase -1 Gates: Pre-implementation checks.
  • Article Enforcement: Validate each constitutional article.
  • Violation Detection: Identify governance issues and suggest remediation.
  • Remediation Plans: Actionable steps to achieve compliance.

Quick Start

Run a governance check to ensure project artifacts meet the 9 articles.

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 implementing software changes?

Governance enforcement validates your project against Constitutional Articles before implementation. Constitution-enforcer performs Phase -1 gate checks across 9 articles—covering library-first principles, CLI interfaces, test-first practices, EARS requirements, traceability, project memory, simplicity, abstraction avoidance, and integration testing—to catch compliance gaps early and suggest remediation steps.

What are Constitutional Articles and how do they apply to my project?

Constitutional Articles are nine governance standards that enforce compliance rules across software projects. They cover design principles (Article I–II), development practices (Article III–V), project structure (Article VI–VII), and testing strategy (Article VIII–IX). Constitution-enforcer validates adherence to each article and identifies violations before code reaches implementation.

Can I track exceptions and justifications when governance rules conflict with project needs?

Yes. Constitution-enforcer includes justification-tracking for exceptions, allowing you to document why specific Constitutional Articles cannot be met in your context. This supports compliance auditing while maintaining flexibility for documented deviations and remediation planning.

How does constitution-enforcer ensure traceability from requirements through design and testing?

The Skill performs end-to-end traceability validation, connecting requirements to design artifacts, code, and tests across all 9 articles. This ensures governance compliance is measurable from specification through implementation and verifiable during audit phases.

What happens if my project violates one of the Constitutional Articles?

Constitution-enforcer detects governance violations and generates actionable remediation plans showing specific steps to achieve compliance. Violations are mapped to the relevant article and severity, enabling prioritized fixes before phase gates proceed.

Do I need prior setup or specific artifacts to run a governance check?

Governance checks work on standard project artifacts—requirements documents, design specifications, code, and tests. No external dependencies are required; constitution-enforcer validates whatever project materials you provide against the 9 Constitutional Articles.