Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
girijashankarj avatar

Debug Issue

  • 1 installs
  • 27 repo stars
  • Updated April 25, 2026
  • girijashankarj/cursor-handbook

Structured workflow to reproduce a bug, isolate it, hypothesize causes, verify one, apply a minimal fix, and confirm with tests.

About

Provides a step-by-step workflow for debugging a reported or reproduced issue down to root cause. A developer uses it when asked to find why a scenario is failing and fix it.

  • Reproduce, isolate, hypothesize 2-3 causes, verify, fix
  • Adds a regression test and re-runs type-check and tests

Debug Issue by the numbers

  • 1 all-time installs (skills.sh)
  • Ranked #488 of 596 Debugging skills by installs in the Skillselion catalog
  • Data as of Jul 22, 2026 (Skillselion catalog sync)
npx skills add https://github.com/girijashankarj/cursor-handbook --skill debug-issue

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1
repo stars27
Last updatedApril 25, 2026
Repositorygirijashankarj/cursor-handbook

What it does

Structured workflow to reproduce a bug, isolate it, hypothesize causes, verify one, apply a minimal fix, and confirm with tests.

Files

SKILL.mdMarkdownGitHub ↗

Skill: Debug issue

Trigger

When the user asks to debug a bug, find the root cause, or fix a failing scenario.

Steps

1. Reproduce — Run or describe steps to reproduce; capture error message and stack if any. 2. Isolate — Narrow to the smallest repro (single request, single file, single branch). 3. Hypothesize — List 2–3 likely causes (e.g. null input, wrong config, race). 4. Verify — Add a log, assertion, or minimal test to confirm one cause. 5. Fix — Apply minimal code change; add or update a test to prevent regression. 6. Confirm — Run type-check and relevant tests.

Rules

  • Do not change unrelated code.
  • Prefer adding a test that fails before the fix and passes after.

Related skills

Debuggingbackend

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.