golang-code-audit
Installation
SKILL.md
Go Code Audit
Workflow
- Determine the audit scope: whole repo, diff, package, command, service, tests, CI/build, or release path.
- Inspect
go.mod,go.work, package layout, relevant source files, tests, build scripts, and configured quality commands before judging. - Select companion skills by risk area:
golang-planning-layoutfor module layout, package boundaries, command structure, and naming.golang-architecture-patternsfor dependency direction, interfaces, services, adapters, repositories, APIs, and concurrency boundaries.golang-implementation-idiomsfor naming, errors, context, nil handling, generics, comments, and standard library usage.golang-testingfor coverage gaps, test boundaries, fakes, determinism, benchmarks, fuzzing, and race checks.golang-quality-lintingfor format, vet, static analysis, security, linter configuration, and completion gates.golang-build-deployfor release, packaging, Docker, CI, runtime config, graceful shutdown, and deployment readiness.
- Run or request the narrowest verification commands that are safe and relevant. If a command cannot be run, state that as residual risk.
- Produce findings first, ordered by severity, with file and line references when possible.
- Separate correctness, security, race/leak, API breakage, test gaps, maintainability, and style findings.
- Do not include broad rewrites, unrelated refactors, or stylistic preferences unless they materially affect maintainability or match the requested audit scope.