Debugging guidance for research code — triggers on: error, exception, failed, crash, NaN, OOM, CUDA, traceback, bug, broken
From claude-eurekanpx claudepluginhub gaaaavin/claude-eureka --plugin claude-eurekaThis skill uses the workspace's default tool permissions.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Analyzes BMad project state from catalog CSV, configs, artifacts, and query to recommend next skills or answer questions. Useful for help requests, 'what next', or starting BMad.
When encountering errors in research code, follow this order strictly.
Check in this sequence — most bugs are data bugs:
git diff HEAD~3 --stat
git log --oneline -5
If it worked before, the bug is in the diff.
NaN values:
torch.autograd.set_detect_anomaly(True) temporarilyOOM (Out of Memory):
.detach() or with torch.no_grad())torch.cuda.memory_summary()CUDA errors:
.device for all tensors involved.shape at each stepnvidia-smi and torch.cuda.is_available()