speckit-constitution

Creates or updates the project constitution in a Spec Kit repository from principle inputs.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Maintaining a consistent, versioned project constitution is tedious: placeholders must be filled, versions bumped correctly, and governance rules kept declarative. This Skill automates drafting and amending .specify/memory/constitution.md in Spec Kit projects while enforcing scope and validation rules. ## Core Features & Use Cases - Constitution Authoring: Resolves the active constitution template, fills all placeholder tokens, and writes the completed document to .specify/memory/constitution.md. - Semantic Versioning of Governance: Automatically increments the constitution version (MAJOR/MINOR/PATCH) based on the nature of principle changes, with a Sync Impact Report. - Scope Guard & Hooks: Separates governance content from unrelated implementation requests, defers non-governance intents, and executes pre/post extension hooks from .specify/extensions.yml. - Use Case: A team adopting Spec Kit wants to codify five engineering principles (e.g., test-first, library-first) into a ratified constitution; the Skill drafts the document, sets the ratification date, and proposes a commit message. ## Quick Start Ask the assistant to create or update the project constitution with your principles, for example: "Update the project constitution to add a principle requiring integration tests for all public APIs."

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 constitution command with your principles as input. The Skill resolves the constitution template, fills placeholders like principle names and dates, and writes the result to .specify/memory/constitution.md with a version number.

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 sections, and PATCH for clarifications or typo fixes. The Skill proposes the bump type with reasoning before finalizing.

Does the constitution command require a specific project structure?▼

Yes, it requires a Spec Kit project with a .specify directory, including .specify/scripts for template resolution and .specify/memory/constitution.md as the output location. Without this structure the template resolution step fails.

Can the constitution command also implement features it extracts from my input?▼

No. A scope guard classifies input as governance content or deferred intent. Feature implementation, code generation, or deployment requests are never executed; they are listed under Next Actions with a suggested follow-up command like /speckit-specify.

What happens if the ratification date is unknown?▼

The Skill inserts a TODO placeholder such as TODO(RATIFICATION_DATE) with an explanation and lists it in the Sync Impact Report under deferred items, so a human can supply the date before committing.