شعار Biome Anti Slop

Biome Anti Slop

مؤسسة
nightly-labs
biome-anti-slop

ثبّت قواعد GritQL المضمّنة لمكافحة الشيفرة الرديئة في Biome واضبطها في مستودع TypeScript أو JavaScript محلي. استخدم هذه المهارة عندما يطلب المستخدم إضافة قواعد Biome لمكافحة الشيفرة الرديئة أو ضبطها أو تحديثها أو نقلها.

Add to TypingMind

نظرة عامة

الناشرnightly-labs
المستودعopenbot
اسم المهارةbiome-anti-slop
النجوم
521
التفريعات
81
الملفات المرفقة
22
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 22

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها nightly-labs على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Biome Anti Slop في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/nightly-labs/openbot/tree/main/.agents/skills/biome-anti-slop
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
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؟

ثبّت قواعد 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؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Biome Anti Slop معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Biome Anti Slop مجانية؟

نشرها nightly-labs على GitHub. راجع المستودع للاطلاع على شروط الترخيص. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇