About fix
fix is a skill for formatting code and checking lint issues in projects that use Yarn commands. It runs the formatter and linter in order, then reports anything that still needs manual attention.
Key features
- 01Run yarn prettier on changed files
- 02Run yarn linc to check lint issues
- 03Report remaining manual fixes
Use cases
- 01Format code before committing
- 02Check for lint issues after formatting
- 03Identify CI errors that need manual attention
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ react/ react --skill fixAfter installing, type/fixin Claude Code to confirm it loaded.
Details
From the project READMEFix Lint and Formatting
Instructions
- Run
yarn prettierto fix formatting - Run
yarn lincto check for remaining lint issues - Report any remaining manual fixes needed
Common Mistakes
- Running prettier on wrong files -
yarn prettieronly formats changed files - Ignoring linc errors - These will fail CI, fix them before committing
Comments
Markdown supported