跳到正文
FunCoding

linter-runner

Execute repository linters and surface highest-priority issues with minimal, targeted fixes.

Star
507
许可证
MIT
最近提交
2026年12月1日

.agents/skills/linter-runner/SKILL.md

在 GitHub 上查看

Linter Runner

When to Use

  • After formatting and before/after tests or PR creation to ensure linter parity with CI.

Rules

  • Use the repository's configured linter commands (see AGENTS.md).
  • Prioritize actionable issues: security/correctness > concurrency > API misuse > style.
  • Provide minimal code-change suggestions; avoid large refactors unless explicitly requested.

Commands

  • Primary: golangci-lint run --timeout 5m --verbose ./... (CI uses golangci-lint v2.13.2)
  • Secondary: revive ./...

Output

  • Top findings (5-15) grouped by file and rule.
  • One-line fix suggestion per finding.
  • Verification steps (re-run lint, run focused tests).
  • code-formatter, static-analysis, test-runner

相似的 Skill

rea-analysis-optimization

MOmorluto/rea485k近 7 天新增 9,215 个 star

codebase-design

MAmattpocock/skills336k近 7 天新增 5,004 个 star

精选

diagnosing-bugs

诊断困难 bug 和性能回归,用测试或脚本构建反馈循环定位问题。

MAmattpocock/skills336k近 7 天新增 5,004 个 star

setup-ts-deep-modules

MAmattpocock/skills336k近 7 天新增 5,004 个 star

code-review

MAmattpocock/skills336k近 7 天新增 5,004 个 star

implement

MAmattpocock/skills336k近 7 天新增 5,004 个 star