debug

โดย anthropic

เซสชันการดีบักที่มีโครงสร้าง — ทำซ้ำ, แยกแยะ, วินิจฉัย, และแก้ไข เริ่มต้นด้วยข้อความแสดงข้อผิดพลาดหรือร่องรอยสแต็ก "สิ่งนี้ทำงานใน staging แต่ไม่ใช่ใน prod",…

npx skills add https://github.com/anthropics/knowledge-work-plugins --skill debug

/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.

Skills เพิ่มเติมจาก anthropic

comps-analysis
anthropic
ปฏิบัติตามลำดับชั้นของแหล่งข้อมูลนี้เสมอ:
official
analyzing-financial-statements
anthropic
ทักษะนี้คำนวณอัตราส่วนทางการเงินและตัวชี้วัดสำคัญจากข้อมูลงบการเงินเพื่อการวิเคราะห์การลงทุน
official
applying-brand-guidelines
anthropic
ทักษะนี้ใช้การสร้างแบรนด์และสไตล์องค์กรที่สอดคล้องกันกับเอกสารที่สร้างขึ้นทั้งหมด รวมถึงสี แบบอักษร เค้าโครง และข้อความ
official
cookbook-audit
anthropic
ตรวจสอบสมุดบันทึก Cookbook ของ Anthropic ตามเกณฑ์ที่กำหนด ใช้เมื่อมีการขอให้ตรวจสอบหรือประเมินสมุดบันทึก
official
creating-financial-models
anthropic
ทักษะนี้มีชุดเครื่องมือสร้างแบบจำลองทางการเงินขั้นสูง พร้อมการวิเคราะห์ DCF การทดสอบความไว การจำลองแบบมอนติคาร์โล และการวางแผนสถานการณ์สำหรับการลงทุน…
official
action-creator
anthropic
สร้างเทมเพลตการดำเนินการแบบคลิกเดียวเฉพาะผู้ใช้ที่ดำเนินการอีเมลเมื่อคลิกในอินเทอร์เฟซแชท ใช้เมื่อผู้ใช้ต้องการการดำเนินการที่ใช้ซ้ำได้สำหรับ...
official
docx
anthropic
การสร้างเอกสาร การแก้ไข และการวิเคราะห์อย่างครอบคลุม พร้อมรองรับการติดตามการเปลี่ยนแปลง ความคิดเห็น การรักษารูปแบบ และการแยกข้อความ เมื่อ Claude…
official
executive-briefing
anthropic
แปลงผลการวิจัยเป็นรายงานสรุปสำหรับผู้บริหาร เปิดใช้งานโดยอัตโนมัติเมื่อผู้ใช้กล่าวถึง 'executive', 'briefing', 'C-suite', 'board',…
official