Skip to content
Agentmart
Submit a tool

systematic-debug

Use for bugs whose cause is not localizable — intermittent or flaky failures, "works on my machine", regressions with no stack trace, heisenbugs, wrong…

Skill by mtvrkan

IndexedMIT★ 10
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/mtvrkan-systematic-debug

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use for bugs whose cause is not localizable — intermittent or flaky failures, "works on my machine", regressions with no stack trace, heisenbugs, wrong results with no error. Hypothesis-driven, one variable at a time.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/systematic-debug

Tools it pre-approves 6

From allowed-tools in SKILL.md: the agent may use these without asking you each time.

  • Read,
  • Grep,
  • Glob,
  • Bash,
  • Edit,
  • Write

What's inside

Skill name
systematic-debug
Description
Use for bugs whose cause is not localizable — intermittent or flaky failures, "works on my machine", regressions with no stack trace, heisenbugs, wrong results with no error. Hypothesis-driven, one variable at a time.
License
MIT
Allowed tools
Read,, Grep,, Glob,, Bash,, Edit,, Write
Instructions
21 lines in SKILL.md · view on GitHub

Before installing

  • Pre-approves some shell commands

Files (1)

  • SKILL.md

SKILL.md (first lines)

# systematic-debug

The bug-fix skill assumes the evidence points at a file. This one is for when it does not — guessing and patching is how a flaky bug becomes two.

1. REPRODUCE: find a command that shows the failure, and its rate (e.g. 3/20 runs). No reproduction → gather evidence first (logs, timestamps, inputs, environment diff); never fix what you cannot observe.
2. BISECT the change: last known good vs first known bad — `git bisect run <repro>` when history is the variable, halving the input when data is, toggling config/env one key at a time when the environment is.
3. HYPOTHESIS LOG: one hypothesis per attempt, the observation that would falsify it, the result. Change one variable per run. Two falsified in a row → widen the evidence, don't narrow the guess.
4. FIX at the proven cause only, then rerun the reproduction enough times to beat the observed failure rate. Add the reproduction as a regression test.
5. Race, timing or ordering cause → name the shared state and the missing ordering (lock, await, idempotency, transaction); a sleep or retry is not a fix.
6. Guarded area implicated (auth, payment, schema, CI) → stop and escalate per HARD STOPS with the log so far.

## Output

```text
REPRO: [command] — [failure rate before → after]
CAUSE: [proven cause] — [the evidence that proved it]
LOG: H1 [..] ✗ · H2 [..] ✓
FIX: [file:line — what changed] | TEST: [regression test]
```

From mtvrkan/senior-dev-kit, MIT.

More from mtvrkan/senior-dev-kit

Signals

Stars
10
Forks
0
Open issues
0
Last commit (this folder)
Sep 28, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from mtvrkan

Cite this page

systematic-debug skill. Agent Mart. https://agentmart.dev/skills/mtvrkan-systematic-debug (last updated 2026-10-24)