bug-hunt
by Shippers
Systematic runtime bug detection and automated patching for Firebase, Next.js, and Vercel stacks.
- Prevent session collisions in Firebase Auth during rapid token refreshes.
- Identify and fix memory leaks in real-time Firestore listeners.
- Synchronize GitHub Actions environment variables with production requirements.
Free
One-time purchase · Own forever
See it in action
P0: Concurrent Auth Race src/lib/firebase.ts:14 Root cause: initializeApp called on every refresh. Fix: + let app = getApps().length ? getApp() : initializeApp(config); + export const auth = getAuth(app); P1: Missing Rollback src/hooks/useBooking.ts:42 Root cause: No catch block.
bug-hunt
by Shippers
Systematic runtime bug detection and automated patching for Firebase, Next.js, and Vercel stacks.
Free
One-time purchase · Own forever
Included in download
- Downloadable skill package
- 2 permissions declared
- Instant install
See it in action
P0: Concurrent Auth Race src/lib/firebase.ts:14 Root cause: initializeApp called on every refresh. Fix: + let app = getApps().length ? getApp() : initializeApp(config); + export const auth = getAuth(app); P1: Missing Rollback src/hooks/useBooking.ts:42 Root cause: No catch block.
About This Skill
The Gap Between "Tests Pass" and "Production Works"
You've seen it before: the CI pipeline is green, but the production logs are bleeding. Traditional test suites often miss the non-deterministic race conditions, stale state drifts, and environment mismatches that only surface under real-world load. This skill performs a systematic, priority-ordered sweep of your codebase to hunt down these specific runtime killers.
What it does
Targeted specifically at the Next.js + Firebase + Vercel stack, this skill acts as a specialized auditor. It scans your repository for complex architectural flaws including:
- Auth Race Conditions: Multiple Firebase instances fighting over token refreshes or components accessing user slices before auth resolves.
- State-Database Drift: Disconnects between localized UI state (Zustand, React State) and Firestore persistence, including missing rollbacks on write failures.
- Listener Leaks: Real-time subscriptions (onSnapshot) lacking proper cleanup functions that lead to memory leaks and stale dashboard data.
- CI/CD Mismatches: Discrepancies between local environments and GitHub Actions runners, such as unpinned Node versions or missing secrets.
Why it's better than manual prompting
Instead of hoping the AI notices a bug, this skill provides a structured diagnostic framework. It uses targeted grep patterns to find "known-bad" code structures and applies fixes based on proven production patterns. It doesn't just find bugs; it provides ready-to-apply patches formatted for immediate resolution.
Use Cases
- Prevent session collisions in Firebase Auth during rapid token refreshes.
- Identify and fix memory leaks in real-time Firestore listeners.
- Synchronize GitHub Actions environment variables with production requirements.
- Audit optimistic UI updates for missing error handling and state rollbacks.
How to Install
unzip bug-hunt.zip -d ~/.claude/skills/Reviews
No reviews yet — be the first to share your experience.
Only users who have downloaded or purchased this skill can leave a review.
No reviews yet — be the first to share your experience.
Only users who have downloaded or purchased this skill can leave a review.
Security Scanned
Passed automated security review
Permissions
Allowed Hosts
File Scopes
Frequently Asked Questions
Learn More About AI Agent Skills
Similar Skills
env-doctor
Diagnoses why your project will not start. Checks runtime versions, dependencies, environment variables, databases, ports, and build artifacts systematically.
diagnosing-rag-failure-modes
RAG fails quietly. It retrieves documents, returns confident-looking answers, and misses the question entirely — because the question required connecting facts across documents, reasoning about sequence, or tracing causation. This skill gives you a five-question diagnostic checklist that classifies any failing query as either RAG-safe or structurally RAG-incompatible, then maps it to the specific failure pattern and the architectural fix that resolves it.
code-reviewer
Reviews your code for bugs, security vulnerabilities, logic errors, performance issues, and style violations. Organizes findings by severity and suggests fixes with code examples.
git-commit-writer
Writes conventional commit messages by analyzing your staged git changes. Detects commit type, scope, and breaking changes automatically.