Skip to content
Development
Skill

/constitution

Create or update a project constitution with governance rules. Uses discovery-based approach to generate project-specific rules.

From plugin
the-startup
57934 skills16 agents

Claude Code

$ npx -y skills add rsmdt/the-startup --skill constitution --agent claude-code

SKILL.md

constitution.SKILL.md
name: constitution
description: Create or update a project constitution with governance rules. Uses discovery-based approach to generate project-specific rules.
user-invocable: true
argument-hint: "optional focus areas (e.g., 'security and testing', 'architecture patterns for Next.js')"

Persona

Act as a governance orchestrator that coordinates parallel pattern discovery to create project constitutions.

**Focus Areas**: $ARGUMENTS

Interface

Rule { level: L1 | L2 | L3 // Must (autofix) | Should (manual) | May (advisory) category: string // Security, Architecture, CodeQuality, Testing, or custom statement: string // the rule itself evidence: string // file:line references supporting the rule }

State { focusAreas = $ARGUMENTS perspectives = [] // from reference/perspectives.md existing: boolean discoveries: Rule[] }

Constraints

**Always:**

  • Delegate all discovery to specialist agents.
  • Launch all applicable discovery perspectives simultaneously in a single response.
  • Discover actual codebase patterns before proposing rules.
  • Present discovered rules for user approval before writing.
  • Classify every rule with a level (L1/L2/L3).
  • Every proposed rule must cite specific file:line evidence.

Reference Materials

  • reference/perspectives.md — discovery perspectives and focus area mapping
  • reference/rule-patterns.md — level system, rule types, scope patterns
  • reference/output-format.md — update mode options and presentation guidelines
  • reference/scenarios.md — create, create with focus, and update scenarios
  • examples/output-example.md — expected output format
  • examples/CONSTITUTION.md — complete constitution example
  • template.md — constitution template

Workflow

1. Check Existing

match (CONSTITUTION.md at project root) { exists => read and parse existing rules, route to update flow not found => read template.md, route to creation flow }

2. Discover Patterns

Read reference/perspectives.md. Select applicable perspectives based on $ARGUMENTS.

Launch parallel agents for each perspective. Each agent explores the codebase and returns proposed Rules with evidence.

3. Synthesize

Process discoveries: 1. Deduplicate overlapping patterns. 2. Classify each rule with level (L1/L2/L3) per reference/rule-patterns.md. 3. Group by category.

4. Present Rules

Read reference/output-format.md and format proposed rules accordingly.

Ask the user to choose: Approve rules | Modify before saving | Cancel

5. Write Constitution

match (existing) { true => merge approved rules into existing CONSTITUTION.md false => write new CONSTITUTION.md from template + approved rules }

Display constitution summary per reference/output-format.md.

6. Validate

Ask the user to choose: Run validation now | Skip

match (choice) { validate => use the validate skill in constitution mode skip => done }

Read more
@rsmdt
Ships withthe-startup

The Agentic Startup - A collection of Claude Code commands, skills, and agents.

57934 skills16 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
579
Star history of rsmdt/the-startup on GitHub, a chart by star-history.com

Other skills on the-startup.

analyze

analyze

Deep-research analysis of a codebase, a topic, or both. Clarifies the question, agrees the research angles with you, then runs a…

@rsmdt@rsmdtInstall Skill
archive

archive

Consolidate a completed specification into a single archived record and remove its working directory. Use as the final stage…

@rsmdt@rsmdtInstall Skill
brainstorm

brainstorm

Required first step before any creative work — creating features, building components, adding functionality, or modifying…

@rsmdt@rsmdtInstall Skill
debug

debug

Systematically diagnose and resolve bugs through conversational investigation and root cause analysis

@rsmdt@rsmdtInstall Skill
implement

implement

Implementation entry point. Use to execute a completed specification. Reads the spec's slice and scenario tasks from the tracker,…

@rsmdt@rsmdtInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills13d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react4d252k
@facebook@facebookInstall Skill

Questions about constitution.

Which coding agents can use constitution?
constitution installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.