Pular para o conteúdo
Kitbay
SkillOficial

pr-to-go-linter

MITAtualizado em 11 de nov. de 20265.616Estrelas no GitHub

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

O que a skill ensina

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.

O que faz

  • 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