AgentSkillsCN

fix-lint

运行前端代码检查工具,分析检查失败原因,并迭代修复问题。适用于前端代码检查失败、出现 lint 错误,或用户要求修复前端仓库中的 lint 问题时使用。

SKILL.md
--- frontmatter
name: fix-lint
description: Run the frontend linter, analyze failures, and fix them iteratively. Use when linting fails, lint errors appear, or the user asks to fix lint issues in the frontend repo.

Fix Linter Failures

Steps

  1. Run bun run lint:fix.
  2. Review the output for failures.
  3. Fix one issue at a time.
  4. Re-run bun run lint:fix to confirm all issues are fixed.
  5. If failures remain, repeat steps 3 and 4.