Agent skill
fix
Use when you have lint errors, formatting issues, or before committing code to ensure it passes CI.
Install this agent skill to your Project
npx add-skill https://github.com/facebook/react/tree/main/.claude/skills/fix
SKILL.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
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
flow
Use when you need to run Flow type checking, or when seeing Flow type errors in React code.
flags
Use when you need to check feature flag states, compare channels, or debug why a feature behaves differently across release channels.
verify
Use when you want to validate changes before committing, or when you need to check all React contribution requirements.
feature-flags
Use when feature flag tests fail, flags need updating, understanding @gate pragmas, debugging channel-specific test failures, or adding new flags to React.
extract-errors
Use when adding new error messages to React, or seeing "unknown error code" warnings.
test
Use when you need to run tests for React core. Supports source, www, stable, and experimental channels.
Didn't find tool you were looking for?