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.
Instalação
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
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: