backend-service-patterns

Official

Go API patterns for robust services.

Authorlinehaul-ai
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill outlines a layered architecture pattern for Go-based backend services, including handlers, services, repositories, and DTOs, using Echo and pgx.

Core Features & Use Cases

  • Layered Architecture: handler → service → repository → database
  • Patterns: handler struct with DI, create/list handlers
  • Parameter Parsing: robust query param parsing and validation

Quick Start

Create a new handler struct and wire a repository to build a new endpoint.

Dependency Matrix

Required Modules

None required

Components

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: backend-service-patterns
Download link: https://github.com/linehaul-ai/linehaulai-claude-marketplace/archive/main.zip#backend-service-patterns

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository