Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/dongduong2001-debug
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
debug- Description
- None
- License
- MIT
- Instructions
- 54 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- missing YAML frontmatter
- name: missing
- description: missing
Files (9)
- SKILL.es.md
- SKILL.md
- SKILL.pt.md
- SKILL.ru.md
- SKILL.vi.md
- SKILL.md · crash-analysis/
- SKILL.md · memory/
- SKILL.md · network/
- SKILL.md · performance/
SKILL.md (first lines)
# Troubleshooting & Debugging Skill
> Skill, Debugging, SRE, Bug Fixing
## Context
Use this prompt when you are facing a bug, error trace, or unexpected behavior. This skill forces the AI to act as a troubleshooter, analyzing root causes systematically rather than just guessing solutions.
## Variables
- `{{error_message}}`: The exact error trace or log output.
- `{{behavior_description}}`: What you expected to happen vs what actually happened.
- `{{context_code}}`: The snippet of code where the error is occurring.
## Prompt
```text
Adopt the persona of a Senior Site Reliability Engineer (SRE) / Troubleshooter. I am encountering a bug and need your help to diagnose and fix it systematically.
Error Message / Stack Trace:
{{error_message}}
Expected vs Actual Behavior:
{{behavior_description}}
Relevant Code Context:
{{context_code}}
Please follow this debugging methodology:
1. **Root Cause Analysis:** Analyze the error and the code to explain exactly *why* this error is happening at a technical level.
2. **Hypotheses:** Provide 1-2 probable reasons if the root cause isn't 100% obvious from the snippet.
3. **The Fix:** Provide the exact code changes required to resolve the issue.
4. **Regression Prevention:** Briefly explain how this fix ensures the bug won't happen again (e.g., edge case handling).
Do not guess blindly. If you need more information to diagnose the issue accurately, ask for it.
```
## Example Usage
**Input:**
```text
Adopt the persona of a Senior Site Reliability Engineer (SRE) / Troubleshooter. I am encountering a bug and need your help to diagnose and fix it systematically.
Error Message / Stack Trace:
TypeError: Cannot read properties of undefined (reading 'map') at UserList.tsx:24
Expected vs Actual Behavior:
I expected the list of users to render, but instead the app crashes when the API takes too long to respond.
Relevant Code Context:
const UserList = ({ users }) => {
return <div>{users.map(u => <span key={u.id}>{u.name}</span>)}</div>
}
Please follow this debugging methodology:
[...rest of prompt...]
```From DongDuong2001/pudo-code-system, MIT.
More from DongDuong2001/pudo-code-system
- 0.619score
pudo-plan
DongDuong2001
PUDO Plan phase: turn a request into a short plan card (goal, scope, out of scope, success criteria, risks, steps) before any code is written.
SkillAFreshness: A★ 5Claude Code +9 - 0.619score
pudo
DongDuong2001
PUDO workflow: Plan -> Understand -> Develop -> Optimize.
SkillAFreshness: A★ 5Claude Code +9 - 0.614score
pudo-review
DongDuong2001
PUDO Optimize gate: review the current diff against the plan before calling work done: correctness, edge cases, tests, scope creep, remaining risks.
SkillAFreshness: A★ 5Claude Code +9 - 0.614score
pudo-handoff
DongDuong2001
Write the PUDO session handoff (.pudo/session.md) so another session, tool or teammate can continue the work.
SkillAFreshness: A★ 5Claude Code +9 - 0.575score
test
DongDuong2001
Core software testing methodologies and best practices
SkillAFreshness: A★ 5Claude Code +9 - 0.337score
react-native
DongDuong2001
No description from the publisher yet.
SkillAFreshness: A★ 5Claude Code +9 - 0.337score
plan
DongDuong2001
No description from the publisher yet.
SkillAFreshness: A★ 5Claude Code +9 - 0.337score
smart-contracts
DongDuong2001
No description from the publisher yet.
SkillAFreshness: A★ 5Claude Code +9 - 0.337score
fastapi
DongDuong2001
No description from the publisher yet.
SkillAFreshness: A★ 5Claude Code +9 - 0.337score
rust
DongDuong2001
No description from the publisher yet.
SkillAFreshness: A★ 5Claude Code +9 - 0.337score
code
DongDuong2001
No description from the publisher yet.
SkillAFreshness: A★ 5Claude Code +9 - 0.337score
devops
DongDuong2001
No description from the publisher yet.
SkillAFreshness: A★ 5Claude Code +9
Signals
- Stars
- 5
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- May 6, 2026 (5 months ago)
- Last release
- Oct 23, 2026 (5 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from DongDuong2001
- 0.619score
pudo
DongDuong2001
PUDO workflow: Plan -> Understand -> Develop -> Optimize.
SkillAFreshness: A★ 5Claude Code +9 - 0.619score
pudo-plan
DongDuong2001
PUDO Plan phase: turn a request into a short plan card (goal, scope, out of scope, success criteria, risks, steps) before any code is written.
SkillAFreshness: A★ 5Claude Code +9 - 0.614score
pudo-handoff
DongDuong2001
Write the PUDO session handoff (.pudo/session.md) so another session, tool or teammate can continue the work.
SkillAFreshness: A★ 5Claude Code +9 - 0.614score
pudo-review
DongDuong2001
PUDO Optimize gate: review the current diff against the plan before calling work done: correctness, edge cases, tests, scope creep, remaining risks.
SkillAFreshness: A★ 5Claude Code +9 - 0.575score
test
DongDuong2001
Core software testing methodologies and best practices
SkillAFreshness: A★ 5Claude Code +9
Cite this page
debug skill. Agent Mart. https://agentmart.dev/skills/dongduong2001-debug (last updated 2026-10-24)