Systematic Debugging

🌐Community
by secondsky Β· vlatest Β· Repository

Systematically identifies and suggests fixes for software bugs using advanced code analysis and automated testing techniques.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add secondsky-systematic-debugging npx -- -y @trustedskills/secondsky-systematic-debugging
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "secondsky-systematic-debugging": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/secondsky-systematic-debugging"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

The Systematic Debugging skill helps AI agents systematically identify and suggest fixes for software bugs, prioritizing root cause analysis over quick patches. It enforces a strict four-phase process to ensure underlying issues are addressed before any code changes are proposed, preventing the creation of new problems or masking existing ones. The core principle is always finding the root cause before attempting a fix; symptom fixes are considered failures.

When to use it

This skill is valuable in these situations:

  • When encountering test failures
  • Debugging bugs found in production environments
  • Investigating unexpected software behavior or performance problems
  • Addressing build failures and integration issues
  • Under time pressure, where quick fixes are tempting but risky
  • When previous attempts at fixing the issue have been unsuccessful
  • When you lack a full understanding of the problem

Key capabilities

  • Root Cause Investigation: Requires thorough investigation before proposing any fixes.
  • Error Message Analysis: Emphasizes careful reading and analysis of error messages, stack traces, line numbers, file paths, and error codes.
  • Reproducibility Testing: Requires consistent reproduction of the issue to identify exact steps and conditions.
  • Change Tracking: Checks recent code changes (Git diffs, commits, dependencies, configurations) for potential causes.
  • Diagnostic Instrumentation (Multi-Component Systems): In systems with multiple components, requires logging data flow at component boundaries to pinpoint failing areas.
  • Data Flow Tracing: Suggests using the "root-cause-tracing" skill for tracing data backward through call stacks.

Example prompts

  • β€œI’m seeing a build failure; use Systematic Debugging to help me understand why.”
  • β€œWe have a bug in production causing unexpected behavior. Can you guide me through a systematic debugging process?”
  • β€œThis test is failing, and I've already tried a few fixes that didn't work. Walk me through the Systematic Debugging phases."

Tips & gotchas

  • Phase Adherence: You must complete each of the four phases (Root Cause Investigation) before proposing any fixes.
  • Multi-Component Systems: For complex systems, be prepared to add diagnostic instrumentation and log data flow between components.
  • Tracing Skill Dependency: For deep call stack errors, consider using the "root-cause-tracing" skill in conjunction with Systematic Debugging.

Tags

πŸ›‘οΈ

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates β€” what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
secondsky
Installs
46

🌐 Community

Passed automated security scans.