In short.
Biome anti-slop is a coding-assistant skill for JavaScript and TypeScript maintainers who want stricter automated code checks, but its conventions and noncommercial licence limit its fit. It provides nine globally registered rules, twelve test-only rules, paired fixtures and a copying script. Configuration and dependency changes remain separate steps. Important limits include syntax-based matching, narrow default test filename patterns and an installer that does not copy the root licensing material. Nothing was executed, so installation, compatibility, diagnostic accuracy and performance remain untested.
Researched and written by an AI model and checked by a second AI model. How it works
The supplied material covers the complete selected .agents/skills/biome-anti-slop directory at commit fe548649eae069e03e525e2b609ec52b042f2c0f: SKILL.md, assistant interface metadata, the installer, 21 GritQL rules and 21 fixtures. Root LICENSE and NOTICE are included outside that directory for rights context. The AGENTS.md file named in the diagnostic messages and the referenced fixture runner were not supplied. The OpenBot application, optional provider runtimes and separately named third-party components are outside the resource scope. No code was executed; installation, configuration validity, fixture outcomes, diagnostic accuracy, runtime compatibility and performance remain untested.
The overview
What it is
Biome anti-slop is an assistant-loadable instruction package in nightly-labs/openbot. Its original location is [https://github.com/nightly-labs/openbot/tree/main/.agents/skills/biome-anti-slop]. The supplied version is pinned to commit fe548649eae069e03e525e2b609ec52b042f2c0f.
The package contains setup instructions, assistant interface metadata, a Node.js copying script, GritQL rule files and TypeScript fixtures. Its purpose is to vendor automated source checks into another repository and integrate them with that repository's Biome configuration.
Fit and trade-offs
The strongest fit is a team that already favors explicit domain types, behavior-focused tests and repository-owned lint rules. Vendoring makes the rule definitions available for inspection alongside the project's other tooling.
The rules encode substantial policy choices: snapshots, test-id queries and several broad TypeScript annotations become errors. Their usefulness therefore depends on agreement with those conventions. The supplied source and fixtures establish concrete implementation and intended behavior, but provide no execution results or measured improvement in code quality.
Who it suits
JavaScript and TypeScript maintainers can use the skill to guide a coding assistant through dependency inspection, rule installation and configuration changes. Beginners get diagnostic messages suggesting alternatives, although the test-rule and module-mocking messages point to a Tests section in AGENTS.md that adopters may need to write, or the messages may need editing. Experienced developers can inspect the exact matching patterns and their limits.
Plain JavaScript projects get far fewer checks: five of the nine global rules match only TypeScript type annotations, and the default test override covers only .test.ts and .test.tsx files. Adopters must widen that override to apply the test rules to JavaScript tests.
The Solid-specific rules address cleanup in an effect's second callback and Map or Set values inside stores. Their relevance depends on the project's APIs and framework version. Teams using different conventions should examine these assumptions before enabling the complete set.
Checks it adds
Nine global rules address broad const annotations, bare object parameters, unknown return types and aliases, dictionaries with unknown or object values, Reflect.get and Reflect.apply, module mocking, collections in stores and cleanup inside effect callbacks.
Twelve test-only rules target snapshots, timed sleeps, test-id queries, raw HTML assertions, CSS class assertions, class-selector queries inside expect or within, DOM containment, DOM traversal, svg or img queries, style inspection, title-attribute assertions and document.activeElement reads.
The instructions also enable ten native Biome rules covering types, assertions and test hygiene. Focused tests are configured as errors; skipped tests are warnings. The package is a collection of coding-policy checks, rather than a detector of AI authorship.
Using it
Requirements
The documented Biome range is @biomejs/biome >=2.5.9 <3. Installation follows the target repository's package manager and lockfiles. Node.js is needed to run scripts/install.js; a minimum Node.js version and supported operating systems are not stated.
The instructions require checking native rule availability and groups with the installed Biome binary. They call for a decision before changing an incompatible Biome version, enabling an explicitly disabled linter or choosing between independent Biome roots. Supported assistant versions and compatibility results for particular environments are unknown.
How it works
GritQL patterns describe source-code shapes and call register_diagnostic to attach messages and severity to matching locations. The supplied rules define diagnostics without automatic fixes. This is syntax-based checking; it does not execute the application or establish the meaning of every matched expression.
Each rule declares a global or tests scope. The installer reads those declarations and prints two plugin lists for configuration. Three custom rules are warnings: collections in stores, module mocking and bare object parameters. The other eighteen declare error severity.
The type rules separately target broad const annotations, selected unknown return annotations, aliases equal to unknown and Record types with unknown or object values. Reflect.get and Reflect.apply have their own error rule. Native noExplicitAny is intended to handle any without duplicate custom diagnostics.
Setup
The documented copy command is node <skill-directory>/scripts/install.js, run from the target repository. It copies rules and fixtures to tools/biome/anti-slop by default and accepts another relative destination. It refuses an existing destination unless --force is supplied; that option recursively deletes the destination before copying.
The script prints configuration paths but does not install Biome or edit its configuration. The remaining steps register global plugins at the top level and test plugins in an override matching **/*.test.ts and **/*.test.tsx, preserve existing settings and plugin entries, and add the requested native rules.
The guide also excludes the vendored directory from routine checks and excludes existing local agent-tooling directories individually. Its final steps are the repository's lint or check command and a diff review. These are documented steps; no setup or checks were executed.
Examples
The focus fixture marks expect(document.activeElement).toBe(dialog) as a line to reject, while leaving expect(dialog).toHaveFocus() unmarked. The class fixture similarly prefers checking that a button is disabled over asserting its CSS class. These examples show the intended move toward named user-visible behavior.
The type fixture marks const widened: unknown = readDelivery() for rejection while leaving inferred typing, a concrete QueueDelivery annotation and satisfies QueueDelivery unmarked. The dictionary fixture flags Record<AgentId, unknown> as well as built-in key spellings.
These are the supplied fixtures' expectations, not observed diagnostic results.
Assessment & evidence
Limitations
The class-selector rule explicitly acknowledges a dataflow gap: assigning a query result to a variable and asserting on that variable later escapes its pattern. The default test override also leaves other filename conventions, such as .spec.ts and .test.js, outside its stated matching patterns.
The rules are tuned for OpenBot. All twelve test-rule messages and the module-mocking message point to a Tests section in AGENTS.md that may not exist in an adopting repository. The module-mocking exemptions are hard-coded for electron, electron-updater and node: built-ins. The store and effect rules target Solid 2 APIs, with comments referring to OpenBot's own store usage and issue #1866.
Some test rules match occurrences more broadly than their names suggest. DOM traversal properties, document.activeElement and getComputedStyle are matched without first proving they occur in an assertion. Framework patterns also use function spellings such as createStore rather than establishing import identity.
The sleep rule's comment describes a fake-timer exemption, but its displayed pattern contains no explicit fake-timer condition. That claimed exemption remains unverified.
Broad type and Reflect rules cannot establish intent. For example, no-known-value-widening matches const annotations of unknown or object without checking whether the initializer had a more precise type. Diagnostic accuracy, cross-project compatibility and performance remain untested.
Why the design matters
The practical benefit is making selected coding conventions repeatable and visible in source control. Fixtures pair lines expected to be rejected with examples intended to remain allowed, making the intended boundary easier to inspect.
The warning rules preserve room for context. A store collection may be replaced as a whole, and module mocking may be necessary when no injectable interface exists. Despite its name, no-object-parameters targets the bare object type annotation; it does not ban every parameter that holds an object.
Adoption makes most sense when the team's conventions already align with these choices. The severity declarations express the authors' policy; they do not prove that every possible matching program is defective.
Alternatives
A simpler option visible in the instructions is to use native Biome rules alone. The listed native checks cover concerns such as explicit any, unsafe assertions and focused tests without adding these custom GritQL policies. They would not provide the package's additional test-query or Solid-specific patterns.
For questions requiring context, the source points to code review and repository guidance. Several diagnostics suggest Storybook stories for visual details, while fixtures demonstrate direct behavioral assertions as alternatives to snapshots and markup checks. No comparison with competing lint packages or working Storybook integration is supplied.
Evidence and confidence
The supplied folder contains SKILL.md, agents/openai.yaml, scripts/install.js, 21 rule files and 21 corresponding fixtures. The pinned source folder is [https://github.com/nightly-labs/openbot/tree/fe548649eae069e03e525e2b609ec52b042f2c0f/.agents/skills/biome-anti-slop]. Root LICENSE and NOTICE provide the accompanying rights context.
Fixtures mark expected findings with trailing // flag comments and include examples intended to remain allowed. Their comments reference scripts/anti-slop-rules.test.ts, but that runner is outside the selected folder and was not supplied. The AGENTS.md file named in the diagnostic messages was also not supplied.
Nothing was executed. The evidence supports statements about file contents and intended behavior, but provides no passing fixture results, installation results, project lint results or benchmark output.
Access & freshness
Costs
No purchase price, subscription price or commercial licence quote is supplied. Commercial licensing is offered through licenses@openbot.run, with terms and pricing unknown.
The copying script performs local filesystem operations and contains no network calls. The documented setup may install Biome through the repository's package manager. Coding-assistant charges, integration effort and lint execution costs are not established or measured.
Licence and redistribution
The supplied root LICENSE uses PolyForm Noncommercial License 1.0.0. It grants use, modification and distribution rights for permitted purposes, including noncommercial purposes and specified institutional uses. It does not provide a general commercial-use grant. The terms are available at [https://polyformproject.org/licenses/noncommercial/1.0.0].
Recipients of any copied part must receive the licence terms or their URL and the supplied Required Notice lines. Those lines identify Copyright 2026 Synthetify Labs spółka z ograniczoną odpowiedzialnością and direct commercial licence inquiries to licenses@openbot.run.
The installer copies assets/anti-slop without the root LICENSE or NOTICE, so retaining required licensing material needs a separate step when vendoring. NOTICE lists permissive licences for named OpenBot components, but supplies no permissive exception for this skill.
Version and freshness
The source snapshot was captured on 2026-11-15 at 21:22:52.674 UTC and identifies commit fe548649eae069e03e525e2b609ec52b042f2c0f. Capture time is not a release date or evidence of the last maintenance activity.
The instructions specify Biome >=2.5.9 <3 and say their native rule groups correspond to Biome 2.5.9. Later compatible releases may move nursery rules, so the instructions require checking the installed binary. Current main-branch contents, newer releases and later compatibility results are unknown.
Before adoption
Confirm that the intended use is permitted by the licence, and retain its required terms and notices separately from the copied assets. Obtain the complete pinned skill folder because the installer expects its bundled assets at a relative location.
Compare the rules with the team's type, testing and framework conventions. Check that test filename overrides cover the intended files, verify the installed Biome version and native rule groups, and review the destination before considering --force.
Review the resulting dependency and configuration diff, then run the repository's existing checks. The fixtures cannot be checked with the skill folder alone, because the runner they name (scripts/anti-slop-rules.test.ts) is not included; obtain or write an equivalent runner before treating the fixtures as proof that the rules work. These adoption steps have no execution results in the supplied evidence.
