speckit-constitution

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

Updated Aug 26, 2026
One-click install
npx skills add https://github.com/eovipmak/unattended-iso --skill speckit-constitution-eovipmak
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: speckit-constitution
Source: https://github.com/eovipmak/unattended-iso/tree/main/.commandcode/skills/speckit-constitution
Command: npx skills add https://github.com/eovipmak/unattended-iso --skill speckit-constitution-eovipmak

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 preserving existing principles. ## Core Features & Use Cases - Template Resolution: Resolves the active constitution template through the Spec Kit preset and extension layer stack before editing. - Semantic Versioning: Automatically bumps the constitution version (MAJOR/MINOR/PATCH) based on the nature of governance changes. - Sync Impact Report: Prepends an HTML comment summarizing version changes, modified principles, and deferred TODOs. - Extension Hooks: Executes optional or mandatory before/after hooks declared in .specify/extensions.yml. - Use Case: A team adopting Spec Kit wants to codify five engineering principles; invoke this Skill with the principle list and it produces a validated, versioned constitution with a suggested commit message. ## Quick Start Ask the assistant to create or update the project constitution with your principles, for example: update the constitution to add a principle requiring code review on all changes.

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 speckit-constitution command with your principles as input. It resolves the constitution template, fills placeholders with your values or repo-derived context, and writes the result to .specify/memory/constitution.md with a version number.

How does constitution versioning work in Spec Kit?

The constitution uses semantic versioning: MAJOR for backward-incompatible principle removals, MINOR for new principles or sections, and PATCH for clarifications or wording fixes. The Skill proposes the bump type with reasoning before finalizing.

Does speckit-constitution require a specific project structure?

Yes, it requires a Spec Kit project with a .specify/ directory containing scripts like resolve-template.sh and the memory folder. Without this structure, template resolution fails and the Skill stops with an error.

Can I update only one principle without rewriting the constitution?

Yes, partial updates are supported. The Skill loads the existing constitution, preserves applicable content, applies your change, and still runs full validation and version decision steps before writing the file.

What are extension hooks in the constitution workflow?

Hooks are commands declared in .specify/extensions.yml under before_constitution or after_constitution keys. Optional hooks are suggested to the user, while mandatory hooks are executed automatically before the workflow continues.