ever-better

English | 日本語
Make an existing codebase one that can only get better.
It reports what quality tooling a repository is missing, installs it, and records every violation
that exists today as a ceiling. From that commit on, old code is grandfathered and new code is held
to the whole rule set — and the ceiling can fall but never rise.
How to use it: hand a repository to Claude Code
This is the primary interface. Install the plugin once, from any Claude Code session:
/plugin marketplace add isamu/ever-better
/plugin install ever-better
Then cd into the repository you want improved, start Claude Code there, and say:
run ever-better on this repo
That is the whole setup. The target repository needs nothing prepared in advance, and you do not
have to install the CLI — the skills reach it through npx.
What that one sentence does
It diagnoses, installs what is missing, formats, freezes the baseline, then works the backlog down
one rule per pull request — fixing violations, extracting the pure functions that make the fixes
testable, writing the tests, and lowering the ceiling as it goes.
It decides everything it can from the code. It opens a GitHub issue and moves on for the few
things that are genuinely not its call: behaviour that is ambiguous (should this throw, retry or
log?), a public API change, a refactor big enough to be its own project, or a rule that may simply
be wrong for this repo. Each issue names the options and which one it would pick.
What arrives, in order: a formatting PR, a tooling PR, a freeze PR, then one PR per rule. On an
untouched repository that is more than a handful — worth knowing before you start it.
Asking for less than the whole thing
The sentence above starts the unattended run. Ask for something narrower and it routes to the skill
that covers it — you never name a skill yourself:
| What you say | What runs |
|---|
| "run ever-better on this repo", "clean this repo up" | the whole process, unattended — ever-better-run |
| "what would ever-better do here", "where do I start with this codebase" | diagnose and route one phase at a time — ever-better |
| "set up the conventions", "CLAUDE.md を整えて" | ever-better-prepare |
| "migrate this to TypeScript", "ts化して" | ever-better-migrate |
| "set up linting here", "lint を入れて" | ever-better-bootstrap |
| "freeze the baseline", "grandfather the existing violations" | ever-better-freeze |
| "drain the backlog", "リファクタリングして" | ever-better-drain |
| "remove the duplication", "dead code を消して" | ever-better-dry |
Reading this README to an agent is not the same thing
Pointing Claude Code at this page gives it the commands, not the process — which violation is a
real bug, what deserves an issue rather than a fix, when to stop and ask, what belongs in the work
log. That part is the skills, and the skills arrive with the plugin.
Why this exists
Adding a strict linter to an old repository produces four thousand errors and gets reverted. The
usual workaround — set everything to warn — means nothing is enforced and the count quietly
grows.
ESLint solved this in core with bulk suppressions: --suppress-all records how many violations
each rule has in each file, stays silent about exactly those, and reports anything beyond them as
an error. Every rule can be an error from day one without a single existing line changing.
ever-better is the part around that: knowing which rules to add in the first place, installing
them, keeping a readable ledger of where you started, and failing CI when a number goes up.
It is also the only exemption the generated config allows. eslint-disable comments are
switched off (noInlineConfig), along with @ts-ignore, @ts-nocheck, as, ! and any — not
out of severity, but because a disable comment removes the violation from the linter and from
eslint-suppressions.json. Nothing counts it, status and report cannot see it, and prune can
never reclaim it: a permanent exemption in a tool whose one promise is that the ceiling can fall but
never rise. Grandfathering something means freezing it, where it becomes a number obliged to come
down.
It does not reimplement the ratchet. It is not a linter. It runs your ESLint, with your config.
Driving the CLI yourself
The skills above call this CLI, and it works on its own if you would rather drive.