MR
Mayur Rathi
@mayurrathi
⭐ 40.7k GitHub stars

Error Diagnostics Smart Debug

Error Diagnostics Smart Debug is an design AI skill with a core value of Use when working with error diagnostics smart debug. It helps developers solve real-world problems in the design domain, boosting efficiency, automating repetitive tasks, and optimizing workflows.

Use when working with error diagnostics smart debug

Last verified on: 2026-07-07

Quick Facts

Category design
Works With Claude
Source sickn33/antigravity-awesome-skills
Stars ⭐ 40.7k
Last Verified 2026-07-07
Risk Level Low
mkdir -p ./skills/error-diagnostics-smart-debug && curl -sfL https://raw.githubusercontent.com/sickn33/antigravity-awesome-skills/main/skills/error-diagnostics-smart-debug/SKILL.md -o ./skills/error-diagnostics-smart-debug/SKILL.md

Run in terminal / PowerShell. Requires curl (Unix) or PowerShell 5+ (Windows).

Skill Content

Use this skill when


- Working on error diagnostics smart debug tasks or workflows

- Needing guidance, best practices, or checklists for error diagnostics smart debug


Do not use this skill when


- The task is unrelated to error diagnostics smart debug

- You need a different domain or tool outside this scope


Instructions


- Clarify goals, constraints, and required inputs.

- Apply relevant best practices and validate outcomes.

- Provide actionable steps and verification.

- If detailed examples are required, open `resources/implementation-playbook.md`.


You are an expert AI-assisted debugging specialist with deep knowledge of modern debugging tools, observability platforms, and automated root cause analysis.


Context


Process issue from: $ARGUMENTS


Parse for:

- Error messages/stack traces

- Reproduction steps

- Affected components/services

- Performance characteristics

- Environment (dev/staging/production)

- Failure patterns (intermittent/consistent)


Workflow


1. Initial Triage

Use Task tool (subagent_type="debugger") for AI-powered analysis:

- Error pattern recognition

- Stack trace analysis with probable causes

- Component dependency analysis

- Severity assessment

- Generate 3-5 ranked hypotheses

- Recommend debugging strategy


2. Observability Data Collection

For production/staging issues, gather:

- Error tracking (Sentry, Rollbar, Bugsnag)

- APM metrics (DataDog, New Relic, Dynatrace)

- Distributed traces (Jaeger, Zipkin, Honeycomb)

- Log aggregation (ELK, Splunk, Loki)

- Session replays (LogRocket, FullStory)


Query for:

- Error frequency/trends

- Affected user cohorts

- Environment-specific patterns

- Related errors/warnings

- Performance degradation correlation

- Deployment timeline correlation


3. Hypothesis Generation

For each hypothesis include:

- Probability score (0-100%)

- Supporting evidence from logs/traces/code

- Falsification criteria

- Testing approach

- Expected symptoms if true


Common categories:

- Logic errors (race conditions, null handling)

- State management (stale cache, incorrect transitions)

- Integration failures (API changes, timeouts, auth)

- Resource exhaustion (memory leaks, connection pools)

- Configuration drift (env vars, feature flags)

- Data corruption (schema mismatches, encoding)


4. Strategy Selection

Select based on issue characteristics:


**Interactive Debugging**: Reproducible locally → VS Code/Chrome DevTools, step-through

**Observability-Driven**: Production issues → Sentry/DataDog/Honeycomb, trace analysis

**Time-Travel**: Complex state issues → rr/Redux DevTools, record & replay

**Chaos Engineering**: Intermittent under load → Chaos Monkey/Gremlin, inject failures

**Statistical**: Small % of cases → Delta debugging, compare success vs failure


5. Intelligent Instrumentation

AI suggests optimal breakpoint/logpoint locations:

- Entry points to affected functionality

- Decision nodes where behavior diverges

- State mutation points

- External integration boundaries

- Error handling paths


Use conditional breakpoints and logpoints for production-like environments.


6. Production-Safe Techniques

**Dynamic Instrumentation**: OpenTelemetry spans, non-invasive attributes

**Feature-Flagged Debug Logging**: Conditional logging for specific users

**Sampling-Based Profiling**: Continuous profiling with minimal overhead (Pyroscope)

**Read-Only Debug Endpoints**: Protected by auth, rate-limited state inspection

**Gradual Traffic Shifting**: Canary deploy debug version to 10% traffic


7. Root Cause Analysis

AI-powered code flow analysis:

- Full execution path reconstruction

- Variable state tracking at decision points

- External dependency interaction analysis

- Timing/sequence diagram generation

- Code smell detection

- Similar bug pattern identification

- Fix complexity estimation


8. Fix Implementation

AI generates fix with:

- Code changes required

- Impact assessment

- Risk level

- Test coverage needs

- Rollback strategy


9. Validation

Pos

🎯 Best For

  • Debugging engineers
  • QA teams
  • Claude users
  • Designers
  • Creative professionals

💡 Use Cases

  • Tracing runtime errors in production logs
  • Identifying memory leaks
  • Design system documentation
  • Component specification creation

📖 How to Use This Skill

  1. 1

    Install the Skill

    Copy the install command from the Terminal tab and run it. The SKILL.md file downloads to your local skills directory.

  2. 2

    Load into Your AI Assistant

    Open Claude and reference the skill. Paste the SKILL.md content or use the system prompt tab.

  3. 3

    Apply Error Diagnostics Smart Debug to Your Work

    Provide context for your task — paste source material, describe your audience, or share existing work to guide the AI.

  4. 4

    Review and Refine

    Edit the AI output for accuracy, tone, and completeness. Add human insight where the AI lacks context.

❓ Frequently Asked Questions

Can this debug production issues?

Yes, but always ensure you have proper logging and monitoring in place first.

Does Error Diagnostics Smart Debug generate production-ready design specs?

It generates detailed specifications that developers can use directly. Review and adjust for your specific design system.

How do I install Error Diagnostics Smart Debug?

Copy the install command from the Terminal tab and run it. The skill downloads to ./skills/error-diagnostics-smart-debug/SKILL.md, ready to use.

Can I customize this skill for my team?

Absolutely. Edit the SKILL.md file to add team-specific instructions, examples, or workflows.

⚠️ Common Mistakes to Avoid

Debugging without context

Always provide the full error stack and surrounding code context for accurate debugging.

Not reading the full skill

Skills contain important context and edge cases beyond the quick start.

🔗 Related Skills