Biome
Skill ComeOnOliver/skillshub/skills/TerminalSkills/skills/biome
π§ The right skill, one API call. AI agent skills registry with token-efficient skill resolution. 5,000+ skills from 500+ top repos.From the repository description
npx -y skills add ComeOnOliver/skillshub --skill biomeAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
3.0 KB, 829 tokens by cl100k_base, as published. Nobody here has run it
Biome β Fast Linter and Formatter (ESLint + Prettier Replacement)
You are an expert in Biome, the Rust-based toolchain that replaces ESLint and Prettier with a single, fast tool. You help developers configure linting, formatting, and import sorting for JavaScript, TypeScript, JSX, JSON, and CSS β achieving 100x faster execution than ESLint+Prettier with zero configuration, unified diagnostics, and IDE integration.
Core Capabilities
Configuration
// biome.json
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"organizeImports": { "enabled": true },
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"complexity": {
"noForEach": "warn",
"useSimplifiedLogicExpression": "warn"
},
"correctness": {
"noUnusedVariables": "error",
"noUnusedImports": "error",
"useExhaustiveDependencies": "warn"
},
"suspicious": {
"noExplicitAny": "warn",
"noConsoleLog": "warn"
},
"style": {
"noNonNullAssertion": "warn",
"useConst": "error"
},
"nursery": {
"useSortedClasses": "warn"
}
}
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 100,
"lineEnding": "lf"
},
"javascript": {
"formatter": {
"quoteStyle": "double",
"semicolons": "always",
"trailingCommas": "all",
"arrowParentheses": "always"
}
},
"files": {
"ignore": ["node_modules", "dist", ".next", "*.gen.ts"]
}
}
Usage
# Format
biome format --write .
# Lint
biome lint .
# Both + import sorting
biome check --write .
# CI (check without writing)
biome ci .
# Migrate from ESLint/Prettier
biome migrate eslint --write
biome migrate prettier --write
IDE Integration
// .vscode/settings.json
{
"editor.defaultFormatter": "biomejs.biome",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"quickfix.biome": "explicit",
"source.organizeImports.biome": "explicit"
}
}
Installation
npm install -D @biomejs/biome
npx @biomejs/biome init # Generate biome.json
Best Practices
- Replace ESLint+Prettier β Biome does both linting and formatting; remove separate configs, one tool
biome check --writeβ Format + lint + organize imports in one command; use in pre-commit hooksbiome ciβ Use in CI pipelines; exits non-zero on any issue without modifying files- Migrate command β Use
biome migrate eslintto convert existing ESLint config; smooth transition - Performance β Biome processes 1000+ files in <100ms (vs ESLint: 10-30 seconds); instant feedback
- Import sorting β Enable
organizeImports; groups React, third-party, local imports automatically - Nursery rules β Enable experimental rules for Tailwind class sorting (
useSortedClasses) - Git hooks β Use with
lint-stagedorhusky;biome check --write --stagedfor pre-commit
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.