OpenSkills
PublishCollections
All skills

OpenSkills

Open registry for Agent Skills. Built on Base.

@getOpenSkills

Product

  • Gallery
  • Collections
  • Publish a skill

Account

  • Dashboard
  • My stars

Learn

  • What is a skill?
  • Content policy

Community

  • X (@getOpenSkills)

Skills are published by the community. Review a skill before giving it to your agent.

© 2026 OpenSkills

Coding#debugging#bugs#root-cause

debugger

Find the root cause of a bug systematically: reproduce it, form hypotheses, test them with evidence, then fix and verify. Use when something is broken, a test fails, or the user reports an error or unexpected behavior.

Author
OpenSkills
Downloads
0 downloads
Updated
Updated Nov 27, 2026
Version
v1 · History
Download

Debugger

When to use

  • An error, stack trace, failing test, crash, or "it doesn't work".
  • Behavior differs between environments, or started after a change.

Process

  1. Reproduce. Get the exact command, input, and output. If you cannot reproduce it, say so and collect more information (logs, versions, environment) before changing code.
  2. Read the error carefully. The first error in the log is usually the real one; later ones are often consequences.
  3. Narrow the search.
    • What changed? git log, git diff, dependency updates, config, data.
    • Bisect: git bisect, or comment out halves until the failure moves.
    • Make the failing case as small as possible.
  4. Form hypotheses and test each one with a single targeted experiment: a log line, an assertion, a debugger breakpoint, a minimal script. Write down what each result rules in or out.
  5. Fix the root cause, not the symptom. Ask "why?" until you reach something that is actually wrong (a wrong assumption, a missing check, a race), not just where it crashed.
  6. Verify: the original reproduction now passes, add a regression test, and run the surrounding test suite.

Rules

  • Change one thing at a time.
  • Do not guess-and-patch (adding try/except, null checks, retries or sleeps) to make an error disappear without understanding it.
  • Remove temporary debug logging before finishing.
  • If the fix is risky or the root cause is outside the code (data, infra, third party), explain and propose options instead of forcing a change.

Output format

## Problem
What fails, how to reproduce.

## Root cause
What is actually wrong and why, with the evidence.

## Fix
What changed and why it addresses the cause.

## Verification
Commands run and results; regression test added.
Safety check
No issues found

Automatic pattern check — always read a skill before using it.

Install
Each skill is a folder with a SKILL.md inside. Run one command in your terminal:

This project (.claude/skills/debugger/)

mkdir -p .claude/skills/debugger && curl -fsSL https://getopenskills.xyz/api/skills/debugger/raw -o .claude/skills/debugger/SKILL.md

All projects (~/.claude/skills/debugger/)

mkdir -p ~/.claude/skills/debugger && curl -fsSL https://getopenskills.xyz/api/skills/debugger/raw -o ~/.claude/skills/debugger/SKILL.md

Skills are published by the community. Read a skill before giving it to your agent.

Reviews

No reviews yet.

Similar skills

test-writer
Write focused unit and integration tests for existing code using the project's own test framework and conventions. Use when the user asks to add tests, improve coverage, or write a failing test for a bug.
Codingby OpenSkills
Downloads:0
webapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
Codingby anthropics/skills
Downloads:0
code-reviewer
Review a code diff or file for bugs, security issues, performance problems, and readability, and return prioritized, actionable findings. Use when the user asks for a code review, PR review, or "check my code".
Codingby OpenSkills
Downloads:0
git-commit-writer
Write clear git commit messages from a diff or a description of the change, following Conventional Commits. Use when the user asks for a commit message, to commit changes, or to clean up commit history wording.
Codingby OpenSkills
Downloads:0
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
Codingby anthropics/skills
Downloads:0