error-diagnosis

Diagnose code errors from stack traces across Python, JavaScript, Go, and Java.

1|Updated Jan 6, 2026
One-click install
npx skills add https://github.com/hyukudan/ai-skills --skill error-diagnosis-hyukudan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: error-diagnosis
Source: https://github.com/hyukudan/ai-skills/tree/main/examples/skills/error-diagnosis
Command: npx skills add https://github.com/hyukudan/ai-skills --skill error-diagnosis-hyukudan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a structured approach to diagnosing and fixing errors from stack traces, error messages, and unexpected behavior in code.

Core Features & Use Cases

  • Systematic Diagnostic Framework: Follows a step-by-step process from reading the error to applying a fix.
  • Language-Specific Guidance: Offers examples and fixes for common errors in Python, JavaScript, Go, and Java.
  • Error Type Coverage: Addresses runtime, network, database, and memory-related errors.
  • Debugging Strategies: Includes techniques like binary search debugging and rubber duck debugging.
  • Use Case: When encountering a ValidationError: Invalid: {'name': None} in Python, this Skill can guide you through understanding the stack trace and suggest checking for None values before accessing object attributes.

Quick Start

Use the error-diagnosis skill to understand a Python AttributeError: 'NoneType' object has no attribute 'name'.

Frequently Asked Questions about error-diagnosis

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

FAQPage Schema
How do I debug a stack trace systematically when my code throws an unexpected error?

To debug a stack trace systematically, read the error message to identify the failure point, apply diagnostic strategies like binary search or rubber duck debugging, and trace the root cause before applying a targeted fix.

What is the best way to diagnose a Python AttributeError like 'NoneType' object has no attribute 'name'?

The best way to diagnose a Python AttributeError is to examine the stack trace for None values being accessed. Check that your objects are properly initialized before accessing their attributes to prevent this runtime error.

Does this systematic error diagnosis approach work for both JavaScript and Go runtime errors?

Yes, this systematic error diagnosis approach works for JavaScript and Go runtime errors. It provides language-specific guidance and covers common error patterns across multiple programming languages including Python, JavaScript, Go, and Java.

How do I troubleshoot network and database errors using a structured debugging framework?

To troubleshoot network and database errors using a structured debugging framework, follow the step-by-step diagnostic process from reading the error message to identifying the root cause, addressing specific network or database failure patterns.

What debugging strategies help identify the root cause of memory errors in Java?

Debugging strategies that help identify the root cause of memory errors in Java include binary search debugging to isolate problematic code sections and rubber duck debugging to systematically verbalize logic flaws causing memory leaks.

When should I use rubber duck debugging versus binary search debugging for troubleshooting code?

Use rubber duck debugging to verbalize and uncover logic flaws when the error cause is unclear, and apply binary search debugging to systematically isolate problematic code sections when dealing with complex runtime or memory errors.