static-analysis

star 499

Run CI-aligned static analysis (vet, gosec, govulncheck) and convert findings into prioritized remediation steps.

pilinux By pilinux schedule Updated 2/19/2026

name: static-analysis description: Run CI-aligned static analysis (vet, gosec, govulncheck) and convert findings into prioritized remediation steps. license: MIT metadata: mode: verify purpose: static-analysis

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
Install via CLI
npx skills add https://github.com/pilinux/gorest --skill static-analysis
Repository Details
star Stars 499
call_split Forks 63
navigation Branch main
article Path SKILL.md
More from Creator