speckit-constitution

Creates or updates the project constitution file from provided governance principles.

Updated Jun 27, 2026
One-click install
npx skills add https://github.com/marionoratoRN/custom-speckit-flow --skill speckit-constitution-marionoratorn
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: speckit-constitution
Source: https://github.com/marionoratoRN/custom-speckit-flow/tree/main/.claude/skills/speckit-constitution
Command: npx skills add https://github.com/marionoratoRN/custom-speckit-flow --skill speckit-constitution-marionoratorn

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Teams using spec-driven development need a single, versioned governance document that defines non-negotiable engineering principles, but drafting and maintaining a constitution with consistent versioning, dates, and structure is error-prone manual work. ## Core Features & Use Cases - Constitution Authoring: Resolves the active constitution template and fills every placeholder with values from user input or repository context. - Semantic Versioning of Governance: Automatically bumps the constitution version using MAJOR/MINOR/PATCH rules based on the nature of the amendment. - Sync Impact Reporting: Produces an HTML-comment report listing version changes, modified principles, and deferred TODOs for human review. - Use Case: A team lead runs the command with principles like "code review required" and "test coverage mandatory" to generate .specify/memory/constitution.md v1.0.0 that all later spec-kit commands read at runtime. ## Quick Start Ask the assistant to create a project constitution with principles for code review, testing, and documentation using the speckit-constitution skill.

Frequently Asked Questions about speckit-constitution

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

FAQPage Schema
How do I create a project constitution with spec-kit?▼

Run the speckit-constitution command with your principles as input, such as required code review or testing rules. It resolves the constitution template, fills placeholders, and writes the result to .specify/memory/constitution.md.

How does constitution versioning work in spec-kit?▼

The constitution uses semantic versioning: MAJOR for removed or redefined principles, MINOR for new principles or sections, and PATCH for wording fixes. The command proposes the bump type with reasoning before finalizing.

What project structure does speckit-constitution require?▼

It requires a spec-kit project with a .specify directory containing scripts and memory folders. The constitution is written to .specify/memory/constitution.md and templates are resolved through .specify/scripts/bash/resolve-template.sh.

Can the constitution command modify application source code?▼

No. A scope guard restricts it to updating only .specify/memory/constitution.md. Feature implementation or code requests in the input are extracted as deferred intents and listed under Next Actions instead of being executed.

What happens if the ratification date is unknown?▼

The command inserts a TODO(RATIFICATION_DATE) placeholder with an explanation and records it as a deferred item in the Sync Impact Report, so the constitution can still be written and reviewed.