speckit-constitution

Update Speckit project constitutions by replacing placeholders and propagating changes to templates.

2|Updated Feb 16, 2026
One-click install
npx skills add https://github.com/d0whc3r/statsig-browser-extension --skill speckit-constitution-d0whc3r
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: speckit-constitution
Source: https://github.com/d0whc3r/statsig-browser-extension/tree/main/.trae/skills/speckit-constitution
Command: npx skills add https://github.com/d0whc3r/statsig-browser-extension --skill speckit-constitution-d0whc3r

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It solves the problem of keeping a Speckit project’s constitution and its dependent templates synchronized after you gather or change governance principles.

Core Features & Use Cases

  • Guided constitution updates with governance hygiene: Loads the current constitution, replaces placeholder tokens with concrete values, and updates versioning and amendment metadata.
  • Automatic propagation to dependent artifacts: Reviews and aligns plan/spec/tasks templates and command/template files so principle-driven constraints stay consistent.
  • Extension hook support before and after updates: Runs optional and mandatory pre-/post-constitution hooks defined in .specify/extensions.yml when present and enabled.

Quick Start

Run speckit-constitution to update .specify/memory/constitution.md from your provided principle inputs and keep related templates in sync.

Frequently Asked Questions about speckit-constitution

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I keep my project constitution and spec templates synchronized?

To keep your project constitution and spec templates synchronized, update the constitution memory file with your new governance principles to automatically bump the semantic version and propagate changes across dependent plan, spec, and task templates.

What is semantic versioning for a YAML governance constitution?

Semantic versioning for a YAML governance constitution tracks amendments by automatically bumping the CONSTITUTION_VERSION using semantic rules whenever you replace placeholder tokens with concrete governance and principle values.

How do I run custom hooks before updating project governance principles?

You can run custom hooks before updating project governance principles by defining optional or mandatory pre-constitution and post-constitution hooks in the `.specify/extensions.yml` configuration file, which execute during the update workflow.

Can I use speckit-constitution to propagate governance changes to command docs?

Yes, you can use speckit-constitution to propagate governance changes to command docs. It reviews and aligns command and template files alongside plan, spec, and task templates so principle-driven constraints remain consistent.

Does updating constitution memory require existing YAML configuration files?

Updating constitution memory requires an existing `.specify/memory/constitution.md` file to load and modify. The `.specify/extensions.yml` file is optional and only needed if you want to execute configured before and after hooks.