react2.3K installs
Use when you have lint errors, formatting issues, or before committing code to ensure it passes CI.
Install
npx skills add https://github.com/react/react --skill fixSKILL.md
Fix 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
Related skills
extract-errorsreact1.3KUse when adding new error messages to React, or seeing "unknown error code" warnings.testreact1.2KUse when you need to run tests for React core. Supports source, www, stable, and experimental channels.feature-flagsreactUse when feature flag tests fail, flags need updating, understanding @gate pragmas, debugging channel-specific test failures, or adding new flags to React.flagsreactUse when you need to check feature flag states, compare channels, or debug why a feature behaves differently across release channels.