speckit-constitution

Create or update the project constitution from provided principle inputs.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Maintaining a consistent, versioned project constitution in a Spec Kit workflow requires careful template resolution, placeholder replacement, semantic version bumps, and governance validation, which is error-prone when done manually. ## 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 & Sync Impact Report: Automatically increments the constitution version (MAJOR/MINOR/PATCH) and produces a review report of modified, added, and removed principles. - Extension Hooks: Executes optional and mandatory before/after hooks registered in .specify/extensions.yml around the constitution update. - Use Case: A team adopting Spec Kit wants to codify five engineering principles into .specify/memory/constitution.md with proper ratification dates and versioning, without hand-editing template files. ## Quick Start Ask the assistant to create or update the project constitution with your principles, for example: "Update the constitution with principles for code review, testing, and documentation."

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 or values as input. It 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 version follows semantic versioning: MAJOR for backward-incompatible principle removals, MINOR for new principles or expanded guidance, and PATCH for clarifications or wording fixes. The skill proposes reasoning when the bump type is ambiguous.

Does speckit-constitution require a specific project structure?▼

Yes, it requires a Spec Kit project structure with a .specify/ directory containing scripts and templates. It resolves the constitution-template via .specify/scripts/bash/resolve-template.sh and writes only to .specify/memory/constitution.md.

What happens if the constitution template resolution fails?▼

The skill stops and reports the resolution error rather than continuing with a partial template layer. It never writes back to versioned template source files, so your templates remain untouched.

Can the constitution command modify application source code?▼

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