debug — community doan2_DH22Tin08_LeMinhNhut_lo_trinh_hoc_it, community, ide skills, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Ideal for IT Support Agents requiring systematic bug analysis and resolution capabilities. AI-assisted personalized learning path for IT learners in Vietnam

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

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 resolution capabilities.

Core Value

Empowers agents to analyze bugs systematically, suggest fixes with explanations, and interact with users through error messages, file paths, and bug descriptions, utilizing natural language processing for effective debugging.

Capabilities Granted for debug

Debugging code errors with step-by-step reproduction
Analyzing error messages for root cause identification
Providing explanations for suggested fixes

! Prerequisites & Limits

  • Requires user input for error messages, file paths, or bug descriptions
  • Limited to text-based debugging
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

debug

Install debug, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

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 resolution capabilities. AI-assisted personalized learning path for IT learners in Vietnam

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 reproduction, Analyzing error messages for root cause identification, Providing explanations for suggested fixes.

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 text-based 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

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI