Complete Biome toolchain guidance for real repository workflows. Use when users ask to configure biome.json, run lint or format commands, migrate from ESLint or Prettier, tune rule severity, fix formatter drift, or replace mixed ESLint+Prettier pipelines with Biome-only workflows.
71
89%
Does it follow best practices?
Impact
—
No eval scenarios have been run
Passed
No known issues
Use this skill when the request includes:
Do not use this skill when the user asks for ESLint-only or Prettier-only solutions.
references/.bunx @biomejs/biome init.bunx @biomejs/biome check ..
bunx @biomejs/biome check . --write.
biome check . and confirm reduced error count. If errors persist, review unsupported rules or migration conflicts in references/migration-eslint-prettier.md.bunx @biomejs/biome check . --error-on-warnings.
Error Recovery: If biome check fails after migration, isolate conflicting rules by temporarily disabling rule groups in biome.json linter section, then re-enable one group at a time to identify the source.
bunx @biomejs/biome initExpected result: biome.json exists.
bunx @biomejs/biome check .Expected result: diagnostics printed with file paths.
bunx @biomejs/biome check . --writeExpected result: fixable issues are rewritten.
bunx @biomejs/biome format . --writeExpected result: formatting is normalized.
bunx @biomejs/biome check src/index.tsExpected result: file-level diagnostics only.
bunx @biomejs/biome check . --error-on-warningsExpected result: non-zero exit when warnings or errors exist.
WHY: Competing rules create contradictory output and noisy reviews.
BAD: ESLint and Biome both lint src/**/*.ts.
GOOD: Route TS linting and formatting through Biome only.
Consequence: Duplicate diagnostics and unstable CI outcomes.
WHY: Different formatting models cause churn in every commit.
BAD: prettier --write . and biome format . --write in the same pipeline.
GOOD: Keep only biome format . --write for supported files.
Consequence: Constant formatting diffs and merge friction.
biome.json customization after initWHY: Defaults may not match repository conventions.
BAD: Commit default config without reviewing formatter/linter settings. GOOD: Define formatter width, linter domains, and VCS ignores explicitly.
Consequence: Inconsistent style and avoidable lint regressions.
WHY: Broad suppressions hide real defects and debt.
BAD: Disable full rule groups without rationale. GOOD: Add narrow suppressions with a reason and follow-up ticket.
Consequence: Quality silently degrades over time.