From spec-kit
Create or update the project constitution with core principles, governance rules, and version tracking. Use when the user wants to define project principles, says "create constitution", "update principles", "set project values", or needs to establish the foundational governance for their SDD project.
How this skill is triggered — by the user, by Claude, or both
Slash command
/spec-kit:constitutionThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are creating or updating the project's constitution — the foundational principles that govern all specifications, plans, and implementations. The constitution is the "DNA" of the project.
You are creating or updating the project's constitution — the foundational principles that govern all specifications, plans, and implementations. The constitution is the "DNA" of the project.
Upstream source: github/spec-kit
.speckit/ directory must exist. If not, instruct the user to run /spec-kit:init first..speckit/constitution.md[ALL_CAPS_IDENTIFIER]Collect or infer values for all placeholders:
Ratified is the original adoption date (if unknown, ask or use today), Last Amended is today if changes are made, otherwise keep previousFor each principle, collect:
Apply semantic versioning to the constitution:
For a new constitution, set version to 1.0.0. For updates, determine the appropriate bump.
Write the completed .speckit/constitution.md:
# [PROJECT_NAME] Constitution
## Core Principles
### I. [Principle 1 Name]
[Declarative description of the principle — what MUST always be true, key rules, rationale]
### II. [Principle 2 Name]
[Declarative description of the principle]
### III. [Principle 3 Name]
[Declarative description of the principle]
### IV. [Principle 4 Name]
[Declarative description of the principle]
### V. [Principle 5 Name]
[Declarative description of the principle]
## [Additional Section if needed, e.g., Development Workflow, Security Requirements]
[Section content]
## Governance
[Governance rules: how decisions are made, how constitution is amended, versioning policy, compliance review expectations]
**Version**: [VERSION] | **Ratified**: [DATE] | **Last Amended**: [DATE]
After updating the constitution, check consistency with dependent templates:
.speckit/plan-template.md — ensure "Constitution Check" section aligns with updated principles.speckit/spec-template.md — check if any mandatory sections need updating.speckit/tasks-template.md — ensure task categorization reflects principle-driven requirementsIf updating an existing constitution, output a summary:
Constitution Update Summary:
Version: [OLD] → [NEW] ([BUMP TYPE])
Rationale: [Why this version bump was chosen]
Modified Principles: [list if any]
Added Sections: [list if any]
Removed Sections: [list if any]
Templates Requiring Review:
[✅ Updated / ⚠ Check manually]: .speckit/plan-template.md
[✅ Updated / ⚠ Check manually]: .speckit/spec-template.md
Suggested commit: "docs(constitution): amend to v[VERSION] - [brief description]"
Constitution [created/updated]: [PROJECT_NAME]
Version: [VERSION]
Principles:
I. [Name] — [One-line summary]
II. [Name] — [One-line summary]
III. [Name] — [One-line summary]
IV. [Name] — [One-line summary]
V. [Name] — [One-line summary]
Next step: Run /spec-kit:specify to create your first feature specification.
[...] should remain in the final outputTODO(<FIELD_NAME>): explanation and document in the sync reportProvides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
npx claudepluginhub chenxizhang/agent-skills-and-plugins --plugin spec-kit