debugging
تصحيح أخطاء الشيفرة وتحليل السجلات
也可從以下取得: Joseph OBrien,ArcadeAI,supercent-io
يتطلب تصحيح الأخطاء المعقدة وتحليل السجلات وقتًا وخبرة كبيرة. توفر هذه المهارة سير عمل منظّم لتحليل الأخطاء، وقراءة السجلات، والتحقيق في تتبّع الاستدعاءات، وتحديد السبب الجذري عبر لغات ومنصات متعددة.
下載技能 ZIP
在 Claude 中上傳
前往 設定 → 功能 → 技能 → 上傳技能
開啟並開始使用
測試它
正在使用「debugging」。 Debug this error: TypeError: Cannot read property 'name' of undefined
預期結果:
- نوع الخطأ: TypeError
- الموقع: src/services/user.js:45
- السبب الجذري: getUser() returns undefined when user not found
- الإصلاح: Add null check before accessing user.name
正在使用「debugging」。 Analyze the error logs in /var/log/app.log
預期結果:
- إجمالي الأخطاء: 47
- الأكثر شيوعًا: Connection timeout (23 occurrences)
- النمط: Errors spike during peak hours (14:00-16:00)
- التوصية: Increase connection pool size
正在使用「debugging」。 Why are users seeing intermittent 500 errors
預期結果:
- السبب المحتمل: Race condition in request handler
- الدليل: Errors correlate with concurrent API calls
- الإصلاح: Add request queuing or use locks for shared resource access
安全審計
低風險This is a documentation-focused debugging skill. The static analyzer flagged 134 findings, but 100% are false positives. All flagged patterns are examples in markdown documentation showing common debugging commands and anti-patterns, not actual executable code. The only executable component is a 125-line Python log parser script that safely reads user-specified files and outputs JSON analysis. No network access, no credential handling, no arbitrary code execution.
風險因素
⚡ 包含腳本 (1)
📁 檔案系統存取 (1)
品質評分
你能建構什麼
إصلاح أخطاء الإنتاج
تحليل سجلات الأخطاء وتتبع الاستدعاءات لتحديد الأسباب الجذرية وتنفيذ الإصلاحات
تصحيح فشل الاختبارات
التحقيق في أسباب فشل الاختبارات وتحديد مشكلات الشيفرة الأساسية
التحقيق في الحوادث
ربط الأخطاء عبر الخدمات وإجراء تحليل ما بعد الحادث
試試這些提示
Debug this error: [paste error message and stack trace]
Analyze the error logs in [file path] and identify the root cause
Find patterns in these error logs from the past 24 hours
Fix the null reference error at [file:line] with minimal changes
最佳實務
- ابدأ بالأعراض قبل اقتراح الحلول
- اختبر الفرضيات بشكل منهجي بدلًا من التخمين
- طبّق إصلاحات بسيطة تعالج الأسباب الجذرية
避免
- تطبيق إصلاحات دون فهم الأسباب الجذرية
- تجاهل أنماط الأخطاء عبر حوادث متعددة
- إجراء تغييرات كبيرة عندما يكفي إصلاح صغير
常見問題
ما لغات البرمجة المدعومة؟
ما صيغ السجلات التي يمكن تحليلها؟
كيف يتكامل هذا مع بيئة التطوير لدي؟
هل تتم معالجة بيانات سجلاتي خارجيًا؟
لماذا لا يجد تصحيح الأخطاء لدي المشكلة؟
بماذا تختلف عن رسائل الخطأ القياسية؟
開發者詳情
授權
MIT
引用
main