abacusai/abacusai-bot/debugging

Claude Code and agent skill by abacusai/abacusai-bot

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Track down a bug methodically instead of guessing: reproducing it, bisecting the cause, and confirming the fix. Use when something is broken, intermittent, or behaving differently than expected, especially after a few obvious fixes have failed.

Install

npx vskill@latest install abacusai/abacusai-bot/debugging

SKILL.md

Debugging

The failure mode to avoid is plausible-guess-then-change. Each guess that "looks right" and does not fix it leaves behind an edit that now has to be un-reasoned about later.

Order of operations

1. Reproduce it, reliably. If you cannot reproduce it on demand, you cannot know you fixed it. An intermittent bug that "seems fine now" is a bug you have not fixed. Find the smallest input that triggers it.

2. Read the actual error. All of it: the message, the type, and the deepest frame in your code, not the top frame in a library. Stack traces are read bottom-up for cause and top-down for context.

3. Verify your assumptions before theorising. Most stuck debugging is a false premise: the function is not being called, the config is not what you think, the file on disk is not the one being loaded, the build is stale. Print the value. Do not reason about what it should be.

4. Bisect. Halve the search space each step, in whichever dimension is cheapest:

  • time: git bisect, or diff against the last known-good commit
  • code path: does it fail with the middle layer stubbed out?
  • input: does half the input still trigger it?

5. Fix the cause, not the symptom. A try/except around the error, a null-check on the crash line, or a retry loop each make the symptom disappear while leaving the bug. If you cannot explain why the fix works, you have not found it.

6. Prove it. Re-run the reproduction from step 1. Then check the fix did not break the neighbours.

Techniques worth reaching for

  • Print debugging is not beneath you. It beats a debugger for anything

timing-related, concurrent, or inside a hot loop.

  • Rubber-ducking works because stating the assumption out loud is what

exposes it as an assumption.

  • When it works in one environment and not another, diff the environments:

versions, env vars, working directory, permissions, clock, locale.

  • When it broke "for no reason", something changed. A dependency resolved to

a new version, a cache expired, a certificate rolled, data grew past a limit.

  • Intermittent almost always means concurrency, ordering, timing, uninitialised

memory, network, or a clock. That list is short: walk it.

Say what you found

When reporting, separate what you observed from what you concluded. "The request returns 403 and the token is empty" is an observation. "Auth is broken" is a conclusion, and it might be wrong.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
253
Repository forks
36
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/abacusai/abacusai-bot/debugging/badge)](https://verified-skill.com/skills/abacusai/abacusai-bot/debugging)

Something wrong with this skill or its page? Tell us.