From bug-detective
Traces the execution path of a request or operation through the codebase, mapping function calls, side effects, and failure points.
How this command is triggered — by the user, by Claude, or both
Slash command
/bug-detective:traceThe summary Claude sees in its command listing — used to decide when to auto-load this command
Trace the execution path of a request or operation through the codebase. ## Steps 1. Identify the starting point: HTTP request handler, event listener, CLI command, or function call. 2. Follow the execution path step by step: - Map each function call from entry to exit. - Note middleware, interceptors, or decorators in the chain. - Track data transformations at each step. - Identify async boundaries (awaits, callbacks, event emissions). 3. For each step in the trace, document: - File and function name. - Input parameters and their values/types. - Side effects (databas...
Trace the execution path of a request or operation through the codebase.
Trace: <operation name>
1. [entry.ts:handleRequest] <- HTTP POST /api/users
2. [middleware/auth.ts:verify] <- checks JWT token
3. [services/user.ts:create] <- validates input, calls DB
4. [db/queries.ts:insert] <- INSERT INTO users ...
5. [services/user.ts:create] -> returns { id, email }
6. [entry.ts:handleRequest] -> 201 Created
Side effects: 1 DB write, 1 email sent
Potential issues: No transaction wrapping steps 4-5
npx claudepluginhub avelikiy/awesome-claude-code-toolkit --plugin bug-detective6plugins reuse this command
First indexed Mar 30, 2026
/traceTraces the execution path of a request or operation through the codebase, mapping function calls, side effects, and failure points.
/SKILLTraces business logic flows and execution paths in code from entry points or descriptions like 'user checkout' or 'OrderService.create()'. Uses specialized modes for dead code, errors, data flow, concurrency, taint, and caching.
/call-graphTraces function dependencies by querying callers, callees, or paths between symbols using the call graph.
/coderlmExplore a codebase using tree-sitter-backed indexing to trace execution paths, find callers and implementations, and understand code structure.
/debug-traceAnalyzes an error or stack trace by tracing execution paths, checking recent git changes, and identifying root causes. Provides evidence and fix suggestions.
/stacktrace-analyzeAnalyzes a pasted stack trace to identify root cause, reconstruct call chain, and propose a concrete fix with regression test.