speckit-constitution

Create or update a project constitution and sync dependent spec-kit templates.

Updated May 4, 2026
One-click install
npx skills add https://github.com/Ab0umar/selrs.cc --skill speckit-constitution-ab0umar
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: speckit-constitution
Source: https://github.com/Ab0umar/selrs.cc/tree/main/.agents/skills/speckit-constitution
Command: npx skills add https://github.com/Ab0umar/selrs.cc --skill speckit-constitution-ab0umar

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Keeping a project's governing principles consistent across the constitution file and all dependent spec-kit templates is error-prone manual work. This Skill fills the constitution template with concrete values, versions changes semantically, and propagates amendments to plan, spec, and task templates. ## Core Features & Use Cases - Constitution Authoring: Fills placeholder tokens in .specify/memory/constitution.md from user input or repository context, with semantic version bumping (MAJOR/MINOR/PATCH) and ISO dates. - Consistency Propagation: Validates and updates plan-template.md, spec-template.md, tasks-template.md, and command files so they align with amended principles. - Sync Impact Report: Prepends an HTML comment report listing version changes, modified principles, and templates requiring updates. - Extension Hooks: Executes optional or mandatory before/after hooks declared in .specify/extensions.yml. - Use Case: After adopting a new testing principle, run this Skill to amend the constitution to v1.1.0 and automatically flag every template that references the old governance rules. ## Quick Start Ask the AI to update the project constitution with your new principles and keep all spec-kit templates in sync.

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 spec-kit project constitution?▼

Provide your principles or values as input, and the Skill fills placeholder tokens in .specify/memory/constitution.md, bumps the version semantically, and writes the completed file back. It also validates dependent templates for alignment.

How does constitution versioning work in spec-kit?▼

Versions follow semantic rules: MAJOR for backward-incompatible principle removals or redefinitions, MINOR for new principles or sections, and PATCH for clarifications or wording fixes. Ambiguous bumps are reasoned through before finalizing.

What files does the constitution update sync with?▼

It checks .specify/templates/plan-template.md, spec-template.md, tasks-template.md, and command files under .specify/templates/commands/. A Sync Impact Report marks each as updated or pending with file paths.

Does this work without a .specify directory?▼

No. The Skill requires a spec-kit project structure with the .specify/ directory. If the constitution file is missing, it is first copied from .specify/templates/constitution-template.md.

What are extension hooks in the constitution workflow?▼

Hooks are commands declared in .specify/extensions.yml under before_constitution or after_constitution keys. Mandatory hooks execute automatically, while optional hooks are suggested; disabled hooks are skipped.