From debug-mode
User confirms the bug is fixed. Clean up instrumentation and summarize.
npx claudepluginhub mikecfisher/agent-debug-modeThis skill uses the workspace's default tool permissions.
User confirms the bug is fixed. Clean up and summarize.
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 confirms the bug is fixed. Clean up and summarize.
$ARGUMENTS
Remove all __debugLog() calls from instrumented files:
__debugLog(...) callsappendFileSync, mkdirSync, existsSync)bun ./scripts/stop-collector.mjs
Provide a brief summary:
Root Cause: [Which hypothesis was confirmed and why]
Fix Applied: [What change fixed the issue]
Files Modified: [List of files that were changed]
Root Cause: Hypothesis A confirmed -
itemsarray wasundefinedwhenorder.itemswasn't provided by the caller, causing "Cannot read property 'length' of undefined"Fix Applied: Added null check with default empty array:
const items = order.items ?? []Files Modified:
src/api/orders.ts- Added defensive check inprocessOrder()
The .debug/ directory can be left in place (it's gitignored) or removed:
rm -rf .debug