Langsung ke konten
Skillpedia
Menulis40k · #7103

bug-reproduction-brief

Fungsinya

Alat ini membantu mengubah deskripsi bug yang samar menjadi panduan langkah demi langkah yang sederhana dan jelas, yang menunjukkan di mana dan bagaimana error terjadi. Tujuannya adalah memiliki bukti minimal dari masalah sebelum mencoba memperbaikinya.

Kapan dipakai

  • ✓Saat sebuah bug hanya terjadi kadang-kadang.
  • ✓Saat sebuah bug hanya terjadi pada komputer atau pengaturan tertentu.
  • ✓Saat deskripsi bug tidak jelas atau tidak lengkap.

Link skill

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

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/github/awesome-copilot/blob/main/skills/bug-reproduction-brief/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit →

Contoh permintaan ke AI

“Ubah error checkout ini menjadi panduan langkah demi langkah yang minimal untuk mereproduksinya. Tunjukkan apa yang seharusnya terjadi, apa yang sebenarnya terjadi, dan bagian mana yang masih belum diketahui.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Alat ini meminta Anda mencatat error yang tepat, lingkungan tempat error terjadi (seperti versi program), serta apa yang seharusnya terjadi dibandingkan dengan yang benar-benar terjadi. Setelah itu, alat ini memandu Anda menyederhanakan langkah-langkah sebanyak mungkin hingga menemukan urutan terpendek yang masih menyebabkan error, tanpa mencoba memperbaikinya.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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.

Pertanyaan umum

Apa itu 'bug report'?

Ini adalah deskripsi tentang masalah atau error yang ditemukan dalam program atau sistem.

Apa arti 'minimal reproduction'?

Ini adalah urutan tindakan terkecil atau kumpulan data terkecil yang dapat secara andal memunculkan kembali error tersebut.

Mengapa saya tidak boleh mencoba memperbaiki bug saat menggunakan alat ini?

Karena tujuannya adalah memiliki bukti bug yang jelas dan sederhana terlebih dahulu. Mencoba memperbaikinya lebih awal dapat mengubah masalahnya dan membuatnya lebih sulit mengidentifikasi penyebab yang sebenarnya.

Detail

Deskripsi asli dari pembuat

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

repo: github/awesome-copilot

Popularitas

Bintang GitHub
40k
Peringkat
#7103
Lisensi
MIT
Diperbarui
15/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa