agents/skills/root-cause-tracing/SKILL.md
Use when errors occur deep in execution and you need to trace back to find the original trigger - systematically traces bugs backward through call stack, adding instrumentation when needed, to identify source of invalid data or incorrect behavior
npx skillsauth add elianiva/dotfiles root-cause-tracingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
If the origin is unclear, inject temporary debug logs before the failing operation:
// Example Instrumentation
console.error("DEBUG TRACE:", {
input,
cwd: process.cwd(),
stack: new Error().stack
});
Once the source is fixed, apply multi-layer validation:
CRITICAL: Fixing a symptom without finding the trigger is a "dead end" fix. Always hunt the original caller.
development
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
development
Run an extremely strict maintainability review for abstraction quality, giant files, and spaghetti-condition growth. Use for a thermo-nuclear code quality review, thermonuclear review, deep code quality audit, or especially harsh maintainability review.
tools
At end of difficult sessions, analyze friction points and propose concrete improvements.
development
Upgrades existing websites and apps to premium quality. Audits current design, identifies generic AI patterns, and applies high-end design standards without breaking functionality. Works with any CSS framework or vanilla CSS.