/ever-better:ever-better-bootstrapfrom ever-better
Installs missing quality tooling (ESLint flat config, formatter, test runner, CI workflow) and reviews generated config before enforcement. Use after `ever-better diagnose` or when setting up linting.
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.
Close the bootstrap gaps: ESLint (flat config), a formatter, a test runner, the package scripts
CI needs, and a CI workflow. Nothing is enforced at the end of this skill — that is freeze.
Run npx ever-better diagnose and read it. If the working tree is dirty, stop and say so: this
skill generates files and installs packages, and separating that from the user's own work after
the fact is not worth the argument.
npx ever-better bootstrap --dry-run
Read the list back to the user with what each item means for them. Two decisions actually need a human, and both are easy to miss:
diagnose reported how many files
already exceed it. If that number is large, the backlog is real refactoring work — worth
agreeing on now rather than discovering at freeze time..js, say plainly that migrating
unlocks the valuable half, and ask whether to do that first. Do not migrate silently.The framework is detected, not asked about, so check the framework line in diagnose matches
what the repo actually is before applying. Vue and Nuxt get eslint-plugin-vue and a vue-tsc
typecheck script; React gets eslint-plugin-react-hooks; Next adds the Next plugin on top. If it
reports svelte or astro, those file types are not configured yet — say so, because
freezing then records a baseline that ignores them.
npx ever-better bootstrap
Idempotent, and it never overwrites a config the repo already had — someone's existing
eslint.config.js holds exceptions whose reasons are not in the file.
bootstrap installs what is missing at current versions; it does not touch what is already there.
So a repo on ESLint 8, TypeScript 4 and an old Prettier is still about to be measured by them:
<pm> outdated
Take the linter, the formatter, the type checker, the test runner and the build tool to current —
majors included — in their own commit, before the format run and before anything is frozen. The
devDependencies and resolutions blocks are the whole scope here.
The reason it is this early: the ceiling records violations of the rule set you own at freeze
time. Freeze on the old ESLint and the upgrade afterwards pins suppressions for rules that no longer
exist, hides the ones that arrived, and re-runs the whole drain. A newer TypeScript also infers more,
so part of today's no-unsafe-* backlog evaporates rather than being fixed by hand. And Prettier's
output changes between majors — upgrading after the format commit means formatting the repo twice.
This is also the safe half of the upgrade work: dev tooling cannot change what ships, only what it
says about what ships. Runtime dependencies are a different decision and come later — see
"Dependencies" in the ever-better entry skill.
<pm> format
Formatting rewrites nearly every file. If it lands in the same commit as anything else, that commit is unreviewable. Commit it alone, with a message that says it is mechanical.
Open eslint.config.js and read it with the user. It is theirs now. Two things to check:
max-lines-per-function at 60. Adjust before freezing — after freezing, a change to the rules
changes what the ceiling means.node_modules/.bin shims that Node
cannot spawn are each green on Linux and red only on Windows. Trimming the matrix to save minutes
does not remove those failures, it removes the only thing that reports them — and they then arrive
in someone's install rather than in a pull request.<pm> lint
Expect a large number of errors. That is the point — you are looking at the backlog for the first time. What you are checking for here is that ESLint runs: no parse errors, no "was not found by the project service", no plugin resolution failure. A parse error cannot be suppressed and will block the freeze.
npx ever-better log --kind note "eslint 8 -> 10, sonarjs + security tiers on; max-lines-per-function left at 60 for a scripts repo"
Record what you turned on and, more importantly, what you turned off and why — the ceiling frozen next is a number from exactly this rule set, and a tier missing for a reason is indistinguishable later from a tier nobody got to.
Say how many violations there are and across how many rules, then route to the
ever-better-freeze skill. Do not freeze here — freezing is a decision, and the user should
make it having seen the number.
.eslintrcMigrate to flat config first; every tier here assumes it. npx @eslint/migrate-config .eslintrc.js
gets most of the way. Treat the migration as its own PR — mixing it with new rules makes it
impossible to tell which change caused which error.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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-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-freezeever-better freezePin a repository's current lint violations as a ceiling that can only fall, and wire CI to enforce it. Use after `ever-better-bootstrap`, or when the user says "ベースラインを固定して", "freeze the baseline", "既存のエラーは許して新しいのだけ止めたい", "grandfather the existing violations". Also covers reclaiming the ceiling with prune after a fix./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