debug

Diagnose software defects through a structured debugging workflow with evidence logging.

2|Updated Jan 24, 2026
One-click install
npx skills add https://github.com/potenlab/marketplace-potenlab --skill debug-potenlab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: debug
Source: https://github.com/potenlab/marketplace-potenlab/tree/main/reference/medium-project/skills/debug
Command: npx skills add https://github.com/potenlab/marketplace-potenlab --skill debug-potenlab

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Systematic debugging workflow that guides you through diagnosing and resolving software defects with structured steps and documentation.

Core Features & Use Cases

  • Understand problem: capture error context, reproduce steps, and collect evidence.
  • Create Debug Session: logs are written to .planning/DEBUG-LOG.md to track progress and findings.
  • Investigate & Resolve: follow a checklist to identify root cause and verify fixes.

Quick Start

Begin a debugging session by describing the issue you are facing in one sentence and ask the assistant to start the workflow.

Frequently Asked Questions about debug

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

FAQPage Schema
What is a systematic debugging workflow for resolving software defects?

A systematic debugging workflow guides you through diagnosing software defects by capturing error context, reproducing steps, collecting evidence, and verifying fixes using a structured checklist to identify root causes.

How do I start a debug session to investigate codebase errors?

To start a debug session, describe the issue you are facing in one sentence and ask the assistant to start the workflow, which will then capture the error context and log the investigation progress.

How does logging work during a reproducible debug session?

During a reproducible debug session, logging works by writing investigation findings and progress to a `.planning/DEBUG-LOG.md` file, ensuring that all error context and evidence are tracked for future reference.

Can I use this structured debugging workflow for CI environments?

Yes, you can use this structured debugging workflow for CI environments, as it applies to error investigations across codebases and supports reproducible debug sessions in both development and CI contexts.

What is the best way to ensure a software fix is reproducibly verified?

The best way to ensure a fix is reproducibly verified is to follow the structured debugging checklist to identify the root cause, apply the fix, and document the close session workflow after verification.

Why do I need to track evidence when diagnosing software defects?

You need to track evidence when diagnosing software defects to maintain a structured record of error context and reproduction steps, which helps identify the root cause accurately and supports a documented close session workflow.