.agents/skills/services-and-interfaces/SKILL.md
Define and implement services that encapsulate business logic with proper constructor-based dependency injection.
npx skillsauth add gobetterauth/go-better-auth services-and-interfacesInstall 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.
context.ContextServices handle business logic:
See examples/todo_service.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
Register and retrieve services at runtime using a thread-safe service registry pattern for loose coupling between plugins.
data-ai
Implement repository interfaces for data persistence and abstraction over database operations using Bun ORM.