by PromptSpace
Systematic runtime bug detection and automated patching for Firebase, Next.js, and Vercel stacks.
Free
One-time purchase
SEVERITY: P2
FILE: src/hooks/useChat.ts:42
CAUSE: onSnapshot listener lacks cleanup, causing memory leaks on unmount.
FIX:
useEffect(() => {
const unsub = onSnapshot(docRef, (doc) => setData(doc.data()));
return () => unsub(); // Added cleanup
}, [docId]);by PromptSpace
Systematic runtime bug detection and automated patching for Firebase, Next.js, and Vercel stacks.
Free
One-time purchase
⚡ Skill ready to install in Claude Code, Gemini CLI, or any MCP-compatible client. Read the install guides →
SEVERITY: P2
FILE: src/hooks/useChat.ts:42
CAUSE: onSnapshot listener lacks cleanup, causing memory leaks on unmount.
FIX:
useEffect(() => {
const unsub = onSnapshot(docRef, (doc) => setData(doc.data()));
return () => unsub(); // Added cleanup
}, [docId]);The Production Bug Hunter is a specialized diagnostic skill designed to bridge the gap between "tests pass" and "production works." It targets the complex runtime failures—race conditions, stale states, and listener leaks—that static analysis and unit tests often miss in high-load environments.
This skill performs a priority-ordered sweep of your repository to identify and fix critical infrastructure bugs tailored to the Firebase, Next.js, and Vercel stack. It specifically hunts for:
onSnapshot subscriptions that cause memory bloat and stale data.Unlike general-purpose coding assistants, this skill employs a systematic "hunter-killer" methodology. It doesn't just look for clean code; it looks for architectural patterns that break under real-world stress. For a developer, it's like having a senior SRE perform a deep-dive audit of your app's reactivity and auth patterns in seconds, providing ready-to-apply patches for every vulnerability found.
mkdir -p ~/.claude/skills/production-bug-hunter && curl -s -X POST 'https://api.promptspace.in/api/skills/production-bug-hunter/install' | python3 -c "import sys,json; sys.stdout.write(json.load(sys.stdin).get('installInstructions') or '')" > ~/.claude/skills/production-bug-hunter/SKILL.mdFree skills install directly. Paid skills require purchase - use the download button above after buying.
Security Scanned
Passed automated security review
No special permissions declared or detected
OpenClaw, Cursor, Claude Code, Codex CLI
PromptSpace
We build AI agent skill packages for content creators. Specializing in Chinese social media automation.