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

bug-receipt

ما الذي تفعله

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

متى تستخدمها

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

رابط المهارة

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

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

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

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

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

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

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

“أغلق هذا الخطأ مع إيصال: لا يُحمَّل الموقع للمستخدمين المسجلين. السبب خطأ في الخادم. الإصلاح كان إعادة تشغيل الخدمة. تحقق من أن الموقع يُحمَّل الآن.”

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

كيف تعمل

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

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

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

Bug Receipt

Mandatory closeout output

For every bug or incident closeout decision, return the complete receipt below as the entire user-facing result, even when the user requests a concise reply or does not name this format. Concision shortens field values; it never removes or renames a row. Do not replace the receipt with prose.

BUG RECEIPT · VERIFIED | PARTIAL | BLOCKED

Problem    <observed defect and intended behavior>
Baseline   <failing interaction or command and decisive result; or not run>
Root cause <proven mechanism; or unproven hypothesis>
Change     <responsible change; or none>
Proof      <supplied or executed check: result; include every decisive layer>
Gaps       <none; or exact missing proof and single next experiment/package>
Source     executed now | supplied | mixed

Use not run, unproven, or none explicitly. Never omit a row to make the receipt look complete.

Establish the evidence boundary

Before editing, record the observed problem, intended behavior, strongest direct check, and evidence source: executed now, supplied, or mixed. Never imply that supplied evidence was executed in the current run.

Keep evidence privacy-minimal. Redact credentials, tokens, cookies, personal data, private URLs, and sensitive payloads; preserve only the identifiers and excerpts needed to reproduce or correlate the failure.

Reproduce the failure with the narrowest safe check when possible. If reproduction is unavailable, preserve the evidence obtained and cap the result at PARTIAL or BLOCKED.

Trace and repair

  1. Follow the live owner path from input to symptom.
  2. Separate observed facts, bounded inferences, and gaps.
  3. Require a concrete location or runtime transition before naming root cause.
  4. Make the smallest responsible change; avoid unrelated cleanup, retries, silent fallbacks, and fixture-specific exceptions.

Do not convert a plausible patch, stale log, source read, or passing build into proof of the user-visible behavior.

Close the proof loop

Run only checks required by the affected contract:

  • original reproduction or direct acceptance check;
  • nearest negative or regression check;
  • affected build or integration gate;
  • real UI, API, persistence, concurrency, or runtime path when the claim crosses that boundary.

Use these decisive boundaries:

Surface Required direct proof
Logic or failing test Original failing input or focused test now passes
UI behavior Real interaction plus relevant console and network observation
API or integration Request, response, and responsible service behavior
Persistence Write/read or reload round trip through the real owner path
Race or lifecycle Repeated concurrent trigger; zero-or-one success; affected-row and transaction evidence; final invariant
Cross-system blocker One sanitized failing request/response with timestamp or request ID, edge and application logs, and identity-provider logs when the trace reaches that owner

Assign status

  • VERIFIED: observed baseline, concrete cause, responsible change, all declared checks passed, no material gap.
  • PARTIAL: useful evidence exists, but a required proof layer is missing or inconclusive.
  • BLOCKED: a specific external condition prevents reproduction, repair, or proof.

For PARTIAL or BLOCKED, name the single minimal experiment or correlated evidence package that closes the decisive gap. Never invent a command, observation, count, location, or result.

For a machine-readable receipt or CI integration, read references/receipt-contract.md and conform to its JSON fields, evidence-source marker, compatibility rule, and status invariants.

When a JSON artifact is requested, start from assets/receipt.template.json, write it to a task-owned path, and validate it with node scripts/validate-receipt.mjs <receipt.json> from this skill directory. Do not commit the generated receipt unless the user requests it.

Source and license

Originally published at https://github.com/lMysticl/bug-receipt under the MIT License.

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

ماذا تعني «VERIFIED» و«PARTIAL» و«BLOCKED»؟

«VERIFIED» يعني أن المشكلة مُصلحة ومختبرة بالكامل. «PARTIAL» يعني وجود أدلة مفيدة لكن طبقة إثبات مطلوبة مفقودة أو غير حاسمة. «BLOCKED» يعني أن شيئاً ما يمنع إعادة إنتاج المشكلة أو إصلاحها أو إثباتها.

ما هو «إيصال الخطأ» (BUG RECEIPT)؟

هو التقرير الذي تُنشئه المهارة ويحتوي على كل المعلومات عن المشكلة وسببها وحلها، بتنسيق محدد.

هل أحتاج إلى تقديم كل التفاصيل للذكاء الاصطناعي؟

نعم، كلما قدمت تفاصيل أكثر عن المشكلة وسببها وطريقة التحقق، كان التقرير المُنشأ أدق وأنفع.

التفاصيل

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

Close defects and incidents with a BUG RECEIPT and VERIFIED, PARTIAL, or BLOCKED status after diagnosis, repair, or recovery.

repo: github/awesome-copilot

الشعبية

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

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

0

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

التعليقات

  • …

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

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