Debug Triage

Use when triaging a pasted error, stack trace, or terminal transcript. Activates on "debug this", "fix this", "why is this broken", or when a user pastes red terminal output. Produces a tight cause-fix-test report, not a lecture.

5 starsSoftware Development Plugin marketplace

Install

Claude Code plugin
/plugin marketplace add Sagargupta16/claude-skills

The repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add Sagargupta16/claude-skills --skill debug-triage
Manual install
git clone --depth 1 https://github.com/Sagargupta16/claude-skills.git /tmp/claude-skills
mkdir -p ~/.claude/skills
cp -r /tmp/claude-skills/plugins/debug-triage/skills/debug-triage ~/.claude/skills/debug-triage

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# debug-triage

## When to activate

- User pastes a terminal or PowerShell transcript containing an error.
- User pastes a stack trace.
- User says "debug", "fix this", "why is this broken", "what's going on here".

Do NOT activate for refactoring requests, feature work, or general code review -- those are separate tasks.

## Steps

1. **Parse the actual error.** Read stack traces bottom-up. The top frame is usually the symptom; the root cause is deeper in the stack or earlier in the log. Ignore generic first lines like "Traceback (most recent call last):" or "Uncaught Error".
2. **State the likely cause in one sentence.** Not a paragraph. "Null dereference on `user.profile` because the auth middleware returns `null` for unverified emails."
3. **Propose the fix as a diff or command.** Not prose. Either a code snippet showing before/after, or the exact shell command to run.
4. **Name a regression test.** Where it would live (`tests/auth/email_verify_test.py`), and what assertion would catch this bug next time. One line.
5. **Flag sibling updates.** If the fix changes behavior documented in README, CHANGELOG, or any doc file, list them. If not, say "none".

## Rules

- **Don't ask the user to reformat the paste.** Parse whatever they gave you.
- **Fix first, explain if asked.** Don't narrate what the error means at length.
- **Ambiguous errors:** if 2+ causes are equally likely, pick the likeliest and say so in one line. Do not dump all possibilities unless asked.
Read the full skill on GitHub

Details

Skill name
debug-triage
Path
plugins/debug-triage/skills/debug-triage/SKILL.md
License
MIT
Repo updated
13 November 2026

FAQ

What does the Debug Triage skill do?

Use when triaging a pasted error, stack trace, or terminal transcript. Activates on "debug this", "fix this", "why is this broken", or when a user pastes red terminal output. Produces a tight cause-fix-test report, not a lecture.

How do I install the Debug Triage skill?

Claude Code plugin: /plugin marketplace add Sagargupta16/claude-skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Debug Triage popular?

It lives in Sagargupta16/claude-skills, which has 5 GitHub stars and 0 forks.

Related skills

Clean Code

5

Sagargupta16/claude-skills

Use when the user writes new Python, or asks for review, refactor, or cleanup of Python code, names, comments/docstrings, functions, or tests. Applies Robert Martin's complete Clean Code catalog -- naming, functions, comments, DRY, boundary conditions, and tests -- to the code being changed.

Software Development

Context Management

5

Sagargupta16/claude-skills

Use when managing Claude Code context window during long sessions, when context feels degraded, or when deciding between /compact, /clear, /rewind, and sub-agents. Covers context rot detection, compaction timing, branching strategy, and sub-agent isolation patterns.

AI, LLMs & Agents

Deps Audit

5

Sagargupta16/claude-skills

Use when auditing, updating, or securing project dependencies. Covers multi-language dependency detection, security vulnerability scanning, outdated package identification, unused dependency detection, and update strategies for npm, pip, cargo, and go.

Security

Debugging Methodology

9

sandbaseai/workbuddy-skill

Use when investigating a software defect, intermittent failure, incorrect result, crash, or unexplained operational symptom.

Software Development

Data Quality Frameworks

9

sandbaseai/workbuddy-skill

Use when implementing data-quality checks, data contracts, validation pipelines, freshness monitoring, or CI/CD gates for analytical and operational datasets.

Software Development

Debugging Strategies

9

sandbaseai/workbuddy-skill

Use when investigating a reproducible or intermittent bug, performance regression, crash, or unexpected behavior with evidence, bounded hypotheses, minimal experiments, and regression verification.

Software Development

Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.