go-anti-patterns

Installation
SKILL.md

Go Anti-Patterns Skill

Detect and remediate the 7 core Go anti-patterns: premature interface abstraction, goroutine overkill, error wrapping without context, channel misuse, generic abuse, context soup, and unnecessary function extraction. Every detection is evidence-based with code location and concrete harm explanation, and every recommendation aligns with Go proverbs and standard library conventions.

Instructions

Phase 1: Prepare

Read and follow the repository's CLAUDE.md before reviewing any code. Identify which files are under review and restrict all analysis to those files -- do not flag patterns in files outside the review scope.

If the user requests a full codebase scan or historical git analysis, enable those modes explicitly. Otherwise, stay within the files presented.

Phase 2: Scan for Anti-Patterns

Use the Quick Detection Guide to systematically check each file under review. Work through the table row by row against the code.

Code Smell Detection Question If Yes
Interface with one impl Do you have 2+ implementations? Remove interface
Related skills
Installs
6
GitHub Stars
366
First Seen
Mar 23, 2026