Attgo-Linter Rule Creator

•
1
•

Automates the end-to-end process of creating and registering custom static analysis rules for the Attestant Go linter.

The Add Rule skill for attgo-linter provides a structured, interactive workflow for developers looking to extend their Go linting capabilities. It manages the entire lifecycle of a new rule by gathering requirements, generating boilerplate analyzer and test code, and handling the registration within the plugin's configuration system. By automating the creation of test fixtures and documentation, this skill ensures that every new linter rule is consistent, well-documented, and fully integrated into the project's ecosystem without manual boilerplate management.

Key Features

01Seamless registration in plugin configuration and build logic
021 GitHub stars
03Interactive metadata gathering for rule priority and examples
04Automatic documentation updates for READMEs and changelogs
05Standardized test fixture creation with diagnostic expectations
06Automated Go analyzer package and test file generation

Use Cases

01Scaling static analysis by quickly adding custom security checks
02Implementing project-specific style guides for Go repositories
03Standardizing the contribution workflow for linter maintainers