speckit-constitution

Creates or updates the project constitution in Spec Kit repositories.

Updated Aug 19, 2026
One-click install
npx skills add https://github.com/Base-Analitica/mouse-hub --skill speckit-constitution-base-analitica
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: speckit-constitution
Source: https://github.com/Base-Analitica/mouse-hub/tree/main/.jcode/skills/speckit-constitution
Command: npx skills add https://github.com/Base-Analitica/mouse-hub --skill speckit-constitution-base-analitica

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Maintaining consistent governance principles across a Spec Kit project is difficult when the constitution drifts from templates or lacks versioned updates. This Skill creates or updates .specify/memory/constitution.md from interactive or provided principle inputs while enforcing scope, versioning, and validation rules. ## Core Features & Use Cases - Constitution Authoring: Resolves the active constitution template, fills placeholders from user input or repo context, and writes the updated document. - Semantic Versioning & Sync Report: Bumps the constitution version per semver rules and prepends a Sync Impact Report documenting changes. - Scope Guard & Extension Hooks: Separates governance content from deferred non-governance intents and executes pre/post hooks defined in .specify/extensions.yml. - Use Case: A team adopting Spec Kit wants to codify five engineering principles; invoke this Skill with the principles and receive a validated, versioned constitution file. ## Quick Start Ask the assistant to create or update the project constitution with your list of 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?▼

Invoke the speckit-constitution command with your principles as input. It resolves the constitution template, fills placeholders from your input or repository context, and writes the result to .specify/memory/constitution.md with a version bump.

How does constitution versioning work in Spec Kit?▼

The constitution follows semantic versioning: MAJOR for backward-incompatible principle removals, MINOR for new principles or sections, and PATCH for clarifications. The Skill proposes a bump rationale and records the change in a Sync Impact Report.

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 update cannot proceed.

What happens if I include feature requests in 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 suggested follow-up Spec Kit commands.

What are extension hooks in the constitution workflow?▼

Hooks defined in .specify/extensions.yml under before_constitution or after_constitution keys run around the update. Optional hooks are suggested to the user, while mandatory hooks are executed automatically before continuing.