All skills
facebook avatar

/fix

@a056625 official
by Metafacebook/react251k stars
51,417

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

Use this Skill: https://skilld.dev/gh/facebook/react/fix

This session only. Nothing lands on disk.

SKILL.md

≈26 tokens always: the name and description. ≈91 when used: this file.

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

Source: SKILL.md on GitHub

No alerts3mo5 checks · Risk SAFE
  • Gen Agent Trust Hub3mo

    This skill provides standard instructions for formatting and linting code using Prettier and a local linting script via Yarn. No security risks were identified.

  • Socket3mo

    No alerts

  • Snyk3mo

    Risk: LOW · No issues

  • Runlayer7mo

    1 file scanned · No issues

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at a056625. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 8 months ago
  • React
  • linting
  • formatting
  • prettier
  • eslint
  • ci
  • yarn

README badge

README badge for facebook/react/fix

Runs Prettier and lint checks on a React codebase to fix formatting issues and catch lint errors before committing. Targets the facebook/react repository workflow specifically, using yarn prettier for formatting and yarn linc for linting.

Generated from the current SKILL.md.

What linter does this skill use?
The skill uses the React repo's lint tooling via `yarn linc`. It does not specify the underlying linter (ESLint, etc.) in the SKILL.md.
Does this work with the entire codebase or just changed files?
The `yarn prettier` command formats only changed files, not the entire codebase.
What should I do if linc reports errors?
Fix the reported lint errors before committing, as they will cause CI to fail.

Generated from the current SKILL.md. These answers refresh after source changes.