constitution

Author and maintain project constitutions codifying invariants across specs and reviews.

3|1|Updated Feb 10, 2026
One-click install
npx skills add https://github.com/deandum/claude-resources --skill constitution-deandum
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: constitution
Source: https://github.com/deandum/claude-resources/tree/main/skills/core/constitution
Command: npx skills add https://github.com/deandum/claude-resources --skill constitution-deandum

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Author and maintain a project constitution that codifies invariants across every spec and review.

Core Features & Use Cases

  • Centralizes invariant definitions to guide every spec and review.
  • Provides mechanisms to propose, edit, sunset invariants, or promote recurring review comments via /constitution-propose and EXAMPLE_CONSTITUTION.md.
  • Integrates with session-start to ensure invariants are enforced during workflow execution and audits.

Quick Start

Copy EXAMPLE_CONSTITUTION.md to docs/constitution.md and start authoring invariants with /constitution-propose.

Frequently Asked Questions about constitution

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

FAQPage Schema
How do I enforce project invariants across code reviews and specs?

You can enforce project invariants by codifying them in a constitution file. This centralizes your rules so they automatically guide and validate every spec authoring and workflow review process.

What is the best way to turn recurring reviewer comments into enforceable rules?

Recurring reviewer comments can be promoted into enforceable rules using the constitution proposal mechanism. This shifts manual review feedback into automated governance invariants applied across future sessions.

How do I start authoring a project constitution for governance automation?

To start authoring a project constitution, copy the example constitution file into your docs directory. You can then propose, edit, and register invariants using frontmatter and body-level details for enforcement.

Can I sunset or remove outdated invariants from my project specifications?

Yes, you can sunset outdated invariants to keep your project specs accurate. The constitution governance mechanism provides specific commands to propose edits and remove rules that no longer apply.

Does project constitution governance integrate with session-start workflows?

Yes, constitution governance integrates directly with session-start workflows. This ensures that your codified invariants are automatically loaded and enforced during workflow execution and audits.

When should I codify a constitution for my software project?

You should codify a constitution when starting a new project, after a post-incident review, or when manual reviewer comments become frequent enough to require automated enforcement across specs.