changeset
Use this skill when a Biome change may affect users and you must decide whether it needs a changeset, choose the release level, or create and edit…
Use only for reviewing completed Biome PRs, branches, commit ranges, diffs, or working trees against business logic and requirements. Excludes broad code-quality and process audits, triage, reproduction, and implementation.
$ npx -y skills add biomejs/biome --skill biome-code-review --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/biome-code-reviewContext preview
The summary Claude sees to decide when to auto-load this skill.
Use only for reviewing completed Biome PRs, branches, commit ranges, diffs, or working trees against business logic and requirements. Excludes broad code-quality and process audits, triage, reproduction, and implementation.
name: biome-code-review description: Use only for reviewing completed Biome PRs, branches, commit ranges, diffs, or working trees against business logic and requirements. Excludes broad code-quality and process audits, triage, reproduction, and implementation. compatibility: Designed for read-only review of the Biome codebase (github.com/biomejs/biome). metadata: repository: biomejs/biome mode: read-only
Review changes read-only against business requirements and applicable behavioral, architectural, and subsystem constraints.
Delegate completed reviews to a fresh subagent when available. Supply only:
To avoid bias, omit implementation details, suspected defects, priority files, prior findings, and expected review outcomes.
Review subagents must not delegate again. Without subagents, review the complete scope directly.
Treat delegated findings as candidates; the parent must [validate them](#parent-validation) before confirming or acting.
Reviewers and validating parents must preserve the worktree. Authorized implementation follows validation, outside this skill.
Shell is limited to these review commands:
git fetch origin <main|next> git status --short --branch --untracked-files=all git branch --show-current git rev-parse ... git merge-base ... git --no-pager diff --no-ext-diff --no-textconv ... git --no-pager show --no-ext-diff --no-textconv ... git --no-pager log ... git ls-files ... gh pr view <number> [--json ...] gh pr diff <number> gh issue view <number> [--json ...]
One fetch of the resolved base is allowed. If it fails, continue with the local remote-tracking branch and disclose that it may be stale. Documentation lookups are allowed only when checked-out source cannot settle an external language or API contract.
Use the supplied PR, range, diff, files, or base; exclude unrelated worktree changes.
For a PR number, read its title, body, base, and files with `gh pr view`, then read `gh pr diff`. Do not check it out.
When no explicit PR, range, diff, or file scope is supplied, review the current branch and working tree:
1. Read branch, upstream, and every untracked path with `git status --short --branch --untracked-files=all`. 2. Use the supplied base when present. Otherwise, use the tracking branch when it is `origin/main` or `origin/next`, or compare merge bases against both branches and choose the actual ancestor. Ask only when the result is genuinely ambiguous. 3. Fetch the selected base once. 4. Diff the merge base through the working tree so committed, staged, and unstaged changes are included. 5. Read every reported untracked file; untracked tests and changesets are part of the review.
Never fall back to `HEAD` as the base without saying so. That would omit committed branch changes.
Infer intent from the brief, PR/commit text, linked issue, tests, and code; explicit requirements take precedence. A steered brief still requires reviewing the entire supplied scope; disclose the steer.
Before tracing beyond the diff, record intended behavior, requirements, and applicable behavioral, architectural, and subsystem constraints with sources. Report violations or concrete avoidable costs/failures introduced, worsened, or newly exposed by the change.
Read surrounding code only to verify changed behavior and constraints; full-file reads do not expand scope. Stop tracing once the question is settled.
Apply guidance only to changed or directly affected code; preferences are not violations, and requirements must not be invented. Exclude unrelated cleanup, defects, process checks, and speculative optimization, even from optional suggestions or questions.
Use this routing table instead of loading every reference:
| In-scope question concerns | Load | | --- | --- | | Grammar, lint, parser, formatter, diagnostics, types, tests, generated files | [repository-and-subsystems.md](references/repository-and-subsystems.md) and the matching implementation skill | | `biome_service`, workspace DB, CLI/LSP execution, cancellation | [workspace-access.md](references/workspace-access.md) | | Rust production totality, failure paths, recursion, syntax text, ranges, allocation, or API shape | [rust-safety-and-syntax.md](references/rust-safety-and-syntax.md) | | Documentation describing required behavior or affected contracts | [documentation-and-process.md](references/documentation-and-process.md) |
Perform two passes:
1. **Behavior:** trace requirements, control and data flow, and relevant ownership and execution contracts. 2. **Implementation:** inspect every human-written changed line and relevant test against those requirements and affected behavior.
Try to falsify claimed requirements such as zero-copy, unchanged behavior, faster execution, or no new dependencies. Rate counterexamples by impact.
Check required paths, callers, variants, and failure behavior before supporting artifacts. Behavioral failures require rea
A toolchain for web projects, aimed to provide functionalities to maintain them. Biome offers formatter and linter, usable via CLI and LSP.
Repo: biomejs/biome
Use this skill when a Biome change may affect users and you must decide whether it needs a changeset, choose the release level, or create and edit…
Use this skill when designing or implementing Biome user-facing diagnostic presentation or APIs, including messages, advice, markup, details, code frames,…
Use this skill whenever writing or editing Rust `//`, `///`, or `//!` comments in Biome, including comments added incidentally and end-user rustdoc inside…
Use this skill when `biome migrate eslint` must preserve configurable ESLint rule options through source-option models, Biome conversions, typed rule variants,…
Use this skill whenever implementing or debugging Biome formatter behavior, IR composition, node rules, layout selection, source-comment handling, verbatim…
Use this skill when creating or modifying Biome lint rules or assists, including analyzer queries, semantic bindings, rule state, code actions, fix safety,…