Install Anti-Slop Oxlint Rules
dmmulroy/anti-slop
Installs, updates or migrates the vendored anti-slop Oxlint plugin in a repository, keeping local rule changes and the plugin's license and provenance files.
A skill your agent uses when working on Biome's Salsa-backed JavaScript and TypeScript inference, including type-aware lint rules, raw collection or inferred representations, analyzer requests…
$ npx skills add biomejs/biome --skill type-inference -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install biomejs/biome type-inference --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/biomejs/biome.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/type-inference .claude/skills/type-inference && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "type-inference" agent skill from https://github.com/biomejs/biome/tree/main/.agents/skills/type-inference into .claude/skills/type-inference/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "type-inference", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/biomejs/biome/tree/main/.agents/skills/type-inferenceType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add biomejs/biome --skill type-inference -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install biomejs/biome type-inference --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/biomejs/biome.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/type-inference .agents/skills/type-inference && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "type-inference" agent skill from https://github.com/biomejs/biome/tree/main/.agents/skills/type-inference into .agents/skills/type-inference/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "type-inference", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add biomejs/biome --skill type-inference -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install biomejs/biome type-inference --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/biomejs/biome.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/type-inference .cursor/skills/type-inference && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "type-inference" agent skill from https://github.com/biomejs/biome/tree/main/.agents/skills/type-inference into .cursor/skills/type-inference/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "type-inference", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/biomejs/biome.git --path .agents/skills/type-inference--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add biomejs/biome --skill type-inference -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install biomejs/biome type-inference --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/biomejs/biome.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/type-inference .gemini/skills/type-inference && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "type-inference" agent skill from https://github.com/biomejs/biome/tree/main/.agents/skills/type-inference into .gemini/skills/type-inference/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "type-inference", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install biomejs/biome type-inferenceInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add biomejs/biome --skill type-inference -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/biomejs/biome.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/type-inference .github/skills/type-inference && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "type-inference" agent skill from https://github.com/biomejs/biome/tree/main/.agents/skills/type-inference into .github/skills/type-inference/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "type-inference", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add biomejs/biome --skill type-inference -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install biomejs/biome type-inference --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/biomejs/biome.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/type-inference .opencode/skills/type-inference && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "type-inference" agent skill from https://github.com/biomejs/biome/tree/main/.agents/skills/type-inference into .opencode/skills/type-inference/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "type-inference", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
type-inferenceA skill your agent uses when working on Biome's Salsa-backed JavaScript and TypeScript inference, including type-aware lint rules, raw collection or inferred representations, analyzer requests…
Type Inference is an agent skill from biomejs/biome, published by the product's own GitHub organization. Use this skill when working on Biome's Salsa-backed JavaScript and TypeScript inference, including type-aware lint rules, raw collection or inferred representations, analyzer requests, tracked queries, import or cycle resolution, profiling, and Salsa invalidation tests. Do not use for standalone CSS/HTML module-graph data unrelated to JS/TS inference or for ordinary semantic binding analysis.
Its SKILL.md is about 2.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: Designed for coding agents working on the Biome codebase (github.com/biomejs/biome).
It sits in Development, covering Linting and formatting. It works with JavaScript and TypeScript. The repository describes itself as: A toolchain for web projects, aimed to provide functionalities to maintain them. Biome offers formatter and linter, usable via CLI and LSP. The licence is Apache-2.0.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit c870caa. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Designed for coding agents working on the Biome codebase (github.com/biomejs/biome).
From compatibility in the SKILL.md frontmatter.
Type Inference loads about 2.6k tokens when it runs. Until then it costs about 103 tokens; SKILL.md has 1,113 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from biomejs/biome at commit c870caa, republished under its Apache-2.0 licence (© biomejs). 1,113 words, ~2,592 tokens.
.claude/skills/type-inference/SKILL.md (or your agent's skills folder).Use this skill for JavaScript and TypeScript type inference: raw collection, Salsa-backed inferred values, analyzer requests, tracked queries, and inference-specific tests.
Load the corresponding skill for general lint scaffolding, diagnostics, snapshots, or changesets. CSS and HTML module-graph data is outside this skill unless it directly participates in JavaScript or TypeScript inference.
Do not load both architecture guides in full for every inference task. Read the sections matching the boundary being changed:
| Task | Canonical guide |
|---|---|
| Raw and inferred representations, collection, inference layers, handles, normalization, work limits | biome_js_type_info/CONTRIBUTING.md |
| Analyzer requests, tracked queries, resolution contexts, widening, profiling, Salsa execution tests | biome_module_graph/CONTRIBUTING.md |
Read both guides when changing the architecture across their boundary. Then inspect the implementation files for the specific request, query family, or representation being changed.
Do not use these checked-in files as current examples:
crates/biome_js_type_info/src/resolver.rscrates/biome_js_type_info/src/flattening.rscrates/biome_js_type_info/src/type.rscrates/biome_js_type_info/src/conditionals.rscrates/biome_js_type_info/src/helpers.rscrates/biome_module_graph/src/js_module_info/module_resolver.rsThey are not declared by the active crate module trees. Treat them as legacy residue unless the task explicitly concerns removing or migrating them.
Type inference has five layers:
syntax and semantic collection
-> raw module tables
-> analyzer-facing requests
-> tracked Salsa queries
-> resolver helpersCollection walks one module without database access. It records raw types,
expressions, and binding types in JsModuleInfo. A request defines one
analyzer-facing result contract. Tracked queries provide memoization and
invalidation boundaries. Resolver helpers evaluate references and inferred
structures inside those boundaries.
Keep the three type worlds distinct:
| World | Main types | Purpose |
|---|---|---|
| Raw collector | TypeData / RawTypeData, TypeReference, RawTypeId, TypeStore | Module-local syntax, declarations, imports, and deferred expressions |
| Database-backed | InferredTypeData<'db>, LocalTypeHandle, GlobalTypeId | Inferred values and module ownership in tracked computations |
| Analyzer-facing | InferredType<'db> | Conservative, bounded inspection for lint rules |
TypeReference belongs to the raw world. A lint rule should not pattern-match
raw TypeData when InferredType already provides the required operation.
Inferred data remains owned by the module that declared it. Do not copy another
module's inferred payload into the current module, including behind Arc.
Preserve ownership through references, module-aware handles, global IDs, and
tracked queries.
The inference levels are alternatives, not sequential phases:
| Need | Boundary |
|---|---|
| Inspect facts collected in one module | Raw local tables |
| Resolve one expression, binding, export, member, argument, or classification | Targeted request and tracked query |
| Resolve every raw type, expression, and binding in a module | Complete module inference |
A wider boundary is not inherently more correct. Use this decision order when more than one level can answer:
inspect raw local information
-> return when the local result is conclusive
-> resolve the smallest selected reference
-> preserve uncertainty or widen only when the contract requires it
-> use complete-module inference as the last resortinfer_module_types serves contracts that need complete tables.
infer_module_types_bottom_up is an untracked external scheduler and must not
be called from a new tracked query.
Type-aware JavaScript rules use the analyzer service rather than database queries directly:
domains: &[RuleDomain::Types] in rule metadata.Typed<N> as the rule query.RuleContext, backed by TypedService.InferredType through its bounded helpers.Match, NoMatch, or Indeterminate.Start from crates/biome_js_analyze/src/services/typed.rs and search current
Typed< consumers. Prefer a classification request when a rule asks one
property; do not normalize and traverse a complete type when a narrower
classifier answers the question.
When adding syntax-derived type information:
crates/biome_js_type_info/src/type_data.rs.crates/biome_js_type_info/src/local_inference.rs or
crates/biome_module_graph/src/js_module_info/collector.rs, preserving
unresolved operands as TypeReference values.crates/biome_js_type_info/src/interned_types.rs.crates/biome_module_graph/src/db/type_inference/ only
when generic raw-to-inferred conversion is insufficient.Collector snapshots prove the raw structure remains deferred where database resolution is required. Query tests separately prove the inferred result.
Requests live under
crates/biome_module_graph/src/type_inference/requests/. Add one for a reusable
result contract, not for an individual lint rule. Reuse a current request when
output and uncertainty behavior match.
A request defines stable metadata, one canonical execution path, exact source
origin, and explicit uncertainty. Compose operations through
TypeInferenceRequestContext; analyzer code should not construct low-level query
inputs.
Add a tracked query only when its result needs an independent memoization and invalidation boundary. A new query must:
Unknown or Indeterminate rather than inventing a definite result;Interning equal inputs gives them shared identity; it does not memoize query results. Follow the module-graph guide's Request architecture and Adding a tracked query sections for current traits, registration, and test requirements.
On-demand resolution follows the selected lookup path until the request requires broader work. Normalization resolves reachable handles with bounded traversal; it is not complete-module inference. Namespace expansion and guarded deep-import fallback can widen work substantially and must remain explicit and observable.
Do not conflate these outcomes:
| Result | Meaning |
|---|---|
None | The request has no result under its documented contract |
InferredTypeData::Unknown | Inference produced a type whose structure is undetermined |
InferredTypeData::UnknownKeyword | Source explicitly uses TypeScript's unknown type |
TypeInferenceClassification::Indeterminate | Inference cannot prove a match or non-match |
TypeInferenceClassification::Match | Inference conclusively proves the condition |
TypeInferenceClassification::NoMatch | Inference conclusively disproves the condition |
Unknown or indeterminate information is not a negative result. Preserve it to avoid false-positive diagnostics. Read the canonical widening, cycle recovery, and result-semantics sections before changing those paths.
ResolutionCtx keeps its cycle set, depth limit, and cache per context. Do not
create a context for another module during resolution and recurse through it.
Cross a tracked query, a spent import or step budget, or the shared declaration
evaluator instead. The module-graph guide's Resolver helpers section lists
these boundaries.
Test the narrowest affected boundary:
For targeted flows, prove unrelated edits reuse the query and consumed inputs recompute it. Assert whole-module inference does not execute unless the request contract or tested fallback requires it.
Use the maintenance profile documented in the module-graph guide when a request
resolves more data than expected. Request and query timings are inclusive and
must not be added together. Load testing-codegen for snapshot mechanics.
ResolutionCtx is created during resolution without a tracked query, a
spent budget, or the shared declaration evaluator bounding it.© biomejs, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/type-inference of biomejs/biome.
Open the folder on GitHubat commit c870caa
Type Inference next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Type Inference this skillbiomejs/biome | 26k | — | ~2.6k | Automated safety check: Pass | Apache-2.0 | |
| Install Anti-Slop Oxlint Rulesdmmulroy/anti-slop | 5.3k | 1 repos | ~2.2k | Automated safety check: Pass | MIT | |
| Ultraciteagustinusnathaniel/nextarter-tailwind | 125 | 2 repos | ~1.2k | Automated safety check: Pass | MIT | |
| Find Similar Functionsmillionco/react-doctor | 15k | — | ~1.2k | Automated safety check: Pass | Custom licence | |
| Code Qualityredis/RedisInsight | 8.9k | — | ~1.2k | Automated safety check: Pass | Custom licence | |
| Port Ruleweb-infra-dev/rslint | 460 | — | ~1.7k | Automated safety check: Pass | MIT |
dmmulroy/anti-slop
Installs, updates or migrates the vendored anti-slop Oxlint plugin in a repository, keeping local rule changes and the plugin's license and provenance files.
agustinusnathaniel/nextarter-tailwind
Ultracite is a zero-config linting and formatting preset for JavaScript/TypeScript projects.
millionco/react-doctor
Use truffler to find similar or pre-existing JavaScript/TypeScript symbols before implementing new code, especially helpers, utilities, parsers, formatters, scanners, fuzzy matchers, and other…
redis/RedisInsight
Code-quality standards for RedisInsight: TypeScript strictness, naming conventions (camelCase, PascalCase, UPPERSNAKECASE), linting rules, no any without reason, no !important in styles, and…
web-infra-dev/rslint
Port a new ESLint core or plugin rule to rslint, including explicitly requested batches.
Asvarox/allkaraoke
Guide for migrating a project from ESLint to Oxlint. An agent skill from Asvarox/allkaraoke.
biomejs/biome
A skill your agent uses when a Biome change may affect users and you must decide whether it needs a changeset, choose the release level, or create and edit .changeset/.md release-note text.
biomejs/biome
A skill your agent uses whenever writing or editing Rust //, ///, or //!
biomejs/biome
A skill your agent uses when biome migrate eslint must preserve configurable ESLint rule options through source-option models, Biome conversions, typed rule variants, and migration fixtures.
biomejs/biome
A skill your agent uses whenever implementing or debugging Biome formatter behavior, IR composition, node rules, layout selection, source-comment handling, verbatim formatting, idempotency, internal…
biomejs/biome
A skill your agent uses when creating or modifying Biome lint rules or assists, including analyzer queries, semantic bindings, rule state, code actions, fix safety, options, registration, and…
biomejs/biome
A skill your agent uses when implementing or modifying Biome parser behavior, including .ungram grammars, lexers, token sources, parse rules, separated lists, error recovery, and parser fixtures.
Works with
Categories
A skill your agent uses when working on Biome's Salsa-backed JavaScript and TypeScript inference, including type-aware lint rules, raw collection or inferred representations, analyzer requests…. Type Inference is an agent skill from biomejs/biome, published by the product's own GitHub organization. Use this skill when working on Biome's Salsa-backed JavaScript and TypeScript inference, including type-aware lint rules, raw collection or inferred representations, analyzer requests, tracked queries, import or cycle resolution, profiling, and Salsa invalidation tests.
Type Inference fits situations like: working on Biomes Salsa-backed JavaScript and TypeScript inference; including type-aware lint rules; inferred representations; analyzer requests.
Run `npx skills add biomejs/biome --skill type-inference -a claude-code`. Or copy the skill folder (.agents/skills/type-inference in biomejs/biome) into .claude/skills/type-inference in your project. Claude Code loads it when a task matches its description.
Run `npx skills add biomejs/biome --skill type-inference -a codex`. Or copy the skill folder (.agents/skills/type-inference in biomejs/biome) into .agents/skills/type-inference in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add biomejs/biome --skill type-inference -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/type-inference, .gemini/skills/type-inference, .github/skills/type-inference and .opencode/skills/type-inference in your project.
SKILL.md names no scripts, command-line tools or credentials: Type Inference is instructions for the agent only. Compatibility (from SKILL.md): Designed for coding agents working on the Biome codebase (github.com/biomejs/biome)..
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Type Inference is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.6k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Type Inference: Install Anti-Slop Oxlint Rules (dmmulroy/anti-slop, 5.3k stars), Ultracite (agustinusnathaniel/nextarter-tailwind, 125 stars), Find Similar Functions (millionco/react-doctor, 15k stars) and Code Quality (redis/RedisInsight, 8.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
biomejs (a GitHub organization, an official publisher) maintains it in biomejs/biome, which has 25,910 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 8, 2026.
Source: biomejs/biome on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.