speckit-constitution

Creates or updates the project constitution file from provided principles and template resolution.

Updated Jul 4, 2026
One-click install
npx skills add https://github.com/charlesguse/wing-commander --skill speckit-constitution-charlesguse
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: speckit-constitution
Source: https://github.com/charlesguse/wing-commander/tree/main/.claude/skills/speckit-constitution
Command: npx skills add https://github.com/charlesguse/wing-commander --skill speckit-constitution-charlesguse

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Maintaining a consistent, versioned project constitution in a spec-kit repository requires manual template resolution, placeholder filling, semantic version bumps, and governance validation, which is error-prone when done by hand. ## Core Features & Use Cases - Constitution Authoring: Resolves the active constitution template through the Spec Kit preset stack and fills every placeholder from user input or repository context. - Semantic Versioning of Governance: Automatically bumps the constitution version (MAJOR/MINOR/PATCH) based on the nature of principle changes and maintains ratification and amendment dates. - Scope Guard & Extension Hooks: Separates governance content from unrelated implementation requests, and executes pre/post hooks registered in .specify/extensions.yml. - Use Case: A maintainer wants to add a new non-negotiable principle about code review to their spec-kit project; the skill updates .specify/memory/constitution.md, bumps the minor version, and produces a Sync Impact Report. ## Quick Start Ask the assistant to update the project constitution with a new principle requiring all pull requests to have two reviewers.

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 in a spec-kit repository?▼

Invoke the constitution command with your principles or values as input. The skill resolves the active constitution template, fills placeholders from your input or repository context, and writes the result to .specify/memory/constitution.md.

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 skill proposes a bump rationale when the type is ambiguous.

Does the constitution command require a spec-kit project structure?▼

Yes, it requires a spec-kit project with a .specify/ directory. It runs .specify/scripts/bash/resolve-template.sh to resolve the constitution template and writes only to .specify/memory/constitution.md.

Can the constitution skill also implement features mentioned in my input?▼

No, a scope guard classifies input into governance content and non-governance intents. Feature implementation or code generation requests are deferred and listed in a Next Actions section with suggested follow-up commands like /speckit-specify.

What happens if the ratification date of the constitution is unknown?▼

The skill asks for the date or inserts a TODO(RATIFICATION_DATE) marker with an explanation. Deferred items are also recorded in the Sync Impact Report placed as an HTML comment at the top of the file.