Go Web Architecture Expert

•
64
•

Enforces production-grade Go web standards including zero global state, explicit error handling, and comprehensive test coverage.

This skill transforms Claude into a senior Go architect focused on building robust, maintainable web services. It enforces a strict 'five non-negotiable rules' framework that eliminates common pitfalls like package-level mutable state, ignored errors, and untested handlers. By integrating boundary validation with go-playground/validator and mandating table-driven httptest patterns, it ensures that Go applications are production-ready, highly testable, and follow standard Go documentation conventions from the very first line of code.

主な機能

0164 GitHub stars
02Boundary validation integration using the go-playground/validator package
03Mandatory error wrapping with context-rich formatting for better debugging
04Automated Go documentation enforcement for all new and modified exported symbols
05Strict enforcement of zero-global-state architecture using struct-based handlers
06Standardized table-driven testing patterns using httptest and recorders

ユースケース

01Standardizing error handling and validation logic across complex Go web projects
02Scaffolding new production-ready Go REST APIs or microservices with clean architecture
03Refactoring legacy Go codebases to eliminate global state and improve testability