🛠️ 開発・MCP コミュニティ
spec-kit-constitution
Use when creating or amending a Spec Kit project constitution, especially when `memory/constitution.md` is missing, contains `[PLACEHOLDER]` tokens, or principle changes must be propagated to planning/spec/task templates.
⚡ おすすめ: コマンド1行でインストール(60秒)
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o spec-kit-constitution.zip https://jpskill.com/download/10648.zip && unzip -o spec-kit-constitution.zip && rm spec-kit-constitution.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/10648.zip -OutFile "$d\spec-kit-constitution.zip"; Expand-Archive "$d\spec-kit-constitution.zip" -DestinationPath $d -Force; ri "$d\spec-kit-constitution.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
spec-kit-constitution.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
spec-kit-constitutionフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 1
📖 Claude が読む原文 SKILL.md(中身を展開)
この本文は AI(Claude)が読むための原文(英語または中国語)です。日本語訳は順次追加中。
Spec Kit Constitution
Create or amend the project constitution and keep dependent templates aligned.
When to Use
- User asks to create the first constitution for a Spec Kit project.
- User asks to amend governance/principles and update constitution versioning.
memory/constitution.mdis missing or still contains[PLACEHOLDER]tokens.- Principle changes must be propagated into planning/spec/task templates.
Router Fit
- Primary route from
spec-kitwhen intent is governance/principles. - Run before feature planning when constitutional rules changed.
- Downstream dependency:
spec-kit-planconstitution checks rely on this output.
Preconditions
- Work from the target project repository root.
- Treat
memory/constitution.mdas the source of truth once created.
Workflow
- Resolve constitution file:
- Target:
{REPO_ROOT}/memory/constitution.md. - If missing, initialize from
{REPO_ROOT}/templates/constitution-template.mdwhen present; otherwise useassets/constitution-template.md.
- Target:
- Capture baseline state from existing constitution (if present):
- Current version.
- Ratified and last amended dates.
- Principle/section titles for diff reporting.
- Any unresolved
[PLACEHOLDER]tokens.
- Fill required values from user input first, then repository context.
- If critical data is unknown, use
TODO(<FIELD_NAME>): <reason>.
- If critical data is unknown, use
- Decide semantic version bump and dates:
MAJOR: backward-incompatible governance/principle redefinition or removal.MINOR: new principle/section or materially expanded policy.PATCH: clarifications, wording, typo, non-semantic refinements.RATIFICATION_DATE: keep original adoption date.LAST_AMENDED_DATE: set to today (YYYY-MM-DD) only when content changes.
- Draft the constitution:
- Replace placeholders with concrete policy text.
- Keep heading hierarchy from the template.
- Make principles declarative and testable (
MUST/SHOULDwith rationale). - Keep Governance explicit about amendment process, versioning policy, and compliance review.
- Propagate policy changes to dependent templates in the target repo when present:
templates/plan-template.mdtemplates/spec-template.mdtemplates/tasks-template.mdUpdate constitutional checks, required sections, and task expectations to match revised principles.
- Prepend a Sync Impact Report HTML comment to
memory/constitution.mdcontaining:- Version change (
old -> new). - Modified principles (including renames).
- Added/removed sections.
- Template sync status (
updatedvspending) with file paths. - Deferred TODO items.
- Version change (
- Validate before finalizing:
- No unexplained bracket placeholders remain.
- Version/date line matches report and uses
YYYY-MM-DDformat. - File path is
memory/constitution.md(not/memory/constitution.md).
- Write
memory/constitution.mdand report results to the user.
Output
- Updated
memory/constitution.md. - Updated template files when present and required.
- Summary including version bump rationale, pending follow-ups, and a suggested commit message.
Common Mistakes
- Updating principles without updating dependent templates.
- Using a patch bump for material policy changes that require a minor/major bump.
- Leaving unresolved placeholders without explicit TODO annotations.
- Writing to
/memory/constitution.mdinstead ofmemory/constitution.md.
References
references/spec-kit-workflow.dotfor where constitution work fits in the Spec Kit sequence.assets/constitution-template.mdassets/spec-template.mdassets/plan-template.mdassets/tasks-template.mdhttps://github.com/github/spec-kit/blob/9111699cd27879e3e6301651a03e502ecb6dd65d/templates/commands/constitution.md