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.

Informations de source

Dépôt
Archive228/loopkit
Dernière activité de la source
29 juin 2026 à 22:25
Langue détectée de SKILL.md
anglais
Étoiles
757
Forks
124

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.

Affichage de SKILL.md

SKILL.md
Instructions source · Aperçu en lecture seule
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".
Voir sur GitHub