Skip to content
Back to skills

Debug Mode

ASecurity

Debug mode workflows and best practices for troubleshooting bugs, regressions, and performance issues. Use when debugging tricky issues that standard agent interactions struggle with.

  • 207 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added February 7, 2026
toolsdebuggingperformance

Works with

  • cursor

Security analysis

A100/100

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

Scanned February 12, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Debug Mode?

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

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

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-mode
description: "Debug mode workflows and best practices for troubleshooting bugs, regressions, and performance issues. Use when debugging tricky issues that standard agent interactions struggle with."
---

# Debug Mode Skill

Specialized workflows for Debug Mode: hypothesis generation, log instrumentation, runtime analysis, and targeted fixes.

## When to Use

Use this skill when:
- Debugging tricky bugs that are hard to reproduce
- Investigating regressions
- Analyzing performance issues
- Troubleshooting race conditions
- Standard agent interactions aren't working

## Debug Mode Workflow

### 1. Exploration and Hypothesis

**Agent will:**
- Explore relevant code paths
- Generate hypotheses about root causes
- Identify potential failure points
- Plan instrumentation strategy

### 2. Instrumentation

**Agent adds:**
- Log statements at key points
- State tracking (variables, buffers, connections)
- Timing information
- Error condition checks

### 3. Reproduction

**You provide:**
- Detailed reproduction steps
- Expected vs actual behavior
- Error messages and stack traces
- Context about when bug occurs

### 4. Analysis

**Agent analyzes:**
- Collected logs
- State transitions
- Timing patterns
- Error conditions

### 5. Fix

**Agent makes:**
- Targeted fix based on evidence
- Minimal changes to address root cause
- Verification of fix
- Cleanup of instrumentation

## Best Practices

1. **Provide detailed context**: More information = better hypotheses
2. **Reproduce consistently**: Follow steps exactly
3. **Multiple reproductions**: For intermittent bugs
4. **Review fixes**: Ensure root cause addressed
5. **Clean up**: Remove instrumentation after fix

## Related Resources

- Rule: `.cursor/rules/agent-modes.mdc`
- Command: `/debug`
- Agent: `.cursor/skills/debug-mode/agents/debug-specialist.md`

Files in this skill

  • SKILL.md1.8 KB
  • description_cn.txt154 B
  • description_de.txt219 B
  • description_en.txt184 B
  • description_es.txt246 B
  • description_fr.txt248 B
  • description_ja.txt288 B
  • description_ko.txt221 B
  • description_tw.txt154 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.

Comments

Loading comments…