fix

Formateo y linting automatizado de código para resolver problemas de estilo antes de las verificaciones de CI. Ejecuta Prettier para el formateo de código y linc para la validación de linting en secuencia. Identifica las correcciones manuales restantes necesarias después de las correcciones automatizadas. Previene fallos de CI al detectar errores de formateo y linting antes del commit.

npx skills add https://github.com/facebook/react --skill fix

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

Más skills de facebook

api-health
facebook
Monitor API health for a Meta app — check rate limits, call volume, and API deprecations. Use to diagnose throttling, plan capacity, or prepare for API version…
official
api-integration
facebook
Guide a developer through setting up a Meta API integration from scratch — discovers the right APIs, fetches setup guides, authentication requirements,…
official
app-review-prep
facebook
Prepara una app de Meta para App Review: comprueba el estado actual, los requisitos pendientes, los privilegios concedidos y el historial de envíos. Úsalo antes de enviar una app…
official
debug-webhooks
facebook
Troubleshoot webhook issues for a Meta app — inspect active subscriptions, identify misconfiguration, and send test payloads to verify delivery. Use when…
official
webhook-setup
facebook
Configura webhooks para una app de Meta de principio a fin: descubre los temas disponibles, suscríbete a campos y verifica con una carga de prueba. Úsalo al configurar webhooks para…
official
buck2-rule-basics
facebook
Guía a los usuarios en la escritura de su primera regla de Buck2 para aprender conceptos fundamentales, incluyendo reglas, acciones, targets, configuraciones, análisis y select(). Usa…
official
add-ir-instruction
facebook
Guía para añadir una nueva instrucción IR al compilador Hermes. Se utiliza cuando el usuario pide añadir, crear o definir una nueva instrucción IR (Inst/Instruction) en el…
official
binary-size-analysis
facebook
This skill should be used when the user wants to analyze hermesvm binary size changes across a range of commits. Use when the user mentions "binary size",…
official