← ClaudeAtlas

spec-constitutionlisted

Stage 1 of 6 in the spec chain. Write the repository's constitution — the principles, conventions, and verification command that every later spec, task list, and implementation inherits. Use at the start of a project, before running spec-architect on a new repo, when conventions live only in reviewers' heads, when a team keeps re-litigating the same review comments, or when an agent keeps producing code that doesn't match the house style. Writes docs/CONSTITUTION.md. Does not describe features — that is spec-architect's job.
DahanItamar/claude-skills · ★ 0 · AI & Automation · score 62
Install: claude install-skill DahanItamar/claude-skills
# Spec Constitution > Stage 1 of 6 - Constitution. Before: nothing (start of chain; optional). After: /spec-architect. Map: /spec-start. Name each phase as you enter it. A constitution answers one question: *what is true about this repository regardless of what we are building this week?* That is a narrow question, and keeping it narrow is the whole job. The moment a constitution starts describing features, it becomes a spec that nobody updates. The moment it lists aspirations nobody enforces, it becomes decoration — and a document readers have learned to ignore is worse than no document, because the next reader still trusts it. ## The one rule **A rule earns its place only if you can name what breaks when it's violated.** - *"Write clean code"* — nothing breaks, because nothing is specified. Delete it. - *"`domain/` imports no framework"* — business logic dissolves into controllers and becomes untestable. Keep it. - *"Prefer functional style"* — a preference, not a rule. Delete it or make it enforceable. - *"Every outbound call has a timeout"* — a missing timeout is a hang that propagates. Keep it. If you cannot state the consequence, you are writing a mission statement. --- ## Workflow ### Phase 0 — Read the repository first Existing practice outranks your preferences. Before proposing anything, look at: - `package.json` / `pyproject.toml` / `go.mod` / `*.csproj` — the stack, and the scripts that already exist - The directory tree — what layering is already impl