شعار Biome

Biome

المجتمع
tuanductran
biome

Repository guidance for using Biome as the formatter, linter, and code quality tool within the hr-skills monorepo.

نظرة عامة

الناشرtuanductran
المستودعhr-skills
اسم المهارةbiome
النجوم
78
التفريعات
20
الملفات المرفقة
تعليمات فقط
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

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

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

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

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

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

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

التثبيت

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

1

التثبيت في TypingMind

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

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/tuanductran/hr-skills/tree/main/.agents/skills/biome
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/tuanductran/hr-skills.git /tmp/hr-skills
mkdir -p .claude/skills
cp -r /tmp/hr-skills/.agents/skills/biome .claude/skills/biome
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Biome في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Biome تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Biome بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Biome

This skill describes how Biome is used throughout the hr-skills monorepo. It covers formatting, linting, import organization, repository conventions, and development workflows.

The repository standardizes on Biome as the primary code quality tool for TypeScript, JSON, JSONC, and YAML files.

Supported tasks

  • Explain how Biome is used within this repository
  • Format source code consistently
  • Review Biome diagnostics
  • Organize imports
  • Validate repository formatting
  • Apply safe code fixes
  • Explain repository formatting conventions
  • Troubleshoot Biome configuration issues
  • Generate repository-compatible Biome configuration

Repository conventions

This repository uses a single Biome configuration located at the repository root.

Biome is responsible for:

  • code formatting
  • linting
  • import organization
  • repository code consistency

Supported file types include:

  • TypeScript
  • JSON
  • JSONC
  • YAML

Repository-generated directories are excluded from analysis.

Formatting conventions

The repository follows these formatting conventions.

  • Tabs for indentation.
  • Indentation width of 4.
  • LF line endings.
  • Maximum line width of 90 characters.
  • Single quotes for JavaScript and TypeScript.
  • Semicolons are always required.
  • Trailing commas are enabled.
  • Parentheses are always used for arrow function parameters.
  • Imports are automatically organized.

These conventions are enforced automatically by Biome.

Linting

The repository enables the recommended Biome rule set, with one override: complexity/useLiteralKeys is turned off (see biome.jsonc).

Linting focuses on:

  • correctness
  • readability
  • maintainability
  • consistent code style

Compiler errors remain the responsibility of TypeScript.

Import organization

Biome automatically organizes imports.

The repository relies on automatic import ordering rather than manual sorting. Safe import organization is part of the Biome toolchain.

Common commands

Check the repository.

bash
bun run check

Apply formatting and lint fixes.

bash
bun run lint

Format files.

bash
bun run format

Run Biome directly.

bash
biome check .

Apply safe fixes.

bash
biome check --write .

Run formatter only.

bash
biome format --write .

Run linter only.

bash
biome lint .

Run CI validation.

bash
biome ci .

The ci command runs formatter, linter, and import organization in read-only mode, making it suitable for continuous integration.

Key prompts

Formatting

  • "Format this TypeScript file using repository conventions."
  • "Explain why Biome reformatted this code."
  • "Review this file for formatting issues."
  • "Apply safe formatting fixes."

Linting

  • "Explain this Biome diagnostic."
  • "Fix Biome lint errors."
  • "Recommend improvements following repository conventions."
  • "Review this pull request for Biome issues."

Imports

  • "Organize imports."
  • "Explain Biome import ordering."
  • "Remove unused imports."
  • "Review import organization."

Configuration

  • "Explain this biome.json configuration."
  • "Generate a repository-compatible Biome configuration."
  • "Review formatter settings."
  • "Review lint rules."

Examples

Check the repository.

bash
bun run check

Automatically apply formatting.

bash
bun run lint

Format the repository.

bash
bun run format

Run Biome directly.

bash
biome check --write .

Tips

  • Run Biome from the repository root.
  • Let Biome format code automatically instead of formatting manually.
  • Prefer automatic import organization.
  • Review diagnostics before suppressing rules.
  • Keep formatting configuration centralized.
  • Use repository scripts instead of invoking Biome manually whenever possible.

Common issues

  • Manually formatting code against repository conventions.
  • Reordering imports manually.
  • Disabling lint rules without justification.
  • Running Biome outside the repository root.
  • Ignoring formatting changes before committing.

Best practices

  • Keep formatting fully automated.
  • Keep the repository on a single shared Biome configuration.
  • Use repository scripts for formatting and linting.
  • Let Biome organize imports automatically.
  • Resolve diagnostics rather than suppressing them.
  • Keep formatting changes separate from functional changes whenever practical.

الأسئلة الشائعة

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

Repository guidance for using Biome as the formatter, linter, and code quality tool within the hr-skills monorepo.

لماذا تستخدم Biome على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Biome عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Biome في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/tuanductran/hr-skills/tree/main/.agents/skills/biome. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Biome؟

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

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Biome؟

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

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

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

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

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

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

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

عرض الكل

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

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