facebook avatar

Fix

The fix skill automates code quality checks and formatting for the React repository by running Prettier for formatting and linc for linting, helping developers catch errors before committing code to CI. It's designed for React contributors who need to ensure their changes meet the project's code standards and will pass automated checks. This skill solves the problem of manual formatting inconsistencies and lint violations that would otherwise block pull requests during continuous integration.

skills.sh installs
2.1K
GitHub stars
246.5K
last updated
Jul 14, 2026

Install

$ npx -y skills add facebook/react --skill fix --agent claude-code

Installs into .claude/skills of the current project.

Files

Fix Lint and Formatting

Instructions

  1. Run yarn prettier to fix formatting
  2. Run yarn linc to check for remaining lint issues
  3. Report any remaining manual fixes needed

Common Mistakes

  • Running prettier on wrong files - yarn prettier only formats changed files
  • Ignoring linc errors - These will fail CI, fix them before committing

Sponsors

Details

Repository
github.com/facebook/react
Categories
Frontend Development, Debugging

More from facebook/react

All 8
1onmax avatarts-libraryonmax/nuxt-skillsUse when authoring TypeScript libraries or npm packages - covers project setup, package.json exports, build tooling (tsdown/unbuild), API design patterns, type 2Kskills.sh installs
2onmax avatarpnpmonmax/nuxt-skillsUse when managing Node.js dependencies with pnpm - install packages, configure monorepo workspaces, set up pnpm catalogs, resolve dependency conflicts with over1.9Kskills.sh installs
3facebook avatarextract-errorsfacebook/reactextract errors1.1Kskills.sh installs
4facebook avatartestfacebook/reacttest1.1Kskills.sh installs
5facebook avatarverifyfacebook/reactverify1.1Kskills.sh installs
6facebook avatarfeature-flagsfacebook/reactfeature flags1Kskills.sh installs