debug:react

Installation
SKILL.md

React Debugging Guide

A systematic approach to debugging React applications, covering common error patterns, modern debugging tools, and step-by-step resolution strategies.

Common Error Patterns

1. "Cannot read property of undefined" / "TypeError: X is undefined"

Cause: Accessing properties on null/undefined values, often from:

  • Uninitialized state
  • API data not yet loaded
  • Incorrect prop drilling

Solutions:

// Problem: Accessing nested property before data loads
const name = user.profile.name; // Error if user is undefined

// Solution 1: Optional chaining
Related skills

More from snakeo/claude-debug-and-refactor-skills-plugin

Installs
26
GitHub Stars
7
First Seen
Jan 25, 2026