fix
facebook/react
Fix formatting and lint errors before committing code.
What is fix?
Automatically resolves formatting issues and checks for lint errors in your codebase. Use this before committing to ensure your code passes CI checks and meets project standards.
- Run prettier to automatically fix code formatting
- Execute linc to identify remaining lint issues
- Report any manual fixes required before committing
- Ensure code meets CI requirements before pushing
How to install fix
npx skills add https://github.com/facebook/react --skill fix- yarn package manager installed
- Project configured with prettier and linc
How to use fix
- 1.Run `yarn prettier` to fix formatting issues
- 2.Run `yarn linc` to check for remaining lint errors
- 3.Review any reported issues that require manual fixes
- 4.Commit your changes once all issues are resolved
Use cases
- Fix formatting issues across changed files before committing
- Resolve lint errors that would fail CI checks
- Prepare code for code review by ensuring it meets style standards
- Validate code quality before pushing to a shared branch
- React developers
- Contributors to React projects
- Teams using prettier and linc for code quality
fix FAQ
It automatically fixes code formatting on changed files according to the project's prettier configuration.
It checks for remaining lint issues that prettier cannot automatically fix. These must be resolved before committing.
No, prettier only handles formatting. Lint errors found by linc may require manual fixes.
Run it before committing code to ensure it passes CI checks and meets project standards.
Full instructions (SKILL.md)
Source of truth, from facebook/react.
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
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
More from facebook/react and the wider catalog.

flags
Use when you need to check feature flag states, compare channels, or debug why a feature behaves differently across release channels.

flow
Use when you need to run Flow type checking, or when seeing Flow type errors in React code.

test
Use when you need to run tests for React core. Supports source, www, stable, and experimental channels.

verify
Use when you want to validate changes before committing, or when you need to check all React contribution requirements.

no-use-effect
>-

fal-image-edit
Edit images using AI on fal.ai. Style transfer, object removal, background changes, and more. Use when the user requests "Edit image", "Remove object", "Change background", "Apply style", or similar image editing tasks.