.agents/skills/handlers-and-http/SKILL.md
Implement HTTP handlers that parse requests, invoke use cases, and format responses following REST conventions.
npx skillsauth add gobetterauth/go-better-auth handlers-and-httpInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
constants/errors.go.Handlers are the HTTP boundary:
See examples/todo_handlers.go for:
tools
Orchestrate services and repositories through use cases to implement application-level workflows and business scenarios.
development
Write unit tests in Go following Red-Green-Refactor TDD principles.
tools
Define and implement services that encapsulate business logic with proper constructor-based dependency injection.
tools
Register and retrieve services at runtime using a thread-safe service registry pattern for loose coupling between plugins.