Skip to main content

read-the-trace

Extract the actual cause from a stack trace instead of pattern-matching the error type. Use on any crash or exception.

Source facts

Repository
Archive228/loopkit
Last source activity
June 29, 2026 at 22:25
Detected SKILL.md language
English
Stars
755
Forks
123

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
read-the-trace
description
Extract the actual cause from a stack trace instead of pattern-matching the error type. Use on any crash or exception.
when_to_use
a stack trace, an exception, "TypeError/NullPointer/undefined", a crash log
# Read the Trace LLMs love to see "TypeError" and generate a generic fix without reading the trace. Don't. - Find the **deepest frame in YOUR code** — not the library frame at the top. That's where the bad value entered. - Read the actual values: what was null/undefined/wrong-type, and where it came from. - Trace it one level up: why was that value bad? The root is usually 1-2 frames above the throw. - Reproduce with that exact input before fixing. A TypeError can mean a hundred things. The trace tells you which one — read all of it, including the "caused by".
View on GitHub