# speckit.constitution

The speckit.constitution command edits a project’s constitution and checks related templates and guidance for alignment. Use it when development principles or governance rules change.

- command · `type=command` · Claude Code, Codex, GitHub Copilot, Gemini CLI · ★ 117 repo stars
- Author: Chat2AnyLLM
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Chat2AnyLLM/awesome-claude-plugins/tree/HEAD/.claude/commands/speckit.constitution.md
- Updated: 2026-10-29
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/commands/speckitconstitution

## What it does

The command updates `.specify/memory/constitution.md` using the request and repository context. It then checks plan, specification, and task templates, command files, and project guides against the revised principles. The run ends by saving the constitution and reporting the version change and files that may need follow-up.

Version bumps follow semantic versioning: removing or redefining principles calls for MAJOR, adding a principle or section calls for MINOR, and wording changes fit PATCH. For an unknown ratification date, the command can ask for the date or leave a TODO; when edits are made, it uses the current date for the last-amended field. Repository context matters here: dates and version details may need to come from the user or existing project files.

## Install

### Claude Code (native platform)

**Manually: put the files in place**
- File: `.claude/commands/speckit.constitution.md` — Call it with /speckit.constitution. For all projects use ~/.claude/commands/

### Codex

**Manually: put the files in place**
- File: `~/.codex/prompts/speckit.constitution.md` — Call it with /prompts:speckit.constitution. Codex marks this format deprecated in favour of skills

### GitHub Copilot

**Manually: put the files in place**
- File: `.github/prompts/speckit.constitution.prompt.md`

### Gemini CLI

**Manually: put the files in place**
- File: `.gemini/commands/speckit.constitution.toml` — Gemini stores commands as TOML: the prompt text goes into the prompt field

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/Chat2AnyLLM/awesome-claude-plugins/tree/HEAD/.claude/commands/speckit.constitution.md

## When to use it
- revise the project’s governing principles
- align planning templates with updated rules
- find stale references in commands and project guides
- record the version change and affected files

## Example prompts
- Update the project constitution with these principles: keep code style consistent and require tests for new features.
- Review `.specify/memory/constitution.md` and bring the project templates into line with it.
- Change the project governance rules and report which templates need edits.

## Similar
- [speckit-constitution](https://affpapa.org/en/nevibecode/skills/speckit-constitution.md) — skill · 2500 installs
- [speckit-specify](https://affpapa.org/en/nevibecode/skills/speckit-specify.md) — skill · 2700 installs
- [skill-card-generator](https://affpapa.org/en/nevibecode/skills/skill-card-generator.md) — skill · 2300 installs
- [speckit.companion.living-show](https://affpapa.org/en/nevibecode/commands/speckitcompanionliving-show.md) — command · ★ 110 repo stars
- [speckit.companion.status](https://affpapa.org/en/nevibecode/commands/speckitcompanionstatus.md) — command · ★ 110 repo stars
- [constitution](https://affpapa.org/en/nevibecode/skills/constitution.md) — skill · ★ 587 repo stars

From the same set: [chat2anyllm/awesome-claude-plugins](https://affpapa.org/en/nevibecode/by/chat2anyllm/awesome-claude-plugins.md) — 9 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
