ClipMarts

Debug Detective

Systematic bug isolation instead of random print statements

FreeFree StarterFor solo operators and evaluation

What is Debug Detective?

A debugging skill that forces structured problem-solving. Instead of scattering console.log statements, the agent forms a hypothesis, identifies the minimal reproduction path, uses binary search through the call stack, checks recent git changes in the affected area, and produces a root-cause analysis before writing any fix.

Setup Time

1 min

Difficulty

Beginner

Works With
paperclipclaude-code

What's Included

  • debug-detective.md
  • examples/null-pointer-walkthrough.md
  • examples/race-condition-walkthrough.md
  • templates/bug-report.md
  • templates/root-cause-analysis.md
  • README.md

Preview

debug-detective.md
# Debug Detective Skill

## Investigation Protocol
When a bug is reported, follow these steps IN ORDER:

### 1. Reproduce
- Get the exact error message and stack trace
- Find the minimal input that triggers the bug
- Confirm: "I can reproduce this with: [steps]"

### 2. Hypothesize
- List 3 possible causes, ranked by likelihood
- For each: what evidence would confirm or rule it out?

### 3. Isolate (Binary Search)
- Check git blame on the failing line
- Find the last commit where this worked
- Narrow: is the bug in input, logic, or output?

Installation Guide

terminal
$ paperclipai skill import --from ./debug-detective/
Skill imported successfully.

One command to import — then assign to any agent in your company.

Option A: CLI (recommended)

1

Download and extract the ZIP

unzip debug-detective.zip
2

Import the skill

paperclipai skill import --from ./debug-detective/
3

Assign to an agent

# Via CLI:
paperclipai agent update <agent-name> --add-skill debug-detective

# Or in the dashboard:
# Agents → [agent name] → Skills → Add "Debug Detective"

Option B: Dashboard UI

1

Open Skills page

Navigate to Skills → Import Skill

2

Upload the product folder

From the extracted ZIP, upload the debug-detective/ directory containing SKILL.md.

3

Assign to agents

Go to Agents → [agent] → Skills and add "Debug Detective" from the list.

Share
Files included6
Setup time1 min
Difficultybeginner

Tags

debuggingtroubleshootingdiagnosticsfree