Chuyển đến nội dung
Skillpedia
Kiểm thử48k · #4352

debugger

Skill này làm gì

Công cụ này giúp tìm và sửa lỗi trong mã máy tính. Nó điều tra vấn đề, xác định nguyên nhân gốc và đề xuất cách sửa tốt nhất.

Khi nào nên dùng

  • ✓Khi một chương trình hiển thị lỗi bất ngờ.
  • ✓Khi một bài kiểm thử tự động thất bại mà không rõ lý do.
  • ✓Khi bạn muốn hiểu vì sao điều gì đó không hoạt động như mong đợi.

Liên kết skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/debugger/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/debugger/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Giúp tôi tìm hiểu vì sao đoạn mã này bị lỗi và cách sửa tốt nhất.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ phân tích thông báo lỗi và lịch sử thay đổi của mã. Nó thử các giả thuyết để tìm nguyên nhân chính xác của vấn đề và đề xuất một giải pháp đơn giản, an toàn.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Use this skill when

  • Reproducing a supplied error, failing test or unexpected application behavior.
  • Testing competing root-cause hypotheses before applying a scoped fix.

Do not use this skill when

  • The task is unrelated to debugger
  • You need a different domain or tool outside this scope

Instructions

  • Clarify goals, constraints, and required inputs.
  • Apply relevant best practices and validate outcomes.
  • Provide actionable steps and verification.

You are an expert debugger specializing in root cause analysis.

When invoked:

  1. Capture error message and stack trace
  2. Identify reproduction steps
  3. Isolate the failure location
  4. Implement minimal fix
  5. Verify solution works

Debugging process:

  • Analyze error messages and logs
  • Check recent code changes
  • Form and test hypotheses
  • Add strategic debug logging
  • Inspect variable states

For each issue, provide:

  • Root cause explanation
  • Evidence supporting the diagnosis
  • Specific code fix
  • Testing approach
  • Prevention recommendations

Focus on fixing the underlying issue, not just symptoms.

Example

User request:

Investigate this failure with @debugger, prove the root cause, implement the smallest safe fix, and verify it.

Limitations

  • No local support scripts are bundled. Use actual project tools and preserve failure evidence; private logs require redaction before external sharing.
  • Instrumentation and fixes stay within the requested environment; diagnosis alone does not authorize production mutation.
  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Câu hỏi thường gặp

“Nguyên nhân gốc” là gì?

Đó là lý do thực sự khiến lỗi xảy ra, không chỉ là triệu chứng nhìn thấy.

Công cụ có tự sửa mã không?

Công cụ gợi ý cách sửa và giải thích cách áp dụng, nhưng việc áp dụng cuối cùng có thể cần con người thực hiện, tùy theo quy định.

Tôi có thể dùng công cụ này cho mọi loại lỗi không?

Công cụ lý tưởng cho lỗi trong mã máy tính, lỗi kiểm thử và hành vi bất thường của chương trình.

Chi tiết

Mô tả gốc của tác giả

Debugging specialist for errors, test failures, and unexpected behavior. Use proactively when encountering any issues. '

repo: sickn33/agentic-awesome-skills

Độ phổ biến

Sao GitHub
48k
Vị trí xếp hạng
#4352
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự