Langsung ke konten
Skillpedia
Pemrograman umum11k Β· #11644

debug

Fungsinya

Skill ini memandu penyelidikan bug perangkat lunak langkah demi langkah. Skill ini ditujukan untuk developer dan staf dukungan yang menghadapi error atau perilaku yang tidak sesuai harapan.

Kapan dipakai

  • βœ“Saat Anda punya pesan error atau stack trace dan belum tahu penyebabnya.
  • βœ“Saat sesuatu berfungsi di staging tetapi gagal di produksi.
  • βœ“Saat sesuatu rusak tepat setelah deploy dan Anda perlu tahu alasannya.

Link skill

https://github.com/TencentCloud/Octop/blob/main/src/octop/infra/agents/experts/library/engineering/skills/debug/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/TencentCloud/Octop/blob/main/src/octop/infra/agents/experts/library/engineering/skills/debug/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

β€œAplikasi kami berjalan di staging tetapi crash di produksi dengan pesan error ini. Bantu saya menemukan penyebabnya.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent memastikan apa yang seharusnya terjadi dibandingkan dengan yang sebenarnya terjadi, mempersempit komponen atau jalur kode, dan menyusun hipotesis untuk diuji. Agent menelusuri penyebabnya lalu mengusulkan perbaikan.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

/debug

If you see unfamiliar placeholders or need to check which tools are connected, see CONNECTORS.md.

Run a structured debugging session to find and fix issues systematically.

Usage

/debug $ARGUMENTS

How It Works

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                       DEBUG                                        β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  Step 1: REPRODUCE                                                β”‚
β”‚  βœ“ Understand the expected vs. actual behavior                   β”‚
β”‚  βœ“ Identify exact reproduction steps                             β”‚
β”‚  βœ“ Determine scope (when did it start? who is affected?)        β”‚
β”‚                                                                    β”‚
β”‚  Step 2: ISOLATE                                                   β”‚
β”‚  βœ“ Narrow down the component, service, or code path             β”‚
β”‚  βœ“ Check recent changes (deploys, config changes, dependencies) β”‚
β”‚  βœ“ Review logs and error messages                                β”‚
β”‚                                                                    β”‚
β”‚  Step 3: DIAGNOSE                                                  β”‚
β”‚  βœ“ Form hypotheses and test them                                 β”‚
β”‚  βœ“ Trace the code path                                           β”‚
β”‚  βœ“ Identify root cause (not just symptoms)                      β”‚
β”‚                                                                    β”‚
β”‚  Step 4: FIX                                                       β”‚
β”‚  βœ“ Propose a fix with explanation                                β”‚
β”‚  βœ“ Consider side effects and edge cases                          β”‚
β”‚  βœ“ Suggest tests to prevent regression                           β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

What I Need From You

Tell me about the problem. Any of these help:

  • Error message or stack trace
  • Steps to reproduce
  • What changed recently
  • Logs or screenshots
  • Expected vs. actual behavior

Output

## Debug Report: [Issue Summary]

### Reproduction
- **Expected**: [What should happen]
- **Actual**: [What happens instead]
- **Steps**: [How to reproduce]

### Root Cause
[Explanation of why the bug occurs]

### Fix
[Code changes or configuration fixes needed]

### Prevention
- [Test to add]
- [Guard to put in place]

If Connectors Available

If ~~monitoring is connected:

  • Pull logs, error rates, and metrics around the time of the issue
  • Show recent deploys and config changes that may correlate

If ~~source control is connected:

  • Identify recent commits and PRs that touched affected code paths
  • Check if the issue correlates with a specific change

If ~~project tracker is connected:

  • Search for related bug reports or known issues
  • Create a ticket for the fix once identified

Tips

  1. Share error messages exactly β€” Don't paraphrase. The exact text matters.
  2. Mention what changed β€” Recent deploys, dependency updates, and config changes are top suspects.
  3. Include context β€” "This works in staging but not prod" or "Only affects large payloads" narrows things fast.
Pertanyaan umum

Apa yang diperiksa agent lebih dulu?

Agent mereproduksi masalah dan memeriksa perubahan terbaru seperti deploy, perubahan konfigurasi dan pembaruan dependensi.

Apakah agent hanya melihat kode?

Tidak. Agent juga meninjau log dan pesan error untuk mempersempit masalah.

Apakah skill berhenti setelah menemukan penyebabnya?

Tidak. Skill mencakup perbaikannya juga, tidak hanya diagnosisnya.

Detail

Deskripsi asli dari pembuat

Structured debugging session β€” reproduce, isolate, diagnose, and fix. Trigger with an error message or stack trace, "this works in staging but not prod", "something broke after the deploy", or when behavior diverges from expected and the cause isn't obvious.

repo: TencentCloud/Octop

Popularitas

Bintang GitHub
11k
Peringkat
#11644
Lisensi
MIT
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa