One-click install
npx skills add https://github.com/smart-village-solutions/sva-studio --skill debugging-strategies-smart-village-solutions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: debugging-strategies
Source: https://github.com/smart-village-solutions/sva-studio/tree/main/.agents/skills/debugging-strategies
Command: npx skills add https://github.com/smart-village-solutions/sva-studio --skill debugging-strategies-smart-village-solutions

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

Debugging is often guesswork; this skill provides systematic methods to identify, reproduce, and fix bugs across codebases.

Core Features & Use Cases

  • Systematic process: reproduce, gather information, form hypotheses, test, and verify bugs.
  • Broad tooling: leverage logging, tracing, profiling, and memory-dump techniques to diagnose issues.
  • Real-world scenarios: production incidents, unfamiliar codebases, flaky tests, performance problems.

Quick Start

Describe the issue, provide minimal reproduction steps, and run the guided debugging plan to locate and verify the fix.

Frequently Asked Questions about debugging-strategies

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

FAQPage Schema
What is a systematic debugging process for finding root causes in unfamiliar codebases?

Systematic debugging replaces guesswork by enforcing structured steps: reproduce the issue, gather information, form hypotheses, test them, and verify the fix. This methodical root-cause analysis approach works effectively across diverse and unfamiliar codebases.

How do I debug memory leaks and performance issues in a production environment?

Debugging memory leaks and performance issues in production leverages profiling and memory-dump techniques for diagnosis. It requires isolating components and applying safe testing practices to verify fixes without disrupting the live environment.

What's the best way to isolate components and reproduce flaky test failures?

Resolving flaky tests requires systematic information gathering and minimal reproduction steps. By enforcing reproducibility requirements and isolating components, you form targeted hypotheses to test and verify the exact failure conditions reliably.

How do I start troubleshooting production crashes when I cannot reproduce them locally?

Troubleshooting unreproducible production crashes starts with gathering extensive logging and tracing data from the live environment. You form hypotheses based on this systematic information gathering and utilize memory-dump techniques to diagnose the root cause remotely.

Can I use logging and tracing to diagnose crashes without modifying the core codebase?

Yes, logging and tracing diagnose crashes by capturing runtime behavior externally. This systematic information gathering enables forming hypotheses and testing scenarios safely, minimizing direct modifications to the core codebase components.

When should I avoid systematic hypothesis testing during root-cause analysis?

Systematic hypothesis testing should not be skipped during root-cause analysis to avoid guesswork. However, during immediate production incidents, prioritize rapid information gathering and logging before forming detailed hypotheses to stabilize the system quickly.