speckit-constitution

Creates or updates the project constitution file from resolved Spec Kit templates and user inputs.

Updated Aug 25, 2026
One-click install
npx skills add https://github.com/Omkar-code-mur/Job-Radar --skill speckit-constitution-omkar-code-mur
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: speckit-constitution
Source: https://github.com/Omkar-code-mur/Job-Radar/tree/main/Spec-it_job-Radar/.github/skills/speckit-constitution
Command: npx skills add https://github.com/Omkar-code-mur/Job-Radar --skill speckit-constitution-omkar-code-mur

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, updating, and validating the governance document at .specify/memory/constitution.md so principles, dates, and versions stay coherent. ## 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 increments the constitution version using MAJOR/MINOR/PATCH rules based on the type of governance change. - 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 lead wants to add a new testing principle to the project constitution. They invoke the Skill with the principle text, and it updates the document, bumps the minor version, and reports the change. ## Quick Start Ask the assistant to update the project constitution with a new principle requiring integration tests for all API endpoints.

Frequently Asked Questions about speckit-constitution

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

FAQPage Schema
How do I update a project constitution with Spec Kit?

Invoke the speckit-constitution command with your principle inputs. The Skill resolves the active constitution template, fills placeholders from your input or repository context, validates the result, and writes the updated file to .specify/memory/constitution.md.

How does constitution versioning work in Spec Kit?

The constitution uses semantic versioning. MAJOR bumps cover backward-incompatible principle removals, MINOR covers new principles or expanded guidance, and PATCH covers clarifications or typo fixes. The Skill proposes the bump type based on your changes.

Does speckit-constitution require a .specify directory?

Yes, the Skill requires a Spec Kit project structure with a .specify directory. It runs .specify/scripts/powershell/resolve-template.ps1 to resolve the template and writes output to .specify/memory/constitution.md.

What happens if the constitution template resolution fails?

If the shared template resolver fails, the Skill stops and reports the resolution error. It does not continue with a partial template layer, ensuring the constitution is never built from incomplete scaffold content.

Can the constitution command modify application source code?

No, a scope guard restricts the Skill to updating only the constitution file. Feature implementation or code generation requests in the input are extracted as deferred intents and listed under Next Actions instead of being executed.