W Lint

blockmatic/basilic-skills/skills/workflow/w-lint

作者 blockmatic7e05e2abd052dc6b526e8a28e36d102d42bfd635无许可证1 个星标收录于 2026年10月9日更新于 2026年10月9日仓库6天前更新

Run project linters, apply the smallest fixes, and re-run until the suite is clean.

AI 生成的概览

运行项目 linter,应用最小修复,并反复运行直到检查套件干净。

功能
该技能运行仓库文档中记录的 lint 命令,在仓库提供自动修复时使用自动修复,并记录剩余错误。随后以最小差异修复这些问题,只有在有证据表明其归属时才更改抑制规则或配置。它会重新运行 lint、抽查差异,并且不暂存、不提交。它不是合并门禁。
适用场景
当项目的 lint 套件失败,且希望应用最小且符合惯例的修复时使用。它适合本地清理工作,改动应保持未提交以便审查。
运行要求
该技能不附带脚本,仅为指令。它需要一个带有文档化 lint 命令的仓库,以及该命令所依赖的 linter 工具。

Run the repository lint scripts and apply the smallest idiomatic fixes. This is not a merge gate and does not commit.

  1. Run the documented lint command with autofix when the repo provides one. Capture remaining errors.
  2. Fix remaining issues with minimal diffs. Change suppressions or config only with evidence they belong.
  3. Re-run lint. Spot-check the diff. Do not stage or commit.
  4. Docs: /w-docs if behavior or commands changed.

来源与署名

来源:blockmatic/basilic-skills位于skills/workflow/w-lint提交7e05e2a

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架