sp-debug

Coordinate bug reproduction, hypothesis generation, instrumentation, and regression testing.

Updated Jun 8, 2026
One-click install
npx skills add https://github.com/JZKK720/cubecloud-agentic-os --skill sp-debug
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sp-debug
Source: https://github.com/JZKK720/cubecloud-agentic-os/tree/main/.agents/skills/sp-debug
Command: npx skills add https://github.com/JZKK720/cubecloud-agentic-os --skill sp-debug

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps users diagnose and fix issues systematically, replacing ad-hoc debugging with a structured four-phase process.

Core Features & Use Cases

  • Structured Debugging Process: Follows a reproduce → hypothesise → instrument → fix with regression test methodology.
  • Enhanced Bug Resolution: Ensures a thorough investigation before making changes, reducing the risk of further issues.
  • Use Case: When encountering a flaky or unexpected behavior in software development, use this Skill to methodically trace the root cause.

Quick Start

Trigger systematic debugging by using the command 'sp-debug initiate' when encountering a bug.

Frequently Asked Questions about sp-debug

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is systematic debugging for root cause analysis?

Systematic debugging is a structured methodology for root cause analysis that replaces ad-hoc investigations with a four-phase process: reproduce, hypothesise, instrument, and fix with regression testing. It ensures thorough issue resolution before code changes are applied.

How do I fix flaky bugs and unexpected software behavior?

To fix flaky bugs, use a systematic debugging approach by reproducing the issue, generating hypotheses, adding instrumentation, and applying fixes validated by regression testing. Trigger this process using the 'sp-debug initiate' command.

What's the best way to structure a software debugging workflow?

The best way to structure a debugging workflow is following a four-phase methodology: reproduce the bug, hypothesise the root cause, instrument the system for data, and fix it using regression testing to prevent further issues.

Do I need specific testing frameworks to perform regression testing during issue resolution?

The systematic debugging process requires an understanding of your system environment to execute regression testing. While it coordinates bug reproduction and instrumentation, you must integrate it with your existing testing frameworks to validate the fixes.

Why should I use a systematic debugging methodology instead of ad-hoc bug fixing?

You should use a systematic debugging methodology instead of ad-hoc bug fixing because it ensures a thorough investigation and hypothesis generation before changes. This structured issue resolution reduces the risk of introducing further problems into the software.