go-handlers
CommunityDesign robust Go HTTP handlers fast.
Authoranicdh
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Long, fat HTTP handlers in Go make testing and maintenance painful. This skill guides you to keep handlers thin and push business logic into services.
Core Features & Use Cases
- Thin handlers: keep request handling lightweight and delegate business logic to services.
- Input validation & error handling: validate inputs and return structured error responses.
- Route registration & middleware patterns: centralize route wiring and demonstrate common middleware (logging, auth).
Use case: build REST endpoints for resources with predictable shapes and testability.
Quick Start
Implement a new Go HTTP handler following the thin-handler pattern and wire it into your router.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: go-handlers Download link: https://github.com/anicdh/agstack/archive/main.zip#go-handlers Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.