01
It starts by itself
you pass an issue. Runs in Claude Code.
- ↻ you pass an issue
fix-bug <GitHub issue URL>
Fix reported bugs with tests.
Install the Fix Bug skill and make it a habit: follow https://gethabit.dev/skills/remix-run/fix-bug.md
102 installs57K starsMIT licenceSource on GitHub ↗

Fix Bug
by remix-run · 102 installs
The skill
The fix bug skill takes a React Router GitHub issue and works through it: reads the issue, checks the reproduction, writes a failing test, makes a minimal fix, runs tests, lint and typecheck, and prepares a PR.
Only when you ask.
The habit
Fix reported bugs with tests.
↻ Runs by itselfyou pass an issue
When does it start? How does it check its work? What does it remember?
Stops after one issue and at most two fix attempts per run.
Your agent asks you to resolve local changes, then branches from main.
It reads the issue with gh issue view and notes version and mode.
It reads the linked sandbox or repo, or asks you for a reproduction.
It adds a Jest unit test or a Playwright integration test that fails.
It makes the smallest change that fixes the root cause.
It runs the test, the package suite, pnpm lint and pnpm typecheck.
It writes a patch, minor, major or unstable change file.
You review; only after your approval does it commit and open a PR to main.
It writes only in its own folder and asks you before anything goes out.
Read both lists. If the left one sounds like you, the Fix Bug skill helps.
The agent checks the comments, then asks you for a minimal reproduction.
No. It reports first and opens the PR only after you approve.
Copy the prompt at the top into your agent. It installs the skill from remix-run/react-router and sets up the habit. Or run npx skills add remix-run/react-router --skill fix-bug.
Yes. It is published under MIT. Habit is free too.
Install the Fix Bug skill and make it a habit: follow https://gethabit.dev/skills/remix-run/fix-bug.md
All remix-run skills →More code skills →
Works in
Made by remix-run, published under MIT. Habit links to the original and never changes it. Is this your skill?