sdk-library-design
CommunityStandardize SDKs for reliable Go services
AuthorPremModhaOfficial
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill standardizes the design of internal shared libraries (SDKs) across Go microservices, reducing duplication, enforcing best practices, and improving testability.
Core Features & Use Cases
- Functional options pattern for flexible configuration (WithTimeout, WithRetries) and explicit constructors
- Interface-first design enabling easy mocking and testability across services
- Clear dependency rules and initialization/shutdown ordering to prevent circular dependencies
- Centralized configuration loading from environment variables and a consistent boot sequence
- Defines APIs for NATS SDK, Auth SDK, Observability SDK, Tenant SDK, Error SDK, and Middleware SDK
- Use cases include building cross-cutting libraries, wiring SDKs into service startup, and enforcing architectural discipline
Quick Start
Initialize a new Go SDK package using functional options constructors and interface-driven APIs, and wire it into the service startup with explicit initialization order.
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: sdk-library-design Download link: https://github.com/PremModhaOfficial/motadata-ai-pipeline/archive/main.zip#sdk-library-design 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.