Skip to main content

Root Cause Tracing

Skill Verified Active
Part of:Kaizen

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

Purpose

To help developers efficiently diagnose and fix bugs by tracing their origin backward through the execution flow, rather than just addressing the symptoms where they appear.

Features

  • Systematic backward call stack tracing
  • Techniques for adding runtime instrumentation
  • Guidance on finding test-case polluters
  • Illustrative examples of root cause analysis

Use Cases

  • When errors occur deep in the execution stack.
  • To pinpoint the origin of invalid data in complex call chains.
  • To identify the specific test case causing unexpected behavior.
  • When traditional debugging methods at the symptom point are insufficient.

Non-Goals

  • Fixing bugs solely at the point of manifestation (the symptom).
  • Providing general debugging tools without a focus on backward tracing.
  • Automated bug fixing without user-guided investigation.

Code Execution

  • info:LoggingThe skill suggests using `console.error()` for debugging during tests, which provides some level of logging for diagnostic purposes.

Installation

First, add the marketplace

/plugin marketplace add NeoLabHQ/context-engineering-kit
/plugin install kaizen@context-engineering-kit

Quality Score

Verified
99 /100
Analyzed about 18 hours ago

Trust Signals

Last commit8 days ago
Stars993
LicenseGPL-3.0
Status
View Source

© 2025 SkillRepo · Find the right skill, skip the noise.