Biome is an AI agent skill from the GitHub repository managedcode/dotnet-skills. Use Biome in .NET repositories that ship Node-based frontend assets and want a fast combined formatter-linter-import organizer for JavaScript, TypeScript, CSS, JSON, GraphQL, or HTML. USE FOR: biome.json or @biomejs/biome setup; fast frontend formatting and linting; replacing overlapping frontend st
Claude Code: save it as .claude/skills/biome/SKILL.md
Cursor: save it as .cursor/rules/biome.md
Codex: save it as .agents/skills/biome/SKILL.md
ChatGPT, Gemini and other assistants: paste it into custom or project instructions
Skill file
Biome for Frontend Assets in .NET Repositories
Trigger On
the repo has biome.json, @biomejs/biome, or the user asks for a faster all-in-one frontend formatter-linter stack
the repo wants one tool for formatting, linting, and import organization across JS, TS, CSS, JSON, GraphQL, or HTML
the team is comparing Biome against ESLint plus Prettier or wants to simplify the current stack
Do Not Use For
repos that rely on ESLint plugins or framework-specific rules Biome does not cover yet
runtime site audits such as headers, accessibility, and SEO; route that to webhint
cases where a dedicated CSS or HTML tool is still the deliberate owner and no migration is requested
Inputs
the nearest AGENTS.md
package.json
biome.json or biome.jsonc
current ownership across ESLint, Prettier, Stylelint, and import ordering
Workflow
Decide ownership first:
Biome as the main formatter and linter
Biome only for formatting
Biome in coexistence with ESLint for plugin gaps
Prefer a repo-local pinned install so CI and developer machines use the same version.
Generate biome.json only after confirming what the repo wants Biome to own.
Add repeatable scripts to package.json, for example:
biome check .
biome check . --write
Keep file ownership explicit:
Biome can own formatting, linting, and import sorting
webhint still owns site-runtime audits
ESLint may stay for plugin-heavy cases the repo intentionally keeps
Start migrations with check and bounded folders before flipping the whole repo to --write.
Re-run the frontend build and tests after broad formatting or lint-fix passes.
Current Upstream Notes
Biome CLI CODE0 fixes Astro expression parsing, nested JSX attribute sorting, Unicode stdin/stdout corruption, and repeated dependency scanning. Validate representative Astro/TSX files, Unicode input, and formatter idempotence before dropping workarounds.
noFloatingPromises now handles cyclic imports and awaited Promise aliases more accurately; awaiting an array of Promises still leaves its elements unhandled. Use Promise.all or an explicit awaited loop when appropriate. New Nursery rules remain opt-in, including useFlatMathMinMax, useModernMathApis, noThisOutsideOfClass, noVueDeprecatedScopedSlots, and noBunModules.
Biome CLI 2.5.11 includes the 2.5.8-2.5.10 rule and parser additions and adds Nursery rules for unsafe Astro set:html and undeclared CSS custom properties. Enable Nursery rules explicitly; do not treat a version update as permission to change the repository's lint policy.
The release fixes Astro shorthand anchors, implicit fragments, void elements, and full HTML handling through --stdin-file-path; Vue template/CSS binding false positives; GraphQL naming trivia; and several type-inference performance paths. Re-run the repository's existing biome check and formatter-idempotence tests before removing suppressions or accepting churn.
When --stdin-file-path is used, verify that the intended nested biome.json is selected and that ignored input produces the expected warning. Keep fixtures for Vue custom blocks, Svelte attachments, Tailwind class sorting, and non-ASCII diagnostic spans when those surfaces matter.
Recent Biome changes also continue expanding CSS/SCSS, HTML accessibility, import sorting, watch mode, and upgrade-command surfaces; verify actual CLI ownership before replacing ESLint or Stylelint.
verification: commands, checks, or review evidence
remaining: unresolved items or none
Example Requests
"Replace Prettier and basic linting with Biome in this repo."
"Add Biome to the frontend under ClientApp."
"Explain whether we should keep ESLint after adding Biome."
Use this skill with your AI agent:Open on Skill Issue to copy, download, or add to your library.
Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.