Agent skill

Systematic Debugging

by spencerpauly in spencerpauly/awesome-cursor-skills

Structured debugging methodology — reproduce, isolate, hypothesize, verify.

CC0-1.0Auto-check passedDevelopment

Install Systematic Debugging

skills CLI
$ npx skills add spencerpauly/awesome-cursor-skills --skill systematic-debugging -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install spencerpauly/awesome-cursor-skills systematic-debugging --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/spencerpauly/awesome-cursor-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/resources/systematic-debugging .claude/skills/systematic-debugging && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
systematic-debugging
GitHub stars
842
Token cost
~856 tokens
SKILL.md length
423 words
Files
1
Skills in repo
57
Repo updated
First seen
Licence
CC0-1.0

At a glance

Structured debugging methodology — reproduce, isolate, hypothesize, verify.

  • Works in 5 steps: Reproduce → Isolate → Hypothesize → …
  • Tasks that involve Debugging
  • SKILL.md covers The Process, Debugging Tools, Common Bug Patterns and Rules
  • Calls git

What it does

Systematic Debugging is an agent skill from spencerpauly/awesome-cursor-skills. Structured debugging methodology — reproduce, isolate, hypothesize, verify. Covers git bisect, binary search, logging, and minimal reproduction.

Its SKILL.md is about 860 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Debugging. It works with Git. The repository describes itself as: A curated list of awesome skills for Cursor. The licence is CC0-1.0.

When your agent uses it

  • Tasks that involve Debugging

Example prompts

  • “/systematic-debugging”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Reproduce
  2. Isolate
  3. Hypothesize
  4. Test the Hypothesis
  5. Fix and Verify

What it can do on your machine

Read from SKILL.md and the folder at commit 99cd265. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Systematic Debugging loads about 856 tokens when it runs. Until then it costs about 41 tokens; SKILL.md has 423 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~41
When it runs · the whole SKILL.md, loaded when a task matches
~856

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from spencerpauly/awesome-cursor-skills at commit 99cd265, republished under its CC0-1.0 licence (© spencerpauly). 423 words, ~856 tokens.

Download SKILL.mdSave it as .claude/skills/systematic-debugging/SKILL.md (or your agent's skills folder).
name
systematic-debugging
description
Structured debugging methodology — reproduce, isolate, hypothesize, verify. Covers git bisect, binary search, logging, and minimal reproduction.
user-invocable
true

Systematic Debugging

Debug methodically instead of randomly changing code.

The Process

1. Reproduce

Before anything else, reproduce the bug reliably:

  • Get the exact steps to trigger the issue
  • Note the expected vs actual behavior
  • Confirm it happens consistently (not intermittent)
  • Record the environment (OS, Node version, browser, etc.)

If you can't reproduce it, you can't fix it. Ask for more details.

2. Isolate

Narrow down where the bug lives:

Binary search the codebase:

  • Comment out half the system → does the bug persist?
  • If yes, the bug is in the remaining half → repeat
  • If no, the bug is in the commented-out half → repeat

Git bisect:

bash
git bisect start
git bisect bad          # current commit is broken
git bisect good <sha>   # this commit was working
# Git checks out the midpoint — test it
git bisect good         # or git bisect bad
# Repeat until it finds the first bad commit
git bisect reset        # when done

Isolate by layer:

  • Is it frontend or backend? (Check network tab)
  • Is it the database? (Query directly)
  • Is it the API? (curl the endpoint)
  • Is it the component? (Render it in isolation)
3. Hypothesize

Form a specific, testable hypothesis:

  • "The bug is caused by X because Y"
  • Not "something is wrong with the data"
  • Good: "The userId is null because the auth middleware doesn't run on this route"
4. Test the Hypothesis

Write the smallest possible test that proves/disproves your hypothesis:

  • Add a console.log or breakpoint at the suspected location
  • Check the value of the suspected variable
  • If your hypothesis is wrong, go back to step 3 with new information
  • If it's right, you've found the bug
5. Fix and Verify
  • Apply the minimal fix
  • Verify the original reproduction steps no longer trigger the bug
  • Check for regressions — did the fix break anything else?
  • Write a test that would have caught this bug
Show full SKILL.md (166 more words)Show less

Debugging Tools

ScenarioTool
"It worked before"git bisect
"I don't know where this runs"Add logging at entry/exit of suspect functions
"The data looks wrong"Inspect at each transformation step
"It only fails in production"Compare env vars, check logs, try to reproduce with prod data locally
"It's intermittent"Look for race conditions, timing issues, or uninitialized state
"The error message is useless"Search the codebase for where that error is thrown

Common Bug Patterns

  • Off-by-one: Array indices, pagination, date ranges
  • Null/undefined: Missing optional chaining, uninitialized state
  • Race condition: Async operations completing in unexpected order
  • Stale closure: React useEffect/useCallback capturing old values
  • Type coercion: == vs ===, string vs number comparisons
  • Missing await: Forgetting await on async functions
  • Environment mismatch: Works locally, fails in CI/prod due to different env vars or versions

Rules

  • Never guess — always verify with evidence
  • Fix the root cause, not the symptom
  • If you've spent 15 minutes without progress, step back and re-isolate
  • Document what you tried so you don't repeat failed approaches

© spencerpauly, CC0-1.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in resources/systematic-debugging of spencerpauly/awesome-cursor-skills.

Open the folder on GitHubat commit 99cd265

Compare with similar skills

Systematic Debugging next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Systematic Debugging compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Systematic Debugging this skillspencerpauly/awesome-cursor-skills842—~856Automated safety check: PassCC0-1.0
Debugging and Error Recoveryaddyosmani/agent-skills103k1 repos~2.6kAutomated safety check: PassMIT
Git History Bug Auditben-manes/caffeine18k—~3.3kAutomated safety check: PassApache-2.0
Leon Coding Agentleon-ai/leon18k—~1.1kAutomated safety check: PassMIT
Adk Setupgoogle/adk-python22k—~993Automated safety check: NotesApache-2.0
Debug Tuitrasta298/keifu811—~1.3kAutomated safety check: PassMIT

Similar skills

  • Debugging and Error Recovery

    addyosmani/agent-skills

    Applies a stop-the-line rule and a step-by-step triage when tests fail, builds break or something stops working, aiming at the root cause instead of guesses.

    103k GitHub starsUsed in 1 repo~2.6k tokens
    DevelopmentAuto-check passed
  • Git History Bug Audit

    ben-manes/caffeine

    Audits a module by walking its git history commit by commit, tracking unresolved issues forward, and reporting the ones that survive to HEAD as findings.

    18k GitHub stars~3.3k tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • Leon Coding Agent

    leon-ai/leon

    Has Leon's agent investigate, change and verify code in a repository with its file, search and shell tools, staying inside the scope the owner authorized.

    18k GitHub stars~1.1k tokensUpdated today
    DevelopmentAuto-check passed
  • Adk Setup

    google/adk-python

    Official

    Sets up a local ADK Python development environment in a git clone of the open-source adk-python repository: a uv virtual environment, all dependency extras, pre-commit hooks, and a first unit-test…

    22k GitHub stars~993 tokensUpdated today
    DevelopmentAuto-check: notes
  • Debug Tui

    trasta298/keifu

    Drive and debug the real keifu TUI autonomously via its remote-control debug server (--debug-listen) — launch headlessly, inject keys/mouse, dump the rendered screen as text, and inspect app state.

    811 GitHub stars~1.3k tokensUpdated 2 mo ago
    DevelopmentAuto-check passed
  • Superplane Changelog

    superplanehq/superplane

    When generating a SuperPlane changelog from merged commits. An agent skill from superplanehq/superplane.

    7.7k GitHub stars~2.3k tokensUpdated today
    DevelopmentAuto-check passed

More from spencerpauly/awesome-cursor-skills

All 57 skills in this repo
  • Babysitting PR

    spencerpauly/awesome-cursor-skills

    Monitor a pull request for CI failures, review comments, and merge conflicts — then fix them automatically.

    842 GitHub stars~930 tokensUpdated 2 mo ago
    Auto-check passed
  • Best Of N Solving

    spencerpauly/awesome-cursor-skills

    Solve a hard problem by trying multiple approaches in parallel using isolated git worktrees.

    842 GitHub stars~698 tokensUpdated 2 mo ago
    Auto-check passed
  • Grinding Until Pass

    spencerpauly/awesome-cursor-skills

    Keep iterating on code changes until the tests pass, the build succeeds, or linting is clean.

    842 GitHub stars~796 tokensUpdated 2 mo ago
    Auto-check passed
  • Parallel CI Triage

    spencerpauly/awesome-cursor-skills

    When GitHub Actions fails, fetch failing job logs and assign each failing job to a separate subagent that fixes its slice of the problem in parallel.

    842 GitHub stars~793 tokensUpdated 2 mo ago
    Auto-check passed
  • Parallel Exploring

    spencerpauly/awesome-cursor-skills

    Explore a large codebase in parallel by launching multiple explore subagents that each investigate a different area simultaneously.

    842 GitHub stars~787 tokensUpdated 2 mo ago
    Auto-check: notes
  • Profiling Performance

    spencerpauly/awesome-cursor-skills

    Profile a running web application's CPU performance using Cursor's built-in browser profiler.

    842 GitHub stars~686 tokensUpdated 2 mo ago
    Auto-check passed

Works with

Categories

Questions about Systematic Debugging

What does Systematic Debugging do?

Structured debugging methodology — reproduce, isolate, hypothesize, verify. Systematic Debugging is an agent skill from spencerpauly/awesome-cursor-skills. Structured debugging methodology — reproduce, isolate, hypothesize, verify.

When should I use Systematic Debugging?

Systematic Debugging fits situations like: tasks that involve Debugging.

How do I install Systematic Debugging in Claude Code?

Run `npx skills add spencerpauly/awesome-cursor-skills --skill systematic-debugging -a claude-code`. Or copy the skill folder (resources/systematic-debugging in spencerpauly/awesome-cursor-skills) into .claude/skills/systematic-debugging in your project. Claude Code loads it when a task matches its description.

How do I install Systematic Debugging in Codex?

Run `npx skills add spencerpauly/awesome-cursor-skills --skill systematic-debugging -a codex`. Or copy the skill folder (resources/systematic-debugging in spencerpauly/awesome-cursor-skills) into .agents/skills/systematic-debugging in your project. Codex loads it when a task matches its description.

Can I use Systematic Debugging in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add spencerpauly/awesome-cursor-skills --skill systematic-debugging -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/systematic-debugging, .gemini/skills/systematic-debugging, .github/skills/systematic-debugging and .opencode/skills/systematic-debugging in your project.

What does Systematic Debugging need to run?

Going by SKILL.md and its folder, Systematic Debugging needs the command-line tools its instructions call (git).

Does Systematic Debugging access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Systematic Debugging safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Systematic Debugging use?

Systematic Debugging is published under the CC0-1.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Systematic Debugging use?

About 856 tokens (SKILL.md is roughly 3.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Systematic Debugging?

Skills that share tags, products or a category with Systematic Debugging: Debugging and Error Recovery (addyosmani/agent-skills, 103k stars), Git History Bug Audit (ben-manes/caffeine, 18k stars), Leon Coding Agent (leon-ai/leon, 18k stars) and Adk Setup (google/adk-python, 22k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Systematic Debugging?

spencerpauly (a GitHub user) maintains it in spencerpauly/awesome-cursor-skills, which has 842 GitHub stars. The repository holds 57 skills in this directory. The repository was last updated on August 2, 2026.

Source: spencerpauly/awesome-cursor-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.