Skillpedia
برمجة عامة41k · #6998

debug

ما الذي تفعله

ترشد هذه المهارة الوكيل خلال تشخيص سبب تصرف جلسة أو سير عمل بشكل غريب. وهي موجهة إلى من يرون سلوكاً مربكاً ويريدون معرفة السبب قبل إجراء أي تغييرات.

متى تستخدمها

  • ✓عندما تتصرف جلسة Claude Code أو سير عمل بطريقة مربكة أو معطلة.
  • ✓عندما تتعطل أداة أو خطّاف بعد تغيير والسبب غير واضح.
  • ✓عندما تريد إيجاد السبب الجذري قبل بدء أي إعادة كتابة واسعة.

رابط المهارة

https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/debug/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/debug/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“تتوقف جلسة Claude لدي باستمرار في منتصف المهمة. هل يمكنك معرفة السبب واقتراح أصغر إصلاح ممكن؟”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

يقرأ الوكيل أهم السجلات والتتبعات والحالة أولاً، ويحاول إعادة إنتاج المشكلة بشكل ضيق، ويفصل الأعراض عن السبب الجذري. ثم يقترح أصغر خطوة تالية للفحص أو الإصلاح.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

Debug

Use this skill when the user wants help diagnosing a current OMC/Claude-Code session problem, workflow breakage, or confusing runtime behavior.

Goal

Find the real failure signal quickly and explain the next corrective step.

Workflow

  1. Read the user’s issue description carefully.
  2. Inspect the most relevant local evidence first:
    • trace tools
    • state tools
    • notepad / project memory when relevant
    • failing tests or commands
  3. Reproduce the issue narrowly if possible.
  4. Distinguish symptoms from root cause.
  5. Recommend the smallest next fix or verification step.

Rules

  • Prefer real evidence over guesses.
  • Use the trace/state surfaces when the issue involves orchestration, hooks, or agent flow.
  • If the issue is actually a product/runtime bug rather than app code, say so plainly.
  • Do not prescribe broad rewrites before isolating the failure.
  • Tag temporary debug output [DEBUG-<4hex>]; cleanup is then a single grep.
  • Redact secrets from logs and traces before they leave the session.
  • If the failure traces to a missing or wrong seam, say so as the finding and point at refit or architecture-survey — the environment lesson outlives the fix.

Output

  • Observed failure
  • Root-cause hypothesis
  • Evidence for that hypothesis
  • Smallest next action
الأسئلة الشائعة

هل سيعيد كتابة كودي فوراً؟

لا. يتجنب إعادة الكتابة الواسعة حتى يُعزل الفشل.

هل يحمي الأسرار في السجلات؟

نعم. يزيل الأسرار من السجلات والتتبعات قبل أن تغادر الجلسة.

ماذا لو كانت المشكلة في الأداة نفسها؟

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

التفاصيل

الوصف الأصلي من المؤلف

Diagnose the current OMC session or repo state using logs, traces, state, and focused reproduction

repo: Yeachan-Heo/oh-my-claudecode

الشعبية

نجوم GitHub
41k
الترتيب
#6998
الترخيص
MIT
آخر تحديث
2‏/11‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة