fix-errors

Diagnose and fix unhandled errors from VS Code error telemetry dashboards.

1|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/voidful/Aixlarity --skill fix-errors-voidful
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fix-errors
Source: https://github.com/voidful/Aixlarity/tree/main/aixlarity-ide/.github/skills/fix-errors
Command: npx skills add https://github.com/voidful/Aixlarity --skill fix-errors-voidful

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Unhandled errors reported through error telemetry dashboards often get patched at the crash site with guards or try/catch blocks, which masks the real defect and lets invalid data keep flowing through the system. This Skill guides you to trace errors back to the producer of invalid data and fix the actual root cause. ## Core Features & Use Cases - Stack Trace Analysis: Read stack frames bottom-to-top to trace data flow and locate the producer of malformed data rather than the consumer that crashes. - Error Message Enrichment: When the producer is not visible in the stack (e.g., cross-process IPC senders), enrich thrown errors with diagnostic context like data type, truncated values, and operation names so the next telemetry cycle reveals the source. - Error Construction Analysis: Locate and read the code that constructs an error before fixing it, since construction logic reveals trigger conditions, error subtypes, and whether the error is actionable. - Use Case: Given a telemetry issue showing URI.revive crashing on invalid input, instead of adding a typeof guard in revive, enrich the IPC handler error message to capture the invalid value and identify which sender passes malformed URI data. ## Quick Start Use the fix-errors skill to investigate this telemetry issue with the attached stack trace and error message, and propose a root-cause fix.

Frequently Asked Questions about fix-errors

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

FAQPage Schema
How do I fix unhandled errors from a telemetry dashboard?

Trace the stack trace bottom-to-top to find the producer of invalid data rather than patching the crash site. Fix the producer directly if identifiable, or enrich the error message with diagnostic context so the next telemetry cycle reveals the source.

Why should I not fix errors at the crash site?

Adding guards or try/catch at the crash site only masks the problem. The invalid data continues flowing through the system and causes failures elsewhere, while the real producer defect remains unfixed.

What should I do when the stack trace does not show the error producer?

Enrich the error message at the consuming site with the invalid data's type, a truncated value representation, and the operation name. Let the error still throw so telemetry captures the enriched context and identifies the sender in the next cycle.

How do I handle listener leak errors in VS Code?

Read the ListenerLeakError construction code in event.ts first. Dominated leaks (ratio over 30%) point to one problematic code path needing disposal fixes, while popular leaks indicate aggregate subscriptions where the top stack is not the root cause.

When is it appropriate to close a telemetry error as not planned?

Close as not planned when the error is threshold-based and the threshold is legitimately exceeded by design, such as popular listener leaks where many components intentionally subscribe to a shared service. Always verify by reading the error construction code first.