go-quality-review

Solid

Review Go code for code quality, style, and modern Go practices including function length, nesting depth, naming, mutable globals, interface design, receiver consistency, modern Go idioms (slog, generics, typed atomics), and static analysis. Trigger when reviewing Go code structure, readability, or maintainability. Also runs golangci-lint for automated style checks.

AI & Automation 27 stars 5 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 85/100

Stars 20%
48
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Go Quality Review ## Purpose Audit Go code for structural quality, style conformance, and modern Go practices. This skill is the **designated lint-tool runner** — other vertical review skills do NOT run golangci-lint/staticcheck/go vet, avoiding duplicate execution. This skill does NOT cover: security, concurrency, performance, error handling, test quality, or business logic — those belong to sibling vertical skills. ## When To Use - Reviewing code structure and readability - Checking Go naming conventions and package organization - Evaluating use of modern Go features - Need to run `golangci-lint` / `staticcheck` / `go vet` ## When NOT To Use - Security vulnerabilities → `go-security-review` - Concurrency safety → `go-concurrency-review` - Error handling correctness → `go-error-review` - Performance optimization → `go-performance-review` - Business logic → `go-logic-review` ## Mandatory Gates ### 1) Go Version Gate Read `go.mod` for `go` directive. Do NOT recommend features above project version. | Feature | Minimum Go | |---------|-----------| | Generics | 1.18 | | Typed atomics (`atomic.Int64`, `atomic.Bool`) | 1.19 | | `slog`, `slices`/`maps` packages, `min`/`max` builtins, `sync.OnceValue`/`OnceFunc` | 1.21 | | Range-over-func, enhanced loop variable semantics | 1.22 | | `iter.Seq`, `unique` package | 1.23 | ### 2) Anti-Example Suppression Gate MUST quote specific code evidence. Category match alone insufficient. Embedded anti-examples: - **"Should use generi...

Details

Author
johnqtcg
Repository
johnqtcg/awesome-skills
Created
4 months ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category