/ever-better:ever-better-freezefrom ever-better
Records all current lint violations as a baseline ceiling, then wires CI to only flag new violations. Also prunes the ceiling after fixes are applied.
Ships in ever-better. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Record every violation that exists right now, so that from this commit on, only new ones fail.
eslint --suppress-all writes eslint-suppressions.json: per file, per rule, how many violations
exist today. ESLint then stays silent about exactly that many and reports anything beyond them as
an error. ever-better runs it, records the same counts in .ever-better/state.json, and renders
QUALITY.md from them.
The ledger is not a duplicate of the suppressions file. It carries the diagnosis, the phase, and the ceiling per rule in one place a human and an agent can both read.
Freezing an unformatted tree bakes formatting violations into the ceiling, and the first format
run afterwards then looks like an improvement that nobody made. Format, commit, then freeze.
npx ever-better freeze
Read the output. It says how many violations were grandfathered and across how many rules. If it
reports violations that could not be suppressed, stop — those are almost always parse errors or
a misconfigured plugin, and CI will be red from the first push. Fix the configuration, delete
eslint-suppressions.json, and freeze again.
eslint-suppressions.json ESLint's record — the ceiling itself
.ever-better/state.json the ledger
QUALITY.md the human view, rendered from the ledger
They only make sense as a set. Say in the commit message what the baseline number is — it is the number every later PR is measured against, and it belongs in the history.
CI must run npx ever-better check on every pull request. Without it the ceiling is a note, not a
ratchet. If bootstrap generated .github/workflows/ci.yml, the step is already there; otherwise
add it after the lint step.
check exits non-zero when there are unsuppressed violations, or when any recorded count rose.
Three things, and they are the whole point:
check means the diff added something — not that the repo is bad.QUALITY.md lists them
smallest-first.When someone fixes a grandfathered violation, the suppression it used is now stale. Reclaim it:
npx ever-better prune
This lowers the ceiling by exactly what was fixed, and commits alongside the fix.
freeze refuses to run a second time, on purpose. Re-freezing would pin whatever exists at
that moment, quietly legalising everything added since — which is the one thing the baseline
exists to prevent. --force exists for the genuine case of a rule being reconfigured, and should
be explained in the PR when used.
check failing is the system working. Before touching any config, find out which of these it is:
freeze --force), and it
belongs in its own PR with the reason written downprune, then freeze --force, in one commit with the rename.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub isamu/ever-better --plugin ever-better8 skills in this plugin
/ever-betterEntry point for making a repository's quality only go up. Diagnoses what tooling is missing, explains what each gap costs, and routes to the skill that closes it. Use when the user says "この repo の品質を上げたい", "lint を入れたい", "リファクタリングを始めたい", "technical debt", "where do I start with this codebase", or asks what ever-better would do here./ever-better-bootstrapever-better bootstrapInstall the quality tooling a repository is missing and review the generated config before anything is enforced. Use after `ever-better diagnose` reports gaps in the bootstrap phase, or when the user says "lint を入れて", "eslint 設定して", "set up linting and tests here", "TypeScript にしたい". Ends at the point where the baseline can be frozen — it never freezes./ever-better-drainever-better drainWork a frozen backlog down one rule at a time — fix the violations, extract the pure function that makes a fix testable, write the test, prune the ceiling, commit. Automates everything it can and opens a GitHub issue only for a refactor that genuinely needs the owner's judgment. Use after `ever-better freeze`, or when the user says "warn を減らして", "backlog を潰して", "リファクタリングして", "drain the baseline", "テストを増やして"./ever-better-dryever-better dryTurn duplication that jscpd found into shared functions, and dead code that knip found into deletions. Judges which clones are knowledge worth extracting and which are coincidence to leave alone. Use when the user says "重複を消して", "DRY にして", "コピペを共通化", "dead code を消して", or after a duplication scan reports clones. Runs after the lint backlog is drained./ever-better-migrateever-better migrateMove a JavaScript repository to TypeScript in one pass — rename everything, get it compiling, and let the lint fallout land in the ratchet instead of blocking the migration. Use when `diagnose` reports "No TypeScript", or the user says "TypeScript にしたい", "型を入れたい", "migrate this to TypeScript", "ts化して". Not for adding types to a repo that is already TypeScript — that is the drain skill's type tier./ever-better-prepareever-better prepareCheck that the agent instructions this process depends on actually exist before running it — the user's global CLAUDE.md and the repository's own. Adds only the conventions ever-better assumes, and reports which were already there. Use before `ever-better-run` on a repo for the first time, or when the user says "CLAUDE.md を整えて", "規約を追加して", "set up the conventions", or when a run produced inconsistent work across sessions.Other plugins' skills for the same job