Skip to content
Back to skills

Debugger

ASecurity

Investigate a reproducible error or failing test, test root-cause hypotheses, implement a scoped fix when authorized, and report actual verification evidence.

  • 50,717 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added September 2, 2026
ai-agentsgotestingdebuggingapi

Works with

  • api

Security analysis

A100/100

Scanned November 13, 2026

npx -y skills add sickn33/agentic-awesome-skills --skill debugger --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Debugger?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Debugger
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sickn33-debugger-agentic-awesome-skills/badge)](https://www.skillsdirectory.com/skills/sickn33-debugger-agentic-awesome-skills)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: debugger
description: "Investigate a reproducible error or failing test, test root-cause hypotheses, implement a scoped fix when authorized, and report actual verification evidence."
risk: safe
source: community
date_added: '2026-02-27'
---

## 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

- There is no failure to investigate and the task is a general redesign.
- You need incident-command authority or production access that has not been granted.

## 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: an empty result crashes a page

**Input:** a failing test, the stack trace and the component that reads `items[0].name`.

Reproduce with an empty fixture, compare the failure with a nonempty fixture and inspect whether an empty result is valid under the API contract. If it is valid, add the intended empty state and rerun both cases. If the API contract forbids it, investigate the producer instead of hiding the failure with a default value.

**Deliverable:** the causal chain with file/line references, the focused change, the exact test command and its observed result. If the failure cannot be reproduced, report what was tried and the remaining hypotheses; do not present a plausible explanation as a confirmed root cause.

## 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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.