speckit-constitution

Create or update the project constitution from interactive principle inputs.

Updated Aug 24, 2026
One-click install
npx skills add https://github.com/Fras0/clinics-api --skill speckit-constitution-fras0
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: speckit-constitution
Source: https://github.com/Fras0/clinics-api/tree/main/.cursor/skills/speckit-constitution
Command: npx skills add https://github.com/Fras0/clinics-api --skill speckit-constitution-fras0

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Teams using Spec Kit need a governed, versioned project constitution that defines non-negotiable principles, but drafting and maintaining it consistently across template updates is error-prone and manual. ## Core Features & Use Cases - Constitution Authoring: Resolves the active constitution template through the Spec Kit preset/template stack and fills every placeholder with concrete project values. - Semantic Versioning of Governance: Automatically bumps the constitution version (MAJOR/MINOR/PATCH) based on the nature of principle changes, with a Sync Impact Report prepended to the file. - Scope Guard & Hooks: Separates governance content from unrelated implementation requests, deferring them to follow-up commands, and executes pre/post extension hooks from .specify/extensions.yml. - Use Case: A team adopting Spec Kit runs the command with their engineering principles as input and receives a validated .specify/memory/constitution.md with ratification dates, version history, and a suggested commit message. ## Quick Start Ask the assistant to create or update the project constitution with your list of engineering principles 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. It resolves the active constitution template, fills all placeholders with project-specific values, and writes the result to .specify/memory/constitution.md with a version and Sync Impact Report.

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 wording fixes. The version bump is decided during each update.

Does speckit-constitution require a specific project structure?▼

Yes, it requires a Spec Kit project with a .specify/ directory containing scripts/powershell/resolve-template.ps1 and memory/constitution.md. Template resolution must succeed before the update proceeds.

What happens if I include feature requests in the constitution input?▼

Non-governance intents such as feature implementation or code generation are not executed. They are extracted as deferred intents and listed in a Next Actions section with the suggested follow-up Spec Kit command.

Why did the constitution update fail at template resolution?▼

Resolution fails when the shared resolver cannot compose project overrides, preset layers, and extension layers, or when resolve-template.ps1 errors. The command stops and reports the error rather than continuing with a partial template.