Back to Skills

fix

verified

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

View on GitHub

Repository
Verified Org

facebook/react
242.5kstars

.claude/skills/fix/SKILL.md

Last Verified

January 25, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/facebook/react/blob/a0566250b210499b4c5677f5ac2eedbd71d51a1b/.claude/skills/fix/SKILL.md -a claude-code --skill fix

Installation paths:

Claude
.claude/skills/fix/
Powered by add-skill CLI

Instructions

# 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

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
358 chars