speckit-constitution

Creates or updates the project constitution file from provided governance principles.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Teams using Spec Kit need a consistent, versioned project constitution that captures non-negotiable principles and governance rules, but drafting and maintaining it manually is error-prone and inconsistent. ## Core Features & Use Cases - Constitution Authoring: Generates or updates .specify/memory/constitution.md from a resolved template, filling placeholders with user input or repo-derived context. - Semantic Versioning of Governance: Automatically bumps the constitution version (MAJOR/MINOR/PATCH) based on the nature of principle changes, with ratification and amendment dates. - Scope Guard & Sync Impact Report: Separates governance content from unrelated implementation requests, defers non-governance intents, and produces a review report of changes. - Use Case: A team lead wants to add a new testing principle to their Spec Kit project. They invoke the skill with the principle text, and it updates the constitution, bumps the minor version, and suggests follow-up commands for deferred feature requests. ## Quick Start Ask the agent to update the project constitution with your principles, for example: "Update the constitution to require code review and automated testing for all changes."

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 skill with your principles or values as input. It resolves the constitution template, fills placeholders from your input or repo 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, MINOR for new principles or sections, and PATCH for clarifications. The skill proposes a bump type with reasoning before finalizing.

Does speckit-constitution require a specific project structure?▼

Yes, it requires a Spec Kit project with a .specify directory, including the scripts/powershell/resolve-template.ps1 resolver. The constitution is written to .specify/memory/constitution.md.

What happens if I include feature requests in my constitution input?▼

The skill's scope guard classifies non-governance intents as deferred items and does not execute them. It lists them in a Next Actions section with suggested follow-up Spec Kit commands like /speckit-specify.

Why did the constitution update fail at template resolution?▼

Resolution fails if the resolve-template.ps1 script errors or a contributing template layer is missing. The skill stops and reports the error rather than continuing with a partial template.