شعار Fix

Fix

المجتمع
buiducnhat
fix

Diagnose and fix bugs with root-cause analysis and verification. Use when you have a concrete issue report, failing behavior, runtime error, or test regression that should be resolved safely. Stop and escalate to brainstorm when scope or risk grows.

نظرة عامة

الناشرbuiducnhat
المستودعcobrew
اسم المهارةfix
النجوم
48
التفريعات
3
الملفات المرفقة
تعليمات فقط
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

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

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

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

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

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

Fix

Scope Gate (Required Before Starting)

Use this skill only when all conditions below are true:

  1. Concrete issue signal exists

    • Clear failing behavior, error, or regression is identified
    • Enough evidence exists to begin diagnosis (logs, stack trace, failing test, or reproducible steps)
  2. Likely localized fix path

    • Issue appears constrained to a small area
    • No expected cross-system redesign or migration
  3. Low-to-moderate architectural risk

    • Fix can be made without foundational changes
    • No phased rollout/feature-flag strategy is expected
  4. Straightforward verification path

    • Reproduction and post-fix checks can be run in practical scope
    • Success criteria can be validated directly

If any condition fails, escalate to brainstorm or write-plan.

Hard Stop Escalation Criteria

Immediately stop and switch to planning if any of these occur:

  • Root cause remains unclear after focused investigation
  • Fix requires cross-cutting architectural or data-model changes
  • Scope expands into large refactor or multi-module migration
  • Security/compliance-sensitive behavior is involved
  • Verification reveals broad regressions requiring phased mitigation
  • Multiple fix attempts fail without converging on a root cause

Escalation action:

  1. Stop all implementation activities.
  2. Output the exact message: "This fix exceeds safe single-pass debugging limits. Ask, Recommend brainstorm or write-plan first to define phased diagnosis, implementation, and risk controls."

Workflow

Step 1: Intake and Contextualize

  1. Understand the reported bug and define explicit expected behavior.
  2. Collect/confirm minimum bug report fields:
    • Title
    • Expected behavior
    • Actual behavior
    • Reproduction steps
    • Evidence (logs, trace, screenshot, failing test output)
    • Environment (branch/OS/runtime/version if relevant)
    • Impact/severity
  3. Load only the project context relevant to the bug:
    • If docs/SUMMARY.md exists, read it first.
    • Load only task-relevant detail docs.
    • Prioritize Code Standard docs for implementation conventions.
    • If docs conflict with code or user intent, use the available input/question tool before broad changes.

Step 2: Reproduce and Diagnose

  1. Reproduce the issue consistently.
  2. Locate the failure point (file/function/line range/subsystem).
  3. Trace control/data flow to identify the root cause.
  4. Form a fix hypothesis and confirm it explains observed behavior.

Guidelines:

  • Read surrounding code, not only the failing line.
  • Prefer root-cause correction over symptom patching.
  • Add temporary diagnostics only when needed; remove them after use.

Step 3: Decide Small vs Bigger Fix

Classify the work before coding:

Small fix (continue in this skill)

Most are true:

  • Root cause is clear and validated
  • Change surface is narrow (typically a few files)
  • Regression risk is limited and testable quickly
Bigger/risky fix (escalate to brainstorm or write-plan)

Any are true:

  • Root cause is uncertain
  • Multiple subsystems must change together
  • Requires migration, rollout sequencing, or broad refactor
  • Risk cannot be reasonably controlled in a single pass

If it is a bigger fix, follow Hard Stop Escalation Criteria.

Step 4: Implement (Small Fix Path)

  1. State a brief 1-3 bullet implementation plan.
  2. Apply the smallest targeted change that resolves the root cause.
  3. Keep scope strict; avoid unrelated refactors.
  4. Add/update regression tests when applicable.

Step 5: Verify

Run validation in increasing scope:

  1. Focused checks for the changed behavior/module
  2. Nearby regression checks
  3. Relevant project checks (lint/typecheck/tests/build) as needed

Fix is complete only when:

  • Reproduction no longer fails
  • Expected behavior is confirmed
  • No critical regressions are introduced

If verification indicates broader impact, escalate to brainstorm or write-plan.

Step 6: Complete and Report

Provide a concise completion report with:

  • Root cause
  • What changed
  • Why this fix works
  • Verification performed and results
  • Residual risks / follow-ups

If behavior or documentation-relevant rules changed, update the minimal relevant docs. If architecture changed, this should have been escalated.

Rules

  • Do not guess when key context is missing.
  • Always prioritize root-cause fixes.
  • Keep blast radius minimal.
  • Do not mark done without verification.
  • Escalate early when scope/risk exceeds this skill.

Optional Bug Report Template

Use when the report is incomplete:

  • Title:
  • Expected behavior:
  • Actual behavior:
  • Reproduction steps:
  • Error logs/stack trace:
  • Environment:
  • Impact/severity:
  • Additional context:

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

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

Diagnose and fix bugs with root-cause analysis and verification. Use when you have a concrete issue report, failing behavior, runtime error, or test regression that should be resolved safely. Stop and escalate to brainstorm when scope or risk grows.

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

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

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

افتح الإضافات → المهارات → التثبيت من GitHub في TypingMind والصق https://github.com/buiducnhat/cobrew/tree/main/plugins/cobrew/skills/fix. يقرأ TypingMind ملف SKILL.md الخاص بها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

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

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

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

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

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

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

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

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

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

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

عرض الكل

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

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