TraceDeck
Understand any codebase faster without touching source files.
TraceDeck indexes your TypeScript, JavaScript, Python, and SQL codebases into an interactive call graph, surfaces criticality and side-effect signals, and pairs with your existing AI coding assistant (Claude Code, Codex, Antigravity, Cursor, or VS Code Chat) — with zero API keys required.
All explanations are stored as structured JSON cards inside .tracedeck/ in your workspace, never as comments or edits inside your source files.
Screenshots
Interactive Inspector & Call Graph

Execution Flow Trace


Features
- Zero-API-Key BYO-AI Workflow: Route explanation prompts directly to your preferred AI tool (
claude, codex, antigravity, cursor, vscode-chat, terminal, or clipboard). The agent writes a structured JSON card to .tracedeck/inbox/ and TraceDeck ingests it automatically.
- Hover & CodeLens: See a function's one-line summary, callers/callees count, criticality level, side-effect pills, and gotchas directly above or on hover in your editor.
- Developer Sidebar HUD:
- Live unit search across the entire workspace.
- Start tab: entry points and high-fan-in hub functions so you know where to read first.
- Effects tab: group units by detected signals (
database, network, filesystem, payment, auth) and card effects.
- Recent tab: recently explained units and active folder context strip.
- Interactive Inspector & Graph:
- Unit & File pan/zoom SVG call graphs with edge highlighting and node tooltips.
- Flow tab: trace downstream execution paths from entry points with collapsible subtrees and an Effects & Warnings filter.
- Copy MD export and context-aware follow-up prompt chips.
Getting Started
- Open a workspace containing TypeScript, JavaScript, Python, or SQL files.
- Open the TraceDeck icon in the Activity Bar (or run
TraceDeck: Enable for this workspace).
- Click Set up AI skill (
tracedeck.installSkill) so your AI assistant knows the .tracedeck/inbox/ card schema.
- Click Ask AI on any function CodeLens, Explorer item, or Inspector button to generate an explanation card.
Supported Languages
- TypeScript / TSX (
.ts, .tsx)
- JavaScript / JSX (
.js, .jsx)
- Python (
.py)
- SQL (
.sql)
Extension Settings
tracedeck.aiTarget: Choose which AI assistant receives prompts (auto, claude, codex, antigravity, cursor, vscode-chat, terminal, clipboard).
Main Commands
TraceDeck: Enable for this workspace
TraceDeck: Open Inspector & Graph
TraceDeck: Ask AI to explain this function
TraceDeck: Explain top hubs
TraceDeck: Set up AI skill in this project
TraceDeck: Select AI Target
| |