Логотип Biome Anti Slop

Biome Anti Slop

Організація
nightly-labs
biome-anti-slop

Установлюйте й налаштовуйте vendored GritQL-правила Biome для виявлення недбалого коду в локальному репозиторії TypeScript або JavaScript. Використовуйте, коли користувач просить додати, налаштувати, оновити або перенести правила Biome для виявлення недбалого коду.

Add to TypingMind

Огляд

Видавецьnightly-labs
Репозиторійopenbot
Назва навичкиbiome-anti-slop
Зірки
521
Форки
81
Файли в пакеті
22
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 22

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Видавець на GitHub: nightly-labs. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Biome Anti Slop у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/nightly-labs/openbot/tree/main/.agents/skills/biome-anti-slop
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

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
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Biome Anti Slop в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Biome Anti Slop, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Biome Anti Slop не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

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.

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ Biome Anti Slop?

Установлюйте й налаштовуйте vendored GritQL-правила Biome для виявлення недбалого коду в локальному репозиторії TypeScript або JavaScript. Використовуйте, коли користувач просить додати, налаштувати, оновити або перенести правила Biome для виявлення недбалого коду.

Навіщо використовувати Biome Anti Slop у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Biome Anti Slop — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Biome Anti Slop у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/nightly-labs/openbot/tree/main/.agents/skills/biome-anti-slop. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Biome Anti Slop?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Biome Anti Slop?

Зі скількома забажаєте. У TypingMind ви можете використовувати Biome Anti Slop із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Biome Anti Slop?

На GitHub цю навичку публікує nightly-labs. Умови ліцензування дивіться в репозиторії. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇