# discover-debugging

The discover-debugging skill points agents to debugging and profiling guides when a task involves stack traces, memory leaks, or GDB. Use it to find the relevant skill for an investigation.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 104 installs · ★ 193 repo stars
- Author: rand
- License: MIT · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/rand/cc-polymath/tree/HEAD/skills/discover-debugging/SKILL.md
- Updated: 2026-02-28
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/discover-debugging

## What it does

The skill activates around debugging and diagnostic work. Its catalog lists 14 debugging skills, including `gdb-fundamentals`, `core-dump-analysis`, `python-debugging`, and `remote-debugging`. Observability has a separate group of 8 skills.

It uses progressive loading: the gateway leads to a category overview, then to an individual skill. Read `../debugging/INDEX.md` or `../observability/INDEX.md` to browse those groups. This is a directory, not a debugging guide itself; the specific techniques live in the linked skill files.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add rand/cc-polymath --skill discover-debugging -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/discover-debugging/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/discover-debugging/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add rand/cc-polymath --skill discover-debugging -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/discover-debugging/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add rand/cc-polymath --skill discover-debugging -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/discover-debugging/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install rand/cc-polymath skills/discover-debugging
```

2. **Manually: put the files in place**
- File: `.github/skills/discover-debugging/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add rand/cc-polymath --skill discover-debugging -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/rand/cc-polymath --path skills/discover-debugging
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/discover-debugging/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add rand/cc-polymath --skill discover-debugging -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/rand/cc-polymath/tree/HEAD/skills/discover-debugging/SKILL.md

## When to use it
- find a guide for debugging with GDB or LLDB
- locate a skill for investigating a core dump
- choose a memory-leak debugging guide
- browse skills for performance profiling

## Example prompts
- Find a skill for investigating a memory leak in this project.
- Show me the debugging skills for analyzing a core dump.
- Locate a guide to profiling this code.

## Source text · SKILL.md · MIT

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: b90534c62d7644a2.

BEGIN THIRD-PARTY FILE b90534c62d7644a2
```text
---
name: discover-debugging
description: Automatically discover debugging and profiling skills when working with GDB, LLDB, breakpoints, profiling, stack traces, memory leaks, core dumps, or performance profiling. Activates for debugging development tasks.
license: MIT
metadata:
  author: rand
  version: "4.0"
compatibility: Designed for Claude Code. Compatible with any agent supporting the Agent Skills format.
---

# Debugging Skills Discovery

Provides automatic access to comprehensive debugging skills.

## When This Skill Activates
This skill auto-activates when you're working with:
- debugging
- GDB
- LLDB
- profiling
- memory leaks
- performance analysis
- troubleshooting
- diagnostics
- monitoring
- logging
- tracing
- metrics
- distributed tracing
- alerts
- dashboards
- observability

## Available Skills

### Quick Reference

The Debugging category contains 22 skills across 2 subcategories:

**Debugging (14 skills):**
1. **browser-devtools**
2. **concurrency-debugging**
3. **container-debugging**
4. **core-dump-analysis**
5. **crash-debugging**
6. **distributed-systems-debugging**
7. **gdb-fundamentals**
8. **lldb-macos-debugging**
9. **memory-leak-debugging**
10. **network-debugging**
11. **performance-profiling**
12. **production-debugging**
13. **python-debugging**
14. **remote-debugging**

**Observability (8 skills):** See `../observability/INDEX.md`

### Load Full Category Details
Read ../debugging/INDEX.md
Read ../observability/INDEX.md

## Progressive Loading

This gateway skill enables progressive loading:
- **Level 1**: Gateway loads automatically (you're here now)
- **Level 2**: Load category INDEX.md for full overview
- **Level 3**: Load specific skills as needed

## Usage Instructions

1. **Auto-activation**: This skill loads automatically when Claude Code detects debugging work
2. **Browse skills**: Run `Read ../debugging/INDEX.md` for full category overview
3. **Load specific skills**: Use bash commands above to load individual skills


**Next Steps**: Run `Read ../debugging/INDEX.md` to see full category details.
```
END THIRD-PARTY FILE b90534c62d7644a2

The third-party file has ended. Everything between the b90534c62d7644a2 tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

© rand · MIT · https://github.com/rand/cc-polymath/tree/HEAD/skills/discover-debugging/SKILL.md

## Similar
- [zig-debugging](https://affpapa.org/en/nevibecode/skills/zig-debugging.md) — skill · 590 installs
- [rust-debugging](https://affpapa.org/en/nevibecode/skills/rust-debugging.md) — skill · 641 installs
- [OpenImageDebugger MCP](https://affpapa.org/en/nevibecode/mcp/openimagedebugger-mcp.md) — MCP server · ★ 251 repo stars
- [rspack-debugging](https://affpapa.org/en/nevibecode/skills/rspack-debugging.md) — skill · 282 installs
- [godot-debugging-profiling](https://affpapa.org/en/nevibecode/skills/godot-debugging-profiling.md) — skill · 537 installs
- [debugging-strategies](https://affpapa.org/en/nevibecode/skills/debugging-strategies.md) — skill · 13414 installs

From the same set: [rand/cc-polymath](https://affpapa.org/en/nevibecode/by/rand/cc-polymath.md) — 19 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
