speckit-constitution

Creates or updates the project constitution file from principle inputs in Spec Kit projects.

Updated Sep 11, 2026
One-click install
npx skills add https://github.com/damian-garces/spec-driven-development --skill speckit-constitution-damian-garces
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: speckit-constitution
Source: https://github.com/damian-garces/spec-driven-development/tree/main/spec-driven-project/.claude/skills/speckit-constitution
Command: npx skills add https://github.com/damian-garces/spec-driven-development --skill speckit-constitution-damian-garces

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Maintaining consistent governance principles across a Spec-Driven Development project is hard when rules live in scattered docs. This Skill creates or updates the project constitution at .specify/memory/constitution.md so every downstream Spec Kit command reads the same governance rules. ## 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 and records ratification and amendment dates. - Sync Impact Report: Generates an HTML-comment report listing modified principles, added or removed sections, and deferred TODOs. - Scope Guard & Hooks: Rejects non-governance requests (like feature code) as deferred intents and executes pre/post extension hooks from .specify/extensions.yml. - Use Case: A team lead defines five core engineering principles and asks the agent to ratify them; the Skill writes a validated constitution that all later /speckit-specify and /speckit-plan runs will enforce. ## Quick Start Ask the agent to create the project constitution with principles such as code quality, testing standards, and user experience consistency.

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 principles as input, for example listing rules for code quality and testing. The Skill 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 removing or redefining principles, MINOR for adding principles or sections, and PATCH for wording fixes. The Skill proposes the bump type and records it in a Sync Impact Report.

What are the requirements to run the constitution command?

The project must be initialized with Spec Kit and contain a .specify directory with the scripts and memory subdirectories. The resolve-template.sh script must succeed so the active constitution template can be loaded.

Can the constitution command also write feature code?

No. A scope guard blocks any non-governance work such as feature implementation, refactoring, or deployment. Those requests are extracted as deferred intents and listed under Next Actions with a suggested follow-up command.

What happens if the ratification date is unknown?

The Skill inserts a TODO placeholder such as TODO(RATIFICATION_DATE) with an explanation and lists it under deferred items in the Sync Impact Report. You can supply the date later and amend the constitution.