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 從公開儲存庫中收錄這些內容。

檢舉或申請下架