跳至正文
OpenAgentSkill
浏览已开放 · 目录记录日期 2026-11-21 · 自动更新和账户服务暂时关闭。
开发与测试

fix

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

react · 已有静态检查记录

安装与使用

运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。

npx skills add react/react --skill fix

技能说明


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