Clanker Discipline
Description
An agent skill designed to discipline coding agents against state explosion, grab-bag models, and mutation ambiguity.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
clanker-discipline
Discipline AI coding agents against state explosion, grab-bag models, and mutation ambiguity.
Install
npx skills add gbasin/clanker-discipline --all -g
What it does
AI coding agents overproduce state — every bug gets one more flag, every feature one more optional field. This skill teaches agents to:
- Derive, don't store — if it can be computed from existing data, don't cache it in a flag
- Make wrong states impossible — discriminated unions over optional bags, null over sentinels, branded primitives
- Enforce function contracts — pure functions stay pure; mutate+void or clone+return, never both
- Data over procedure — if every branch returns the same shape, it's a table, not an if-chain
Credits
Combines ideas from [theswerd/aicode](https://github.com/theswerd/aicode) ([self-documenting code](https://github.com/theswerd/aicode/blob/main/skills/self-documenting-code/SKILL.md)) and [Tommy D. Rossi's event sourcing post](https://x.com/__morse/status/2032107422525907273) on combating agent state explosion.
Related Skills
Auto Update
Pull the latest ECC repo changes and reinstall the current managed targets.
Development Ecc Guide
Navigate ECC's current agents, skills, commands, hooks, install profiles, and docs from the live repository su
Development Epic Claim
Claim an epic issue, stamp coordination state, and sync local ownership.
Development Epic Publish
Publish a validated epic update back to the issue and local cache.
Development Epic Review
Mark epic review requested, approved, or changes requested.
Development Epic Unblock
Sweep blocked epic issues and reopen anything whose dependencies are closed.
Development Related Agents
Django Build Resolver
Django/Python build, migration, and dependency error resolution specialist. Fixes pip/Poetry errors, migration
Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11