systematic-debugging

systematic-debugging is a skill for Claude Code from tranhieutt/software_development_department. It costs 34 tokens per session (1,953 once invoked), scanned A, original, MIT.

A root-cause investigation workflow for bugs, failing tests, build failures, performance problems, and unexpected behavior. It requires evidence and a reliable check before a fix is proposed.

In plain words
What is it for?
Use it to reproduce issues, narrow their cause, investigate failures across system layers, and verify the eventual fix.
Why use it?
It prevents guess-and-check changes that may hide symptoms without fixing the underlying problem.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: agent in frontmatter.

Good fit Use it to reproduce issues, narrow their cause, investigate failures across system layers, and verify the eventual fix.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tranhieutt/software_development_department/systematic-debugging
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add tranhieutt/software_development_department --skill systematic-debugging
Clone the repo
git clone --depth 1 https://github.com/tranhieutt/software_development_department

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for systematic-debugging

README.md
[![agentmods](https://agentmods.dev/badge/skills/tranhieutt/software_development_department/systematic-debugging/github.svg)](https://agentmods.dev/skills/tranhieutt/software_development_department/systematic-debugging)
Your own site
<a href="https://agentmods.dev/skills/tranhieutt/software_development_department/systematic-debugging"><img src="https://agentmods.dev/badge/skills/tranhieutt/software_development_department/systematic-debugging/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for systematic-debugging

Your own site · 80×15
<a href="https://agentmods.dev/skills/tranhieutt/software_development_department/systematic-debugging"><img src="https://agentmods.dev/badge/skills/tranhieutt/software_development_department/systematic-debugging.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,953 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00034 $0.01953
Opus 5 $0.00017 $0.00977
Sonnet 5 $0.00007 $0.00391
Haiku 4.5 $0.00003 $0.00195

Measured 8d ago against content hash 6e3e53de8c6b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

systematic-debugging scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/systematic-debugging/SKILL.md · 266 lines

How it starts

The opening of the file, as written. The whole thing — 266 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Systematic Debugging

Purpose

systematic-debugging prevents guess-and-check fixes. It requires the agent to understand and verify the root cause before changing code.

Use it for any technical issue before proposing or implementing a fix. If the issue is complex, intermittent, unfamiliar, or has resisted multiple fixes, escalate to diagnose.

Iron Law

No fixes before root-cause investigation.

Seeing a symptom is not the same as knowing the cause. Do not edit production code until the root cause is stated, supported by evidence, and tied to a verification path.

Add one stronger rule:

No root-cause claim without a feedback loop you trust.

If the bug cannot be reproduced or bounded by a reliable pass/fail signal, investigation is still incomplete. Build the loop first.

When To Use

Use for:

  • Failing tests
  • Build, lint, typecheck, or CI failures
  • Runtime bugs and unexpected behavior
  • Performance regressions
  • Integration failures across API, database, UI, worker, or deployment layers
  • Flaky or timing-dependent failures
  • Any bug where "just try this" feels tempting

Escalate to diagnose when:

  • The root cause remains unclear after one systematic investigation pass.
  • The issue is intermittent or hard to reproduce.
  • Two fix attempts have failed or been reverted.
  • Multiple components are involved and the failure boundary is still unknown.
  • The suspected fix affects architecture, data, security, or release policy.

Workflow

1. Capture the Symptom

Record the exact observed failure:

  • Command, user action, route, job, or test that fails
  • Full error message or relevant log excerpt
  • Environment: local, CI, staging, production, browser/device, OS, runtime
  • Expected behavior vs actual behavior
  • Whether the issue is reproducible, intermittent, or one-off

Do not paraphrase away important details such as paths, line numbers, status codes, exception names, or assertion diffs.

2. Build the Feedback Loop First

Read the full file on GitHub · 266 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 266 lines · 34 tokens per session scan A 6e3e53de8c6b

Subscribe to this mod's changes

systematic-debugging is a skill published in the GitHub repository tranhieutt/software_development_department (72 stars, last pushed 4mo ago), licensed MIT. It adds 34 tokens to every session and 1,953 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories