它能做什么
中文摘要
「fix」的原始 GitHub SKILL.md 将它定位为:Use when you have lint errors, formatting issues, or before committing code to ensure it passes CI.。它的核心价值是围绕「代码质量」任务提供结构化步骤、触发条件和验收口径。文档重点章节包括「Instructions」「Common Mistakes」。
为什么推荐
推荐理由
推荐它,是因为它在「代码质量」分类里热度靠前(GitHub Stars 246,090),同时原始文档信息密度足够高。原文列出的执行要点包括:**Running prettier on wrong files** - `yarn prettier` only formats changed files;**Ignoring linc errors** - These will fail CI, fix them before committing。对经常重复的任务来说,这类 Skill 能把经验沉淀到工作流前端,减少临场猜测。
什么时候用
适用场景
- 围绕「代码质量」任务给 Agent 增加可复用的领域流程
- 把临时提示词沉淀成稳定技能,减少重复解释和返工
使用前先看
主要亮点
- 01
可在 lint 报错、格式不一致或提交前快速清理问题。
- 02
对提交前的基础质量检查很实用,减少 CI 因样式问题失败。
- 03
原文有效说明不足,按 React 代码检查场景保守使用。
原始文档
原文摘录
Use when you have lint errors, formatting issues, or before committing code to ensure it passes CI.