debugging-patterns

Diagnose and fix bugs in ABP Framework and React applications.

24|5|Updated Nov 28, 2025
One-click install
npx skills add https://github.com/thapaliyabikendra/ai-artifacts --skill debugging-patterns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: debugging-patterns
Source: https://github.com/thapaliyabikendra/ai-artifacts/tree/main/.claude/skills/debugging-patterns
Command: npx skills add https://github.com/thapaliyabikendra/ai-artifacts --skill debugging-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides systematic debugging patterns, helping you quickly identify and resolve software issues across various environments. It addresses the frustration of elusive bugs and inefficient troubleshooting, enabling you to diagnose problems effectively and restore application functionality.

Core Features & Use Cases

  • Systematic Troubleshooting: Guides through a structured approach to debugging, including isolating variables, reproducing bugs, and narrowing down root causes.
  • Tooling & Techniques: Covers effective use of IDE debuggers (breakpoints, watch expressions), logging, and profiling tools for deep analysis.
  • Remote Debugging: Patterns for debugging applications deployed in remote environments (e.g., Docker containers, cloud instances).
  • Post-Mortem Analysis: Techniques for analyzing crash dumps and error reports to understand production failures.
  • Use Case: A developer encounters an intermittent bug in a production microservice. Using this skill, they enable detailed logging, attach a remote debugger to a running container, and systematically trace the execution path to pinpoint the root cause.

Quick Start

Describe a systematic approach to debug a reported bug where a user's profile picture is not displaying correctly, including initial steps and potential tools.

Frequently Asked Questions about debugging-patterns

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

FAQPage Schema
How do I systematically debug a bug in my application?

Systematic debugging follows a structured workflow: capture the problem details, isolate the affected code or environment, hypothesize the root cause, and verify your fix. This approach works across ABP Framework and React applications, using IDE debuggers, logging, and profiling tools to trace execution and pinpoint issues efficiently.

What's the best way to debug an intermittent or production bug?

For production issues, enable detailed logging, attach a remote debugger to running instances (Docker containers, cloud environments), and analyze stack traces and error messages. Post-mortem analysis of crash dumps combined with systematic tracing of the execution path reveals root causes of intermittent failures.

How do I debug N+1 queries and async deadlocks in my C# and EF Core code?

N+1 queries and async deadlocks require profiling and stack trace analysis using IDE debugger watch expressions and logging. The debugging patterns Skill provides concrete C# and EF Core examples for diagnosing query performance and async execution flow problems.

Can I debug React state management issues effectively?

Yes. React state debugging uses IDE debuggers to set breakpoints in component lifecycle and event handlers, combined with logging state changes. The Skill covers TypeScript/React debugging patterns and techniques for isolating state mutation problems.

What tools and techniques are most effective for debugging?

IDE debuggers (breakpoints, watch expressions), logging frameworks, and profiling tools form the core debugging toolkit. The Skill teaches how to apply each tool strategically across different bug types—from test failures to production crashes—to narrow down root causes.

Do I need special skills to debug remote or containerized applications?

Remote debugging requires knowledge of attaching debuggers to running processes in Docker containers and cloud instances, plus interpreting remote logs and error reports. The Skill provides patterns for these environments without extensive prerequisite knowledge of container internals.