
fix
✓ Official★ 246,200by facebook · part of react/react
Automated code formatting and linting to resolve style issues before CI checks. Runs Prettier for code formatting and linc for lint validation in sequence Identifies remaining manual fixes needed after automated corrections Prevents CI failures by catching formatting and lint errors before commit
Automated code formatting and linting to resolve style issues before CI checks. Runs Prettier for code formatting and linc for lint validation in sequence Identifies remaining manual fixes needed after automated corrections Prevents CI failures by catching formatting and lint errors before commit
Inspect the full instructions your agent will receiveExpandCollapse
This is the exact playbook injected into your agent when the skill activates — shown here so you can audit it before installing. You don't need to read it to use the skill.
name: fix description: Use when you have lint errors, formatting issues, or before committing code to ensure it passes CI.
Fix Lint and Formatting
Instructions
- Run
yarn prettierto fix formatting - Run
yarn lincto check for remaining lint issues - Report any remaining manual fixes needed
npx skills add https://github.com/react/react --skill fixRun this in your project — your agent picks the skill up automatically.
Common Mistakes
- Running prettier on wrong files -
yarn prettieronly formats changed files - Ignoring linc errors - These will fail CI, fix them before committing