Home / Skills / react/react

fix

Use when you have lint errors, formatting issues, or before committing code to ensure it passes CI.

skillLicense: MIT Source: react/react

Install

Copy this folder into your Claude Code project (needs Node.js):

npx degit react/react/.claude/skills/fix .claude/skills/fix

Or install it for every project:

npx degit react/react/.claude/skills/fix ~/.claude/skills/fix

File content

Made by its original authors and shared under MIT. We show it unchanged, with credit and a link to the source. Source ↗

---
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

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