01
It starts by itself
before each commit. Runs in Claude Code routine.
- ↻ before each commit
pre-commit
Commits that pass lint checks.
Install the Fix skill and make it a habit: follow https://gethabit.dev/skills/react/fix.md
243K installs252K starsMIT licenceSource on GitHub ↗

Fix
by react · 243K installs
The skill
The fix skill has your agent run yarn prettier and yarn linc before a commit and report lint errors that need manual work.
Only when you ask.
The habit
Commits that pass lint checks.
↻ Runs by itselfbefore each commit
When does it start? How does it check its work? What does it remember?
Stops after one format and lint pass per commit, plus one retry.
Run yarn prettier, which formats only the changed files.
Run yarn linc to find lint issues that remain.
List every remaining issue that needs a manual fix and log it.
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 skill helps.
No. In this setup yarn prettier formats only changed files.
The loop lists the errors for you. The skill warns that these fail CI.
Only where yarn prettier and yarn linc exist as scripts.
Copy the prompt at the top into your agent. It installs the skill from react/react and sets up the habit. Or run npx skills add react/react --skill fix.
Yes. It is published under MIT. Habit is free too.
Install the Fix skill and make it a habit: follow https://gethabit.dev/skills/react/fix.md
All react skills →More code skills →
Works in
Made by react, published under MIT. Habit links to the original and never changes it. Is this your skill?