AI agent skill · by @pilinux
Static Analysis
Run CI-aligned static analysis (vet, gosec, govulncheck) and convert findings into prioritized remediation steps.
Archived 2026-10-23 · Source updated 2026-09-25 · License: MIT. Check the original repository for the latest version.
SKILL.md instructions
# Static Analysis ## When to Use - Security or correctness checks are requested, or to reproduce CI static-analysis failures locally. ## Rules - Use repository-standard tooling where configured. - Summarize findings by severity and provide minimal remediation steps. - Avoid suppressing issues unless instructed. ## Commands - `go vet -v ./...` - `gosec ./...` - `govulncheck ./...` ## Cross-Platform Vet CI runs vet on six OS/arch combos. Key examples: - `GOOS=linux GOARCH=amd64 go vet -v ./...` - `GOOS=darwin GOARCH=arm64 go vet -v ./...` - `GOOS=windows GOARCH=amd64 go vet -v ./...` ## Output - Findings grouped by tool and severity. - For each: `path:line`, plain-language meaning, and a minimal fix suggestion. - Verification: commands to re-run the specific tool. ## Related Skills - `linter-runner`, `ci-orchestrator`