Surgical bug fixing skill. Validates bugs, applies minimal fixes, prefers tactical deletion.
From bugfixnpx claudepluginhub wilrf/wilrf-marketplace --plugin bugfixThis 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.
The best fix removes code.
But the bug MUST be fixed.
All fixers classify each incoming finding before touching code:
| Confidence | Meaning | Action |
|---|---|---|
| CONFIRMED | Reproduced or verified by static analysis | Fix it |
| PLAUSIBLE | Pattern looks right but context may differ | Verify first, then fix |
| REJECTED | False positive — not exploitable or not reachable | Document why, skip |
A REJECTED finding with a clear explanation is as valuable as a fix — it prevents wasted work and validates that the hunter was wrong about this one.
All fixers share these principles:
Before applying ANY fix:
Each fixer reports:
### Fix: [Bug Title from BUGHUNT.md]
- **Status:** FIXED | REJECTED | DEFERRED
- **Confidence:** CONFIRMED | PLAUSIBLE | REJECTED
- **Original Severity:** CRITICAL | HIGH | MEDIUM | LOW
- **Validation:** [Why this bug is/isn't real — trace the execution path or explain the false positive]
- **Solution:** [What was changed]
- **Approach:** [Why this fix, especially if different from hunter's suggestion]
- **Diff:** +X -Y lines
- **Files:** [Modified files]
# Bugfix Report
Generated: [timestamp]
Source: BUGHUNT.md
## Summary
- Bugs processed: N
- Confirmed and fixed: N
- False positives rejected: N
- Deferred (need human decision): N
- Total diff: +X -Y lines
## Fixes Applied
### Fix: [Bug Title]
- **Status:** FIXED
- **Confidence:** CONFIRMED
- **Original Severity:** CRITICAL | HIGH | MEDIUM | LOW
- **Validation:** [Execution path traced, confirmed real]
- **Solution:** [What changed]
- **Approach:** [Why this approach]
- **Diff:** +X -Y lines
- **Files:** [files]
## Rejected (False Positives)
### Rejected: [Bug Title]
- **Confidence:** REJECTED
- **Original Severity:** [severity]
- **Reason:** [Why this isn't real — framework handles it, input can't reach the sink, etc.]
## Deferred
### Deferred: [Bug Title]
- **Reason:** [Needs product decision, architectural change, or more context]