agent-qa-debug-fix
ما الذي تفعله
هذه المهارة تُصلح الاختبارات البرمجية الفاشلة. تحلل الأدلة من الاختبار الفاشل، مثل السجلات والملفات، وتُجري أصغر تغيير ضروري في الشيفرة لحل المشكلة، دون إخفاء العيوب الحقيقية.
متى تستخدمها
- ✓عندما يفشل اختبار برمجي ويحتاج إلى إصلاح.
- ✓إذا أشارت السجلات والملفات إلى خطأ في الاختبار أو البرنامج أو البيئة.
- ✓للتحقق مما إذا كان إصلاح صغير يعمل قبل تشغيل جميع الاختبارات.
رابط المهارة
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/agent-qa-debug-fix/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أصلح الاختبار الفاشل في بيئة التجريب، مستخدمًا المعلومات المتاحة.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تجمع المهارة أولًا كل المعلومات عن الاختبار الفاشل. ثم تحلل هذه المعلومات لفهم سبب الخطأ، وتُجري أصغر تغيير ممكن في الشيفرة أو الإعدادات لإصلاحه، دون أن تُسبب مشكلات جديدة.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Agent QA Debug Fix
Overview
Repair a failed Agent QA run from recorded evidence and the relevant local source. Treat the classifier as a hypothesis, make the smallest justified change, and verify the narrowest affected behavior without rewriting a test merely to conceal a real defect.
When to Use
- A failed Agent QA run has already been triaged and now requires a code or YAML repair.
- Artifacts and logs point to a test, hook, product, runtime, or agent-behavior defect.
- A proposed fix must be verified with the narrowest Agent QA or unit-test rerun.
- The user asks to self-heal or update a stale Agent QA definition from evidence.
Preconditions and Approval Boundary
- Confirm the repository, workspace, target environment, and files the user authorizes you to modify.
- Inspect the planned test's external side effects before rerunning it; obtain explicit confirmation for production-facing, destructive, or irreversible actions.
- Preserve unrelated user changes and keep the patch limited to the evidenced failure.
- Do not expose credentials or sensitive application data from artifacts and logs.
Workflow
- Start with evidence collection:
agent_qa_get_runagent_qa_get_run_stepsagent_qa_get_run_artifactagent_qa_get_run_logsagent_qa_get_run_execution_logs
- Call
agent_qa_classify_failureand treat its category as a hypothesis, not a verdict. - Identify the failing surface: test definition, hook, application under test, runtime infrastructure, or agent behavior.
- Inspect the relevant local files directly. Do not infer patches from artifacts alone.
- Explain the evidence-to-change link, then apply the smallest code or YAML change that accounts for the evidence.
- Validate any changed Agent QA definition before execution.
- Re-run the narrowest affected Agent QA test, suite, hook, or unit test within the approved environment.
- Report the root cause, changed files, verification command or MCP action, result, and remaining risk.
Fix Rules
- Do not invent selectors, screen states, screenshots, logs, or source files.
- Do not rewrite a test merely to make it pass when the artifact shows a product or runtime defect.
- Preserve canonical Agent QA IDs when editing tests, suites, hooks, or memory files.
- Prefer
agent_qa_validate_test,agent_qa_validate_suite, andagent_qa_validate_definitionbefore rerunning edited YAML. - When MCP is unavailable, use dashboard REST APIs or local
.agent-qaartifacts and state that MCP evidence was unavailable. - Stop and report the blocker when evidence cannot distinguish between materially different fixes.
Example
User: Fix the failed staging checkout run, but do not touch production.
Expected handling: collect the failed run evidence, classify it, inspect the implicated local
definition and application code, patch only the evidenced cause, validate, rerun the single
staging test, and report changed files plus remaining uncertainty.
Limitations
- Requires access to the relevant run evidence and local source; artifacts alone may not establish root cause.
- Cannot guarantee that an intermittent browser, device, network, or provider failure is fixed after one successful rerun.
- Does not authorize production changes, data mutation, dependency installation, or broader refactoring beyond the user's approved scope.
- A passing narrow rerun does not replace the repository's normal test suite or human review.
الأسئلة الشائعة
ماذا تعني «تشغيلات QA للوكلاء»؟
هي عمليات اختبار تلقائية تُجرى للتحقق من أن البرنامج يعمل بشكل صحيح.
ماذا تعني «التصحيح» و«الترقيع»؟
«التصحيح» يعني إيجاد الأخطاء وإصلاحها. «الترقيع» يعني تطبيق إصلاح صغير على البرنامج.
هل يمكنني استخدام هذه المهارة لإجراء تغييرات كبيرة على البرنامج؟
لا، هذه المهارة مصممة فقط لإجراء أصغر إصلاح ضروري لاختبار فاشل محدد، دون تعديل الأجزاء الأخرى من البرنامج.
التفاصيل
الوصف الأصلي من المؤلف
Debug, patch, and verify failed Agent QA runs from MCP evidence, artifacts, logs, and local code without hiding product or infrastructure defects.
الشعبية
- نجوم GitHub
- 48k
- الترتيب
- #3670
- الترخيص
- MIT
- آخر تحديث
- 15/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
00-andruia-consultant
48kيساعد وكيلك على بدء مشاريع الذكاء الاصطناعي أو تحسينها. يحلل الكود ويقترح الأدوات ويُعد خطط عمل بالإسبانية.
007
48kيتيح لوكيلك إجراء تدقيقات أمنية ونمذجة التهديدات. مفيد لحماية المشاريع من الهجمات والثغرات الأمنية.
10-andruia-skill-smith
48kيساعد وكيلك على إنشاء أدوات الذكاء الاصطناعي أو تحسينها. يحدد طريقة عملها، ويكتب توثيقها، ويتحقق من بنيتها.
20-andruia-niche-intelligence
48kيتيح لوكيلك إعداد ملخص عن صناعة محددة. مفيد لفهم السياق والقواعد وأنماط الاستخدام والمخاطر لمشروع ما، باستخدام مصادر موثوقة.
مهارات مشابهة
add-model-provider
394kتتيح لوكيلك ربط مزوّد نموذج ذكاء اصطناعي جديد بـ OpenClaw باستخدام أوامر إعداد آمنة، وإبقاء مفاتيح API خارج النص العادي، وإجراء اختبار حي.
acp-router
394kيساعد وكيلك على إرسال مهمة إلى مساعد برمجة مثل Claude Code أو Cursor عبر OpenClaw، فيعمل العمل داخل تلك الأداة.
browser-automation
394kتعلّم وكيلك التحكم في صفحات الويب خطوة بخطوة، بما في ذلك تسجيل الدخول والتبويبات والتعافي عندما تتوقف الصفحة عن الاستجابة.