debug — community debug, doan2_DH22Tin08_LeMinhNhut_lo_trinh_hoc_it, MinhNhut05, community, ai agent skill, ide skills, agent automation, AI agent skills, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Ideal for IT Support Agents requiring systematic bug analysis and fix suggestions in Vietnamese Analyze bugs and suggest fixes with step-by-step debugging approach. Use when encountering errors or unexpected behavior.

MinhNhut05 MinhNhut05
[2]
[0]
Updated: 2/15/2026

Quality Score

Top 5%
54
Excellent
Based on code quality & docs
Installation
SYS Universal Install (Auto-Detect)
> npx killer-skills add MinhNhut05/doan2_DH22Tin08_LeMinhNhut_lo_trinh_hoc_it/debug
Supports 19+ Platforms
Cursor
Windsurf
VS Code
Trae
Claude
OpenClaw
+12 more

Agent Capability Analysis

The debug skill by MinhNhut05 is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance.

Ideal Agent Persona

Ideal for IT Support Agents requiring systematic bug analysis and fix suggestions in Vietnamese

Core Value

Empowers agents to analyze bugs systematically, suggest fixes with explanations, and interact with users through error messages, file paths, or descriptions, utilizing natural language processing for Vietnamese IT learners

Capabilities Granted for debug

Debugging code errors with step-by-step reproducing steps
Analyzing error messages for precise fix suggestions
Gathering information on recent code changes for bug identification

! Prerequisites & Limits

  • Requires user input for error messages, file paths, or bug descriptions
  • Limited to Vietnamese language support
  • Needs access to user-specific project files or endpoints for effective debugging
Project
SKILL.md
2.7 KB
.cursorrules
1.2 KB
package.json
240 B
Ready
UTF-8

# Tags

[No tags]
SKILL.md
Readonly

Debug Helper

Analyze bugs systematically and suggest fixes with explanations.

Important: Follow the Learning Mode guidelines in _templates/learning-mode.md

Arguments

  • $ARGUMENTS - Error message, file path, or description of the bug

Instructions

When the user runs /debug <problem>:

Step 1: Gather information

Ask if not provided:

  1. "Error message chính xác là gì?"
  2. "Bug xảy ra ở file/endpoint nào?"
  3. "Có reproduce được không? Steps?"
  4. "Gần đây có thay đổi gì liên quan không?"

Step 2: Analyze the problem

For Runtime Errors:

  1. Read the error message and stack trace
  2. Identify the failing line/file
  3. Trace back to find root cause
  4. Check related files

For Logic Bugs:

  1. Understand expected vs actual behavior
  2. Trace the data flow
  3. Identify where logic diverges
  4. Check edge cases

For API Errors:

  1. Check request/response format
  2. Verify authentication/authorization
  3. Check database queries
  4. Verify external service calls

Step 3: Report analysis

## 🐛 Bug Analysis

### Problem Summary
[1-2 sentence description]

### Root Cause
**What:** [What's wrong]
**Where:** [File:line or component]
**Why:** [Why it happens]

### Evidence
```code
// The problematic code

Suggested Fix

code
1// The fixed code

Explanation

[Why this fix works - teaching moment]

Prevention

[How to avoid similar bugs in future]


### Step 4: Interactive debugging
After analysis, ask:
- "Bạn có muốn tôi apply fix này không?"
- "Bạn có muốn tôi giải thích kỹ hơn phần nào không?"
- "Bạn hiểu tại sao bug xảy ra chưa?"

## Common Bug Patterns

### NestJS
- Missing `@Injectable()` decorator
- Circular dependency
- Wrong module imports
- Async/await missing

### Prisma
- Missing `await` on queries
- Wrong relation in `include`
- Type mismatch in data

### React
- Missing dependency in useEffect
- State update on unmounted component
- Wrong key in lists

### TypeScript
- Null/undefined not handled
- Type assertion hiding real issue
- Generic type mismatch

## Debugging Strategies

1. **Binary Search**: Comment out half the code, narrow down
2. **Console.log**: Strategic logging at key points
3. **Rubber Duck**: Explain the code line by line
4. **Read Error Carefully**: Error messages often point to solution
5. **Check Recent Changes**: `git diff` to see what changed

## Example Usage

/debug "Cannot read property 'id' of undefined" /debug backend/src/modules/auth/auth.service.ts /debug "API returns 401 but user is logged in"


## After Completion

Remind user:
- "Nhớ update TRACKPAD.md với debugging lesson học được!"
- Suggest: "Có muốn tôi tạo test case để prevent regression không?"
- Share relevant debugging resources

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is debug?

Ideal for IT Support Agents requiring systematic bug analysis and fix suggestions in Vietnamese Analyze bugs and suggest fixes with step-by-step debugging approach. Use when encountering errors or unexpected behavior.

How do I install debug?

Run the command: npx killer-skills add MinhNhut05/doan2_DH22Tin08_LeMinhNhut_lo_trinh_hoc_it/debug. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for debug?

Key use cases include: Debugging code errors with step-by-step reproducing steps, Analyzing error messages for precise fix suggestions, Gathering information on recent code changes for bug identification.

Which IDEs are compatible with debug?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for debug?

Requires user input for error messages, file paths, or bug descriptions. Limited to Vietnamese language support. Needs access to user-specific project files or endpoints for effective debugging.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add MinhNhut05/doan2_DH22Tin08_LeMinhNhut_lo_trinh_hoc_it/debug. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use debug immediately in the current project.

Related Skills

Looking for an alternative to debug or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

Generate customizable widget plugins for the prompts.chat feed system

149.6k
0
Design

linear

Logo of lobehub
lobehub

Linear issue management. MUST USE when: (1) user mentions LOBE-xxx issue IDs (e.g. LOBE-4540), (2) user says linear, linear issue, link linear, (3) creating PRs that reference Linear issues. Provides

73.4k
0
Communication

testing

Logo of lobehub
lobehub

Testing guide using Vitest. Use when writing tests (.test.ts, .test.tsx), fixing failing tests, improving test coverage, or debugging test issues. Triggers on test creation, test debugging, mock setup

73.3k
0
Communication

zustand

Logo of lobehub
lobehub

Zustand state management guide. Use when working with store code (src/store/**), implementing actions, managing state, or creating slices. Triggers on Zustand store development, state management questions, or action implementation.

72.8k
0
Communication