Root-Cause-Tracing

Trace invalid data backward through the call stack to its original trigger.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/slapglif/swe-agent --skill root-cause-tracing-slapglif
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Root-Cause-Tracing
Source: https://github.com/slapglif/swe-agent/tree/main/.swe/skills/root-cause-tracing
Command: npx skills add https://github.com/slapglif/swe-agent --skill root-cause-tracing-slapglif

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents fixing symptoms instead of root causes when bugs manifest deep in the call stack. It provides a systematic method to trace invalid data or incorrect behavior backward to its original trigger, ensuring permanent fixes.

Core Features & Use Cases

  • Backward Tracing Process: Guides through observing symptoms, finding immediate causes, and tracing up the call chain to the original trigger.
  • Instrumentation for Clarity: Teaches how to add stack traces and debug logging to pinpoint the source of issues.
  • Polluter Identification: Includes a script to bisect tests and find which one is polluting the environment.
  • Use Case: When a git init error occurs in an unexpected directory, use this skill to trace back through the call stack to find where the incorrect directory path originated, rather than just fixing the git init command.

Quick Start

I'm seeing an error deep in the execution stack. Use the Root-Cause-Tracing skill to find its origin.