1

    bug-hunt

    by Shippers

    Systematic runtime bug detection and automated patching for Firebase, Next.js, and Vercel stacks.

    Updated Apr 2026
    0 installs

    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.

    Reviews

    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

    Terminal / Shell
    Environment Variables

    Allowed Hosts

    claude.ai
    github.com

    File Scopes

    __MACOSX/**

    Creator

    mr ain't missed a fit in months.

    Frequently Asked Questions

    Similar Skills

    Free