Logo di Biome Anti Slop

Biome Anti Slop

Organizzazione
nightly-labs
biome-anti-slop

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.

Panoramica

Pubblicato danightly-labs
Repositoryopenbot
Nome della skillbiome-anti-slop
Stelle
521
Fork
81
File inclusi
22
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 22

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da nightly-labs su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Biome Anti Slop in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/nightly-labs/openbot/tree/main/.agents/skills/biome-anti-slop
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/nightly-labs/openbot.git /tmp/openbot
mkdir -p .claude/skills
cp -r /tmp/openbot/.agents/skills/biome-anti-slop .claude/skills/biome-anti-slop
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Biome Anti Slop in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Biome Anti Slop non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Biome Anti Slop non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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.

    Preserve every existing configuration field. Also enable these native Biome rules at error severity, merging them into their existing groups:

    json
    {
      "linter": {
        "rules": {
          "complexity": {
            "noBannedTypes": "error",
            "noUselessTypeConstraint": "error"
          },
          "nursery": {
            "noMisleadingReturnType": "error",
            "noUnsafeTypeAssertion": "error",
            "useReduceTypeParameter": "error"
          },
          "style": {
            "noNonNullAssertion": "error",
            "useAsConstAssertion": "error"
          },
          "suspicious": {
            "noExplicitAny": "error",
            "noFocusedTests": "error",
            "noSkippedTests": "warn"
          }
        }
      }
    }

    noFocusedTests is an error because a stray it.only silently disables the rest of its file; noSkippedTests is a warning because a skip has honest uses and only needs a comment naming what unblocks it. Confirm every rule name and its current group with the installed Biome binary before editing configuration. The groups above are correct for Biome 2.5.9; if biome explain reports that a later compatible 2.x release promoted a nursery rule, use its reported stable group. Stop if any rule is unavailable rather than writing an invalid configuration.

    If one of these rules already uses object configuration, preserve its options and change only its level to error. If linter.enabled is explicitly false, stop and ask before enabling it. Add the vendored anti-slop directory to files.includes as a negated pattern so routine checks do not reformat vendored rules. Also add negated patterns for project-local agent tooling directories that actually exist, such as .agents or .codex; do not ignore all dot-directories. If no Biome configuration exists, create a minimal one with the local schema, the plugin list, and those file exclusions.

  5. Keep each rule's declared severity. The set runs at two levels and the difference is a promise: error is for a pattern with no honest counter-example, warn for a judgement a pattern cannot make - an options-object parameter is a readability call, whether a Map in a store is always replaced whole is a fact about the component, and whether a module has an injectable seam is a fact about the code under test. A warning is a prompt to think, never a demand to rewrite.

    A judgement the pattern cannot make at all is a different thing, and does not belong in the set: a rule that fires mostly on correct code trains readers to skim every warning beside it. Neither does a rule Biome already ships - noUnsafeTypeAssertion and noExplicitAny own their patterns here, and a second diagnostic on the same line adds nothing to read.

  6. Every rule ships a fixture beside it under fixtures/, marking each line the rule must reject with a trailing // flag and surrounding it with correct code the rule must leave alone. A GritQL pattern that matches nothing is green and enforces nothing, so a rule without a fixture proving both halves is not a rule. If the target repository adds one, it adds a fixture too.

  7. Run the repository's existing lint or check command. If none exists, run Biome directly. Report findings in owned source and fix them only when the user requested migration or cleanup. Do not suppress diagnostics, weaken their severity, or launder types to make the check pass.

  8. Review the final diff and report the copied path, dependency change, configuration change, checks run, and any remaining findings.

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Biome Anti Slop?

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.

Perché usare Biome Anti Slop su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Biome Anti Slop è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Biome Anti Slop in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/nightly-labs/openbot/tree/main/.agents/skills/biome-anti-slop. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Biome Anti Slop?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Biome Anti Slop?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Biome Anti Slop: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Biome Anti Slop è gratuita?

È pubblicata su GitHub da nightly-labs. Consulta il repository per i termini di licenza. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇