# Biome Anti Slop

Install and configure vendored Biome anti-slop GritQL rules in a local TypeScript or...

- Repository: https://github.com/nightly-labs/openbot (4509 stars)
- Category: Engineering
- License: see repository
- Last updated: 2026-11-01
- Runs scripts: yes, review before use

## Install

Claude Code: `npx skills add nightly-labs/openbot --skill biome-anti-slop -g -a claude-code -y`
Codex: `npx skills add nightly-labs/openbot --skill biome-anti-slop -g -a codex -y`
Cursor: `npx skills add nightly-labs/openbot --skill biome-anti-slop -g -a cursor -y`
Gemini CLI: `npx skills add nightly-labs/openbot --skill biome-anti-slop -g -a gemini-cli -y`

## Description

Install and configure vendored Biome anti-slop GritQL rules in a local TypeScript or JavaScript repository. Use when a user asks to add, configure, update, or migrate Biome anti-slop lint rules.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Biome anti-slop

Vendor the bundled rules into the current repository and integrate them with its existing Biome
setup. Preserve unrelated work and adapt to the repository's package manager and configuration.

## Install

1. Inspect the repository before changing it:
   - Read applicable agent instructions and check `git status`.
   - Detect the package manager from `packageManager` and lockfiles.
   - Find `biome.json` or `biome.jsonc` files and existing anti-slop rules.
   - If multiple independent Biome roots exist, ask which one to configure.

2. Require `@biomejs/biome` version `>=2.5.9 <3`. Preserve an existing dependency in that range. If
   Biome is absent from a package manifest, install the latest compatible 2.x release using
   `@biomejs/biome@^2.5.9` as a development dependency with the repository's package manager. If
   the repository uses a version outside that range, stop and ask before changing it.

3. From the target repository, copy the bundled rules:

   ```bash
   node <skill-directory>/scripts/install.js
   ```

   The default destination is `tools/biome/anti-slop`. Pass another relative destination as the
   first argument when the repository has an established tooling layout. The installer refuses to
   replace an existing destination; use `--force` only after reviewing the existing files and the
   replacement diff.

4. Register the installed rules. **Do not type the rule names from memory or from this file.** The
   installer prints two lists, read from the `// scope:` line each rule declares, so they cannot go
   stale as rules are added, merged, or removed:

   - the `global` list goes in the top-level `plugins` array;
   - the `tests` list goes in a `plugins` array on an `overrides` entry matching `**/*.test.ts` and
     `**/*.test.tsx`, because those patterns are legitimate in product code and only wrong in a test.

   Add them without removing existing plugins.

The rest: https://github.com/nightly-labs/openbot/blob/HEAD/.agents/skills/biome-anti-slop/SKILL.md
