fix

Automatisierte Code-Formatierung und Linting zur Behebung von Stilproblemen vor CI-Prüfungen. Führt Prettier für Code-Formatierung und Linc für Lint-Validierung sequenziell aus. Identifiziert verbleibende manuelle Korrekturen nach automatischen Anpassungen. Verhindert CI-Fehler, indem Formatierungs- und Lint-Fehler vor dem Commit erkannt werden.

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

Mehr Skills von 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
Führe einen Entwickler durch die Einrichtung einer Meta-API-Integration von Grund auf — findet die richtigen APIs, ruft Setup-Anleitungen und Authentifizierungsanforderungen ab, …
official
app-review-prep
facebook
Prepare a Meta app for App Review — checks current status, outstanding requirements, granted privileges, and submission history. Use before submitting an 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
Set up webhooks for a Meta app end-to-end — discover available topics, subscribe to fields, and verify with a test payload. Use when configuring webhooks for…
official
buck2-rule-basics
facebook
Guide users through writing their first Buck2 rule to learn fundamental concepts including rules, actions, targets, configurations, analysis, and select(). Use…
official
add-ir-instruction
facebook
Guide for adding a new IR instruction to the Hermes compiler. Use when the user asks to add, create, or define a new IR instruction (Inst/Instruction) in the…
official
binary-size-analysis
facebook
Diese Fähigkeit sollte verwendet werden, wenn der Benutzer Änderungen der hermesvm-Binärgröße über eine Reihe von Commits hinweg analysieren möchte. Verwenden Sie sie, wenn der Benutzer „binary size" erwähnt,…
official