Coding Constitution — AI skill for Claude Code
A ratified constitution + harness-neutral enforcement regime for AI coding agents — hooks, a cold-startable project-state model, and the adversarial-review harness used to harden them.
How to install Coding Constitution
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open pdewost/coding-constitution and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Coding Constitution does
A ratified constitution + harness-neutral enforcement regime for AI coding agents — hooks, a cold-startable project-state model, and the adversarial-review harness used to harden them.
Alternatives in AI
- Codex — openai-codex Adversarial code review, Codex CLI integration, cross-model analysis 9.6k ★
- LongHorizon Harness — The long-horizon computer-use harness 1.3k ★
- Claudexor — Multi-harness control plane for Claude Code, Codex, Cursor, and OpenCode: quota-aware rotation across multiple 425 ★
README
Coding Constitution — an Enforcement Regime for AI Coding Agents
Governance for agentic coding that you **run**, not just write down. A ratified constitution, a harness-neutral enforcement layer, and the adversarial-review harness used to harden them — extracted clean-room from a real multi-project workspace.
    
Reviews
The constitution carries its own amendment doctrine (Art. 11): a **frontier-model generation change** convenes a review, which asks of every article only *"does this still bind correctly under current conditions?"*
| Date | Scope | Outcome |
|---|---|---|
| 2026-08-25 | All 14 articles + Preamble + Amendment I | BIND-AS-IS. Zero amendments. 188/190 lines, unchanged |
| 2026-10-27 | All 18 clauses, one ruling each | Four changes ratified (Art. 6 consented deletion, Sorting Rule wording, dated asides removed, vendor-neutral "instruction file"); two external reviews by a model of another lineage before the author applied them by hand. 190/190 lines |
The 2026-08-25 record is worth reading for the failure modes more than the verdict: an article that went missing from a ratification, a rule that bound a budget written to ignore it, tests that passed whether or not the fix was present, and a status indicator that showed green *because* things were bad. Every gap the review found was one layer below the constitution — which is the Sorting Rule working, not a gap in it.
**Enforcement-layer reviews.** The hooks that enforce the constitution are reviewed
Related Skills
Sdlc Kit
Harness-neutral AI-native SDLC framework — intent grilling, sha256 tamper-evident approval gates, fresh-contex
Building Agents
Agent = Harness(Model). A hands-on course in harness engineering: build an AI agent from five primitives, hard
Aeon Agent Harness
Self-hosted agent harness platform: durable Temporal execution, typed context/evidence, policy enforcement out
Codex Plugin
's /codex:adversarial-review command. This plugin spawns Codex reviewers with distinct critical lenses, produc
V Review Plan
Run an independent cross-model (Codex) adversarial review of a Compound V plan/manifest before dispatch, then
Agy Plugin Cc
agy-plugin-cc is a Claude Code companion for running Gemini CLI or Antigravity CLI (agy) as a cross-model task
Related Agents
Fe Patterns
Cold composition patterns reviewer. Spawned by parallel-build, receiving newly built file content inline. Chec
Acceptance Phase
Enforcement playbook for the fresh-context UAT acceptance gate: capability preflight, applicability/risk class
Efficiency Config Agent
Primary coding agent for Notaire. Executes implementation, debugging, refactoring, and review tasks with minim