speckit-constitution

Creates and updates project constitution files while syncing dependent spec-kit templates.

1|Updated Jul 10, 2026
One-click install
npx skills add https://github.com/tjsasakifln/extra-cli --skill speckit-constitution-tjsasakifln
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: speckit-constitution
Source: https://github.com/tjsasakifln/extra-cli/tree/main/.grok/skills/speckit-constitution
Command: npx skills add https://github.com/tjsasakifln/extra-cli --skill speckit-constitution-tjsasakifln

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Keeping a project's governing principles consistent across the constitution file and all dependent spec-kit templates is error-prone manual work. This Skill fills the constitution template with concrete values, applies semantic versioning, and propagates amendments to plan, spec, and tasks templates. ## Core Features & Use Cases - Constitution Authoring: Fills placeholder tokens in .specify/memory/constitution.md from user input or repository context, with semantic version bumping (MAJOR/MINOR/PATCH) and ISO governance dates. - Consistency Propagation: Validates and updates plan-template.md, spec-template.md, tasks-template.md, and installed speckit command files so they align with amended principles. - Extension Hooks: Executes optional or mandatory pre/post hooks declared in .specify/extensions.yml before and after the constitution update. - Use Case: A team adopting spec-kit wants to codify five engineering principles; the Skill drafts the constitution, bumps it to v1.0.0, emits a Sync Impact Report, and flags templates needing follow-up. ## Quick Start Ask the agent to create or update the project constitution with your principles, for example: "Update the constitution to add a principle requiring test coverage for all new modules."

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?▼

Run the constitution command in a spec-kit project with a .specify directory. The Skill loads .specify/memory/constitution.md, replaces placeholder tokens with your principles, and writes the completed file back with a version and dates.

How does constitution versioning work in spec-kit?▼

Versioning follows semantic rules: MAJOR for backward-incompatible principle removals, MINOR for new principles or sections, and PATCH for clarifications or typo fixes. If the bump type is ambiguous, the Skill proposes reasoning before finalizing.

Does the constitution update sync other spec-kit templates?▼

Yes. The Skill reads plan-template.md, spec-template.md, and tasks-template.md and checks that Constitution Check sections, scope requirements, and task categories reflect the amended principles, reporting each as updated or pending.

What happens if the constitution file is missing?▼

If .specify/memory/constitution.md does not exist, the Skill copies it from .specify/templates/constitution-template.md before filling placeholders. It never creates a new template from scratch.

What are spec-kit extension hooks for constitution updates?▼

Hooks are commands declared under hooks.before_constitution or hooks.after_constitution in .specify/extensions.yml. Mandatory hooks execute automatically before proceeding; optional hooks are suggested with their command and prompt.