.claude/skills/fix-bug/SKILL.md
Fix a GitHub issue. Use when the user says "fix bug
npx skillsauth add briangbrown/drumline-scores fix-bugInstall 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.
!gh issue view $ARGUMENTS --json title,body,comments,labels,assignees 2>/dev/null || echo "ERROR: Could not fetch issue $ARGUMENTS. Check the issue number and try again."
Fix GitHub issue #$ARGUMENTS by following these steps strictly in order.
Read the issue context above carefully. Identify:
If the issue context shows an error, stop and tell the user the issue could not be loaded.
git checkout -b fix-bug-$ARGUMENTS
If the branch already exists, switch to it with git checkout fix-bug-$ARGUMENTS.
Search src/ for the relevant components, types, and files mentioned in or implied by the issue. Read the code thoroughly before making changes.
Run:
npm test && npm run build
Both must pass with zero errors. If tests fail:
git add .
Write a concise commit message in the format: fix: <what was fixed> (#$ARGUMENTS)
git push -u origin fix-bug-$ARGUMENTS
Then create a PR:
gh pr create \
--title "Fix: <Issue Title>" \
--body "Closes #$ARGUMENTS.
## What changed
<1-3 bullet points describing the fix>
## How it was verified
- All tests pass
- Build succeeds
<any additional verification>" \
--base main
Return the PR URL when done.
development
Extract a key insight from a completed task and write a short teaching lesson. Use after finishing a non-trivial bug fix, feature, refactor, or investigation.
tools
Implement a GitHub feature issue. Use when the user says "create feature
development
Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI. Provides project context, component docs, and usage examples. Applies when working with shadcn/ui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for "shadcn init", "create an app with --preset", or "switch to --preset".
tools
Use when work should span one or more detached tasks but still behave like one job with a single owner context. TaskFlow is the durable flow substrate under authoring layers like Lobster, ACPX, plugins, or plain code. Keep conditional logic in the caller; use TaskFlow for flow identity, child-task linkage, waiting state, revision-checked mutations, and user-facing emergence.