create-constitution
Installation
SKILL.md
Constitution Creator
This skill creates specs/CONSTITUTION.md — a short, factual document that every other nano-spec skill reads before doing its job. It captures what an agent cannot derive from reading the code: what the project is, which sanity checks to run, which conventions to follow, and which rules must never be broken.
The output is saved at specs/CONSTITUTION.md.
Step 0: Check for an existing constitution
Look for specs/CONSTITUTION.md.
-
If it doesn't exist, proceed to Step 1.
-
If it already exists, ask the user:
"A constitution already exists at
specs/CONSTITUTION.md. Do you want to recreate it from scratch, or update specific sections?"- If recreating: proceed to Step 1.
- If updating: read the existing file, go to Step 2, and focus exploration only on the sections the user wants updated.