A framework for atomic improvement loops in complex repos.
Big products rot when improvement is monolithic: everything depends on
everything, evals can't be trusted, and "what should we work on next?" is a
meeting instead of a query. atomic turns a complex repo into a system that
improves itself:
- Lanes ordered by the user journey (upstream quality gates everything downstream)
- Atomic units with explicit file-path seams, so agents improve pieces in isolation and merge without collisions
- Readiness rubrics per lane — deterministic, data-measurable criteria scored
by producers that are structurally unable to lie (
producer: unbuiltis an honest red, never a fabricated green) - A hard-eval harness — RED-first atoms, isolated sandboxes, an append-only runs ledger, flow-level stories, and independent re-verification
- A drive loop — score → rank gaps → emit dispatch-ready atom briefs any agent can execute → re-score and show the Δ
It is an Agent Skill: a procedure the agent follows, plus reference files and templates it reads on demand. It ships no runtime — your project keeps its own tiny scorer; the skill supplies the method, schemas, and integrity rules.
git clone https://github.com/aneym/atomic ~/.claude/skills/atomicThen in any project: invoke /atomic (or just describe the goal — "break this
into atomic improvement lanes with hard evals" auto-invokes it).
| Mode | When | What happens |
|---|---|---|
| Bootstrap | first run on a project | decompose → rubrics + producers → harness conventions |
| Drive | every run after | score lanes → regression tripwire → ranked gap queue → atom briefs → Δ |
- Builders never self-certify — a different executor re-runs every proof.
- Producers read real substrate only; honesty states are explicit (green / red / unbuilt / infra-skip).
- Measurement corrects itself via versioned category corrections — never by thinning thresholds.
- Judgment labels come from the highest-judgment agent; machinery is delegable.
- One owner per seam; parallel waves are seam-disjoint by construction.
SKILL.md the procedure (modes, checklists, non-negotiables)
reference/decompose.md lanes, units, seams, join tables
reference/rubrics.md criteria authoring, producer honesty, maturity ladder
reference/harness.md RED-first atoms, runs ledger, sandboxes, re-verification
reference/drive.md ranking, atom briefs, merge train, loop feedback
templates/ rubric / units / atom-brief starting points
The method was distilled from a production system run entirely on this loop —
readiness map, runs ledgers, a neutral re-verifier, and a fleet of parallel
lane agents merging dozens of audited PRs a night. This repo also runs the
method on itself: see .atomic/ for its own units map and gap queue, and
CONTRIBUTING.md for the PR contract (agents welcome).
Update an install: git -C ~/.claude/skills/atomic pull
MIT.