本文へスキップ
Kitbay
スキル公式

pr-to-go-linter

MIT2026年11月11日 更新5,616GitHubスター

A maintainer skill that turns a code pattern fixed in a pull request into a new custom Go linter for gh-aw.

スキルの内容

A maintainer skill that turns a code pattern fixed in a pull request into a new custom Go linter for gh-aw. Given the repository, the pull request number and a linter name, the agent reads the pull request's changes, works out the rule, creates an analyzer under the linters package with tests and registers it with the runner, so the same mistake is caught automatically in later changes.

できること

  • Read a pull request to find a fixed code pattern
  • Generate a go/analysis linter from that pattern
  • Add tests and register the new linter