code-flow-tracer
Code Flow Tracer
When to Use
Trigger this skill when the user:
- Wants to understand how a feature works end-to-end
- Asks what happens when an action is triggered
- Needs to trace data flow through the system
- Asks "how does X work"
- Asks "what calls X" or "what does X call"
Instructions
- Identify the feature, function, or flow the user wants to trace
- Run
/sourceatlas:flow "<query>"with a natural language description - Returns call graph, boundary detection, and flow visualization
Query Formats
- Feature flow:
/sourceatlas:flow "user login" - Function trace:
/sourceatlas:flow "handleSubmit" - Error paths:
/sourceatlas:flow "error handling flow" - Data origin:
/sourceatlas:flow "where does userProfile come from" - Reverse trace:
/sourceatlas:flow "who calls validateToken"
What User Gets
- Call graph visualization (ASCII tree)
- Boundary detection (API, DB, LIB, CLOUD markers)
- Recursion and cycle detection
- Entry points identification
- 11 analysis modes available
Example Triggers
- "How does the login flow work?"
- "What happens when user clicks submit?"
- "Trace the checkout process"
- "Where does this data come from?"
- "Who calls this function?"
More from lis186/sourceatlas
codebase-overview
Quickly understand a new codebase's architecture, tech stack, and patterns. Use when user asks "what is this project", "project overview", "how is this codebase structured", "what tech stack", or when onboarding to a new codebase.
13impact-analyzer
Analyze what code will be affected by changes. Use when user asks "what will break if I change X", "impact of changing X", "dependencies of X", "is it safe to modify X", or before making significant code changes.
11pattern-finder
Find implementation examples and design patterns in the codebase. Use when user asks "how to implement X", "how does this project do X", "show me examples of X", "where is X implemented", or needs to follow existing code conventions.
10history-analyzer
Analyze git history for hotspots, coupling, and knowledge distribution. Use when user asks "who knows this code", "what files change most", "hotspots", "bus factor", "knowledge silos", or needs to understand code evolution.
10dependency-analyzer
Analyze dependencies for upgrade planning and migration. Use when user asks "upgrade to X", "migrate from X to Y", "what breaks if we upgrade", "iOS 17 migration", "React 18 upgrade", or planning framework/SDK upgrades.
10overview
Get project overview - scan <5% of files to achieve 70-80% understanding
2