speckit-constitution

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

Updated Dec 12, 2024
One-click install
npx skills add https://github.com/kipariss1/czech_out_auto_bot --skill speckit-constitution-kipariss1
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: speckit-constitution
Source: https://github.com/kipariss1/czech_out_auto_bot/tree/main/.claude/skills/speckit-constitution
Command: npx skills add https://github.com/kipariss1/czech_out_auto_bot --skill speckit-constitution-kipariss1

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: Resolves the active constitution template and fills every placeholder with concrete project values. - Semantic Versioning of Governance: Automatically bumps the constitution version (MAJOR/MINOR/PATCH) based on the nature of principle changes. - Sync Impact Reporting: Generates an HTML-comment report summarizing version changes, modified principles, and deferred TODOs. - Extension Hooks: Executes optional or mandatory pre/post hooks declared in .specify/extensions.yml. - Use Case: A team lead wants to add a new testing principle to their Spec Kit project; they invoke this Skill with the principle text and receive an updated, versioned constitution.md with a suggested commit message. ## Quick Start Ask the assistant to update the project constitution with your principles, for example: "Update the constitution to require code review and automated testing before merge."

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 with your values or repo-derived 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 or wording fixes. 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 containing scripts like resolve-template.sh and the memory folder. Without this structure, template resolution fails and the update stops.

Can I update only one principle in the constitution?▼

Yes, partial updates are supported. The Skill still runs full validation, version decision, and date handling, preserving existing applicable content while applying your changes.

What happens if the ratification date is unknown?▼

The Skill inserts a TODO(RATIFICATION_DATE) placeholder with an explanation and lists it in the Sync Impact Report under deferred items for manual follow-up.