From debug-mode
User confirms the bug was reproduced. Analyze logs and iterate on hypotheses.
npx claudepluginhub mikecfisher/agent-debug-modeThis skill uses the workspace's default tool permissions.
User has reproduced the bug. Analyze log evidence and iterate.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Generates original PNG/PDF visual art via design philosophy manifestos for posters, graphics, and static designs on user request.
User has reproduced the bug. Analyze log evidence and iterate.
$ARGUMENTS
Run the analyzer:
bun ./scripts/analyze-logs.mjs
Or read raw logs:
cat .debug/debug.log
For each hypothesis, assign one verdict:
Always cite specific log entries as evidence:
Hypothesis A: CONFIRMED
- Log at 14:32:05.123 shows
itemsisundefinedat function entry- Log at 14:32:05.156 shows error "Cannot read property 'length' of undefined"
- Root cause:
order.itemsnot provided by callerHypothesis B: REJECTED
- Logs show
loadUsercompleted at 14:32:05.100renderProfilestarted at 14:32:05.200- Order is correct, no race condition
If hypothesis CONFIRMED:
If INCONCLUSIVE:
If ALL hypotheses REJECTED:
Provide exact reproduction steps:
<reproduction_steps>
End with:
Follow these steps, then run
/debug-reproducedwhen done, or/debug-fixedif the issue is resolved.
Logs accumulate across iterations (not auto-cleared). This allows comparing behavior across reproduction cycles. Run bun ./scripts/clear-logs.mjs if you need a fresh start.