Read a Tracey session dump file, map events to code paths, reconstruct the user journey, and identify where things went wrong. Use when user provides a crash dump, says "replay this session", "what happened before the crash", "analyze this dump", "tracey dump", or provides a path to a replay JSON file.
Installation
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Read a Tracey session dump file, map events to code paths, reconstruct the user journey, and identify where things went wrong. Use when user provides a crash dump, says "replay this session", "what happened before the crash", "analyze this dump", "tracey dump", or provides a path to a replay JSON file.
Session Dump
$ARGUMENTS
Process
Read and parse the Tracey JSON replay file at the given path.
Extract: session ID, device info, crash flag, event timeline, stacktrace (if crash).
Build timeline table — for each event, resolve corresponding source:
#
Time
Type
Detail
Code Path
Event type mapping:
SCREEN → destination in navigation/.../NavGraph.kt
CLICK/SWIPE/SCROLL/LONG_PRESS/PINCH → Screen composable at active route
LOG → Tracey.log() call in ViewModel (Grep for the log message)
FOREGROUND/BACKGROUND → lifecycle event
CRASH → stacktrace + AppError mapping
Identify failure point:
Last successful state/event before crash
First error event in sequence
Time gap between last gesture and crash (user-perceived latency)
If no crash — identify anomalous state transitions
If captureAndExportTest() output is available alongside the dump:
Show the generated Kotlin test code
Adapt to project conventions (AAA pattern, test naming should X when Y)
Suggest target test file per testing.md rules
If claude-in-mobile MCP is available and user wants replay: