Constitute
Skill2 starsChanged 5 months agoApache-2.0View on GitHub
Create or amend the constitution — the project's supreme, enforceable law. Everything built afterward must comply.
In this repository22 other files it gives its agents.
- A1 — Design & Master-Spec ConsistencySkill
- A2 — Spec ReviewSkill
- A3 — PolishSkill
- A4 — North Star DirectionSkill
- A5 — Web AuditSkill
- AcceptSkill
- AmendSkill
- BrainstormSkill
- ClarifySkill
- ClosureSkill
- DesignSkill
- DiscoverSkill
- FeatureSkill
- Final — The F-PassSkill
- HelpSkill
- ImplementSkill
- InitSkill
- MicroSkill
- North StarSkill
- ResumeSkill
- SpecifySkill
- StatusSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Create the constitution: the project's mission, technology/tools, architecture and organizational principles, standards, testing and …
- Very specific: line 22
--reviewmode: read the existing constitution + all approved specs + ADRs and produce a drift report — sections that conflict with specs, … - Distinctive: line 31
Brownfield: add a Legacy Handling section — for each area not meeting the constitution, mark Immediate refactor / Progressive migration …
- Very specific: line 42
Run /genesis-design overview, then begin your first feature with /genesis-brainstorm.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Constitute — Write the Supreme Law
Create the constitution: the project's mission, technology/tools, architecture and organizational principles, standards, testing and quality philosophy, quality gates, security, performance, documentation, and version-control strategy. Everything built afterward must comply. The constitution is supreme — no spec, skill, or instruction may contradict it.
Runs immediately after discovery. Hard gate: refuses if .genesis/discovery/context.md is missing ("Run /genesis-discover first").
Inputs
.genesis/discovery/context.md(required).genesis/project-state.md.genesis/templates/constitution-template.md- (
--review) all.genesis/features/*/spec.mdand.genesis/design/decisions/*(ADRs)
Process
--reviewmode: read the existing constitution + all approved specs + ADRs and produce a drift report — sections that conflict with specs, shifted tech choices, abandoned patterns, suggested amendments. Then stop.- Otherwise, read discovery and draft from the template.
- Populate the sections: Project Mission · Technology Stack (explicit, versioned — this is law) · Architecture Principles · Code Standards · Testing Philosophy · Quality Gates · Security & Compliance · Performance Expectations · Documentation Requirements · Version Control Strategy · Amendment Process.
- Quality Gates are load-bearing for the rest of the kit: name the exact
build/test/lintcommands the project uses (e.g.npm test,cargo test,pytest)./genesis-acceptruns these and records the results. - Present for review; iterate until the user explicitly approves.
- Log key decisions into the
project-state.mdKey Decisions table. Optionally offer to generate git hooks (commit-msg, pre-commit) and a CI workflow derived from the gates.
Mode additions
- Brownfield: add a Legacy Handling section — for each area not meeting the constitution, mark Immediate refactor / Progressive migration (with deadline) / Grandfather clause (optional sunset).
- Lowfield: reframe the code sections — Technology Stack → Tools & Formats · Architecture → Organizational Principles · Code Standards → Content Standards (voice, tone, style, terminology) · Testing → Quality Standards · Quality Gates → Completion Criteria.
Output
.genesis/constitution/index.md— the supreme law. Every technology/tool choice traces to discovery; principles are specific enough to enforce; the Amendment Process is always included.- Updated
project-state.md(phase = "Constitution established"; key decisions logged). - Optional:
.genesis/hooks/commit-msg,.genesis/hooks/pre-commit, a CI workflow.
Next step
Run /genesis-design overview, then begin your first feature with /genesis-brainstorm.
Natural language triggers
- "constitute"
- "write the constitution"
- "define the rules"
- "set project law"Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

