Skip to content
Back to skills

Debug Tools

ASecurity

Iterative debugging workflow with confidence scoring and strategic log injection. Five phases (investigate, inject logs, propose fix, verify, cleanup). Use when debugging unexpected behavior, silent errors, intermittent failures, or issues requiring runtime data. Also use when the user says something isn't working, behavior is inconsistent, tests pass but app fails, works in dev but not in prod, or wants to trace execution flow. Triggers on "debug", "fix bug", "investigate", "trace issue", "a...

  • 225 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 4, 2026
code-qualitydebugginggit

Security analysis

A100/100

Pro scans all 13 files and shows the line behind each finding

Scanned September 4, 2026

npx -y skills add NeverSight/skills_feed --skill debug-tools --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Debug Tools?

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

Security grade badge for Debug Tools
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/neversight-debug-tools/badge)](https://www.skillsdirectory.com/skills/neversight-debug-tools)

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: debug-tools
description: Iterative debugging workflow with confidence scoring and strategic log injection. Five phases (investigate, inject logs, propose fix, verify, cleanup). Use when debugging unexpected behavior, silent errors, intermittent failures, or issues requiring runtime data. Also use when the user says something isn't working, behavior is inconsistent, tests pass but app fails, works in dev but not in prod, or wants to trace execution flow. Triggers on "debug", "fix bug", "investigate", "trace issue", "add debug logs", "cleanup debug logs", "why is this broken", "not working".
metadata:
  author: github.com/adeonir
  version: "1.0.0"
---

# Debug Tools

Iterative debugging workflow with targeted log injection and cleanup.

## Workflow

```
investigate --> inject logs --> propose fix --> verify --> cleanup
     ^_________________________________________|
```

The workflow loops back to investigation if the fix doesn't work.

## Context Loading Strategy

Load only the reference matching the current trigger. Multiple references may be
loaded during a full debugging session (investigation often leads to log injection).

## Triggers

| Trigger Pattern | Reference |
|-----------------|-----------|
| Debug issue, investigate bug, fix bug | [investigation.md](references/investigation.md) |
| Add debug logs, inject logs, trace with logs | [log-injection.md](references/log-injection.md) |
| Remove debug logs, cleanup logs | [log-cleanup.md](references/log-cleanup.md) |
| Debug patterns, log format, common bugs | [debugging-patterns.md](references/debugging-patterns.md) |

## Cross-References

```
investigation.md <---> log-injection.md (investigation may request logs)
investigation.md <---> log-cleanup.md (after fix verified)
log-injection.md ----> log-cleanup.md (cleanup removes injected logs)
```

## Guidelines

**DO:**
- Use confidence scoring: >= 70 report as probable cause, 50-69 suggest logs
- Always use `[DEBUG]` prefix for injected logs (enables cleanup)
- Apply minimal fix: smallest change that resolves the issue
- Clean up debug logs automatically after fix is verified
- Use whatever debugging tools are available in the environment

**DON'T:**
- Report findings with confidence < 50
- Log sensitive data (passwords, tokens, PII)
- Apply large refactors as part of a bug fix
- Leave debug logs in production code

## Error Handling

- No bug description provided: ask user to describe the issue
- Cannot reproduce: suggest adding debug logs
- Fix doesn't work: return to investigation phase
- Logs left behind: user can request cleanup anytime

Files in this skill

  • SKILL.md2.5 KB
  • description_ar.txt1.1 KB
  • description_cn.txt619 B
  • description_de.txt834 B
  • description_en.txt572 B
  • description_es.txt766 B
  • description_fr.txt850 B
  • description_it.txt733 B
  • description_ja.txt952 B
  • description_ko.txt792 B
  • description_ru.txt1.3 KB
  • description_tw.txt616 B
  • stats.json66 B

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 code-quality →

Comments

Loading comments…

Newsletter

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