trace-code-flow
Installation
SKILL.md
Trace Code Flow
Overview
Generate a small pseudo-code artifact that lets the user follow the real execution path from entry point to exit. Preserve source-code truth: loops stay in their owning objects, event buses expand into representative subscribers, and async callbacks are shown as re-entry points.
Workflow
- Identify the requested target and output location.
- Trace the source before writing.
- Write a short syntax-highlighted pseudo-code gist.
- Validate source ownership, event fan-out, and async re-entry.
Ask a clarifying question only when target or output location is ambiguous enough to risk writing the wrong artifact. Otherwise infer a conservative output path, usually near existing docs or beside source-related documentation.
Investigation
Start with structure, then read bodies: