speckit-constitution

Creates or updates the project constitution in a Spec Kit repository.

Updated Sep 13, 2026
One-click install
npx skills add https://github.com/secrakib/rag-eval-project --skill speckit-constitution-secrakib
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: speckit-constitution
Source: https://github.com/secrakib/rag-eval-project/tree/main/.agents/skills/speckit-constitution
Command: npx skills add https://github.com/secrakib/rag-eval-project --skill speckit-constitution-secrakib

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Maintaining a consistent, versioned project constitution is tedious and error-prone when done by hand. This Skill automates drafting, amending, and semantically versioning the governance document at .specify/memory/constitution.md while enforcing template structure and validation rules. ## Core Features & Use Cases - Template-Resolved Drafting: Resolves the active constitution template through the Spec Kit preset/template resolution stack and fills every placeholder with concrete values. - Semantic Versioning of Governance: Automatically bumps CONSTITUTION_VERSION using MAJOR/MINOR/PATCH rules and manages ratification and amendment dates in ISO format. - Sync Impact Report: Generates an HTML-comment report listing version changes, modified principles, added or removed sections, and deferred TODOs. - Use Case: A team adopting Spec Kit wants to codify five engineering principles. Invoke this Skill with the principle inputs, and it writes a validated constitution with a version bump rationale and a suggested commit message. ## Quick Start Update the project constitution with principles requiring code review, test coverage, and documentation for every change.

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?▼

Invoke the constitution command with your principle inputs in a Spec Kit project containing a .specify/ directory. The Skill resolves the constitution template, fills placeholders from your input or repository context, and writes the result to .specify/memory/constitution.md.

How does constitution versioning work in Spec Kit?▼

The constitution uses semantic versioning: MAJOR for backward-incompatible principle removals or redefinitions, MINOR for new principles or expanded guidance, and PATCH for clarifications or typo fixes. The Skill proposes a bump rationale when the type is ambiguous.

What is the Sync Impact Report in a constitution update?▼

The Sync Impact Report is an HTML comment placed at the top of the constitution file after an update. It records the version change, modified or renamed principles, added and removed sections, and deferred TODOs, and is meant to be removed before committing.

Can the constitution command modify application source code?▼

No. The Skill's scope guard restricts it to writing only .specify/memory/constitution.md. Non-governance intents like feature implementation or refactoring are extracted as deferred items and listed under Next Actions with suggested follow-up commands.

What happens if the constitution template resolution fails?▼

The Skill stops and reports the resolution error instead of continuing with a partial template layer. The shared resolver must successfully apply project overrides, preset layers, and extension layers before any drafting begins.