Skillpedia
الكتابة40k · #7103

bug-reproduction-brief

ما الذي تفعله

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

متى تستخدمها

  • ✓عندما يحدث الخطأ أحياناً فقط.
  • ✓عندما يحدث الخطأ على جهاز أو إعداد محدد فقط.
  • ✓عندما يكون وصف الخطأ غير واضح أو ناقصاً.

رابط المهارة

https://github.com/github/awesome-copilot/blob/main/skills/bug-reproduction-brief/SKILL.md

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

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

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

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

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

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

“حوّل خطأ الدفع هذا إلى دليل خطوة بخطوة مختصر يعيد إنتاجه. أظهر ما يجب أن يحدث، وما حدث فعلاً، وما الأجزاء التي لا تزال مجهولة.”

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

كيف تعمل

تطلب منك هذه المهارة تسجيل الخطأ بدقة، والبيئة التي يحدث فيها (مثل إصدار البرنامج)، وما يجب أن يحدث مقابل ما يحدث فعلاً. ثم توجهك لتبسيط الخطوات قدر الإمكان حتى تجد أقصر تسلسل ما زال يسبب الخطأ، دون محاولة إصلاحه.

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

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

Bug Reproduction Brief

Use this skill when a bug report is incomplete, intermittent, environment-specific, or mixed with an assumed cause. The goal is to prove the smallest observable failure before diagnosis or repair begins.

1. Record the observed failure

Capture the exact error, incorrect output, timestamp, affected route or command, and the smallest known input. Preserve relevant logs without secrets or personal data. Label second-hand descriptions as unverified.

2. Identify the environment

Record only facts you can inspect:

  • repository and commit;
  • runtime and package-manager versions;
  • operating system or container;
  • dependency lockfile;
  • relevant feature flags;
  • whether the target is local, test, staging, or production.

Never guess credentials or production configuration.

3. Separate expected from actual behaviour

Write two explicit observable statements:

Expected: [observable result]
Actual:   [observable result, including status or error]

Do not put the suspected cause in either statement.

4. Reduce the reproduction

Start from the reported path, then remove unrelated data, services, and steps one at a time. Keep the smallest fixture that still fails. If the failure stops, restore the last removed condition and record it.

Prefer an isolated test, minimal script, or smallest safe request over reproducing against production.

5. Prove repeatability

Run the minimal reproduction at least twice where safe. Record commands and outputs. If the failure is intermittent, report the observed frequency and duration instead of calling it deterministic.

6. Stop before repair

A verified reproduction is the deliverable. Do not edit implementation code while building the brief because that can destroy the evidence or mix diagnosis with remediation.

Output

# Bug Reproduction Brief

- Target and commit:
- Environment:
- Expected:
- Actual:
- Minimal steps:
- Minimal fixture:
- Reproduced: yes / no / intermittent
- Evidence:
- Unknowns:
- Safe next hypothesis to test:

Safety boundaries

  • Do not change production data merely to reproduce a bug.
  • Do not publish secrets, customer records, or private source.
  • Do not claim a root cause from correlation alone.
  • Use read-only or reversible discovery first.
  • Stop after a verified reproduction; diagnosis and repair are separate workflows.

Example prompt

Use the Bug Reproduction Brief skill on the failing checkout test. Do not fix it yet. Reduce it to the smallest safe failing fixture and report the exact command evidence, expected result, actual result, and remaining unknowns.

Source and licence

Adapted from the MIT-licensed workflow at https://github.com/skyestrela/ai-agent-skill-preview.

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

ما هو «تقرير الخطأ»؟

هو وصف لمشكلة أو خطأ في برنامج أو نظام.

ماذا تعني «إعادة الإنتاج الأدنى» (minimal reproduction)؟

هي أصغر سلسلة من الإجراءات أو أصغر مجموعة من البيانات تُعيد إحداث الخطأ بشكل موثوق.

لماذا لا أحاول إصلاح الخطأ عند استخدام هذه المهارة؟

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

التفاصيل

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

Turn a vague, intermittent, or environment-specific bug report into a minimal evidence-backed reproduction before proposing a fix.

repo: github/awesome-copilot

الشعبية

نجوم GitHub
40k
الترتيب
#7103
الترخيص
MIT
آخر تحديث
15‏/10‏/2026

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

0

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

التعليقات

  • …

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

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