budtags/skills/fix/SKILL.md
Lightweight bug fix workflow for ad-hoc issues that don't warrant full plan/decompose/run. Enforces investigate → implement → verify flow. Use when fixing a bug, resolving an error, or making a targeted correction.
npx skillsauth add jwilly246/budtags-claude-plugin fixInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are fixing a bug or resolving an issue using a structured but lightweight workflow. This is for ad-hoc fixes that don't need the full create-plan → decompose-plan → run-plan pipeline.
When to use this skill: Single bugs, error fixes, targeted corrections, small behavioral changes.
When NOT to use this skill: New features, multi-file refactors, anything requiring database migrations or new pages. Use /create-plan for those.
Before writing any code, understand the problem.
1.1 Gather information:
1.2 Use available tools:
mcp__laravel-boost__last-error — check recent Laravel error logsmcp__laravel-boost__read-log-entries — search log entriesmcp__laravel-boost__browser-logs — check browser console errorsmcp__laravel-boost__database-query — verify data state if relevant1.3 Identify root cause:
1.4 State your fix approach: Brief statement (2-3 sentences max) of what you'll change and why. Not a full plan — just enough to confirm direction.
If the root cause is unclear or the fix touches more than 3-4 files: Stop and tell the user this may need /create-plan instead.
Make the fix directly. No agents, no work units, no MANIFEST.
Follow BudTags patterns:
snake_case method namesLogService::store() for loggingrequest() helper, not $request'message' keymap/filter), not foreach to build datauseForm for any form mutationsTypes/ files, not inlineInclude tests:
assertEquals, assertCount)$this->login()->mock_api_requests(), NOT RefreshDatabaseRun the full quality suite before declaring done.
composer check
This runs: Pint → ESLint → PHPStan → Vitest → PHPUnit
If any check fails: Fix the issue and re-run. Do not skip.
After checks pass, verify:
TODO, FIXME, empty methods)console.log, dd(), dump() left in codeAfter verification passes, provide a brief summary:
## Fix Summary
**Bug**: {one-line description of the issue}
**Root Cause**: {what was wrong}
**Fix**: {what was changed}
**Files Modified**: {list}
**Tests**: {added/updated, count}
**Verification**: composer check PASSED
Do NOT commit automatically — the user will commit when ready.
Fix the bug thoroughly but minimally. Don't refactor surrounding code, don't add features, don't clean up things that aren't broken. Fix the bug, add tests, verify, report. That's it.
development
Use this skill when generating ZPL code, working with ZPL commands, creating Zebra printer labels, or troubleshooting ZPL syntax and formatting issues.
development
Use this skill to verify that code aligns with BudTags coding standards, architectural patterns, and conventions before or after implementation.
development
Use this skill when working with Unleashed Software inventory/order management API integration, syncing inventory, importing orders, managing stock adjustments, or handling customer/product data from Unleashed.
data-ai
TanStack Virtual patterns for virtualized lists, tables, and grids with high-performance rendering of large datasets