backend-go

Guide Go backend development with Clean Architecture dependency rules.

Updated May 2, 2026
One-click install
npx skills add https://github.com/Qunnnn/agents --skill backend-go-qunnnn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: backend-go
Source: https://github.com/Qunnnn/agents/tree/main/templates/antigravity/go/.agents/skills/backend_go
Command: npx skills add https://github.com/Qunnnn/agents --skill backend-go-qunnnn

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers avoid architectural drift and inconsistent backend implementations by providing structured guidance for building and modifying Go services with Clean Architecture principles.

Core Features & Use Cases

  • Architecture Guidance: Enforces dependency direction, layered design, and separation between entities, services, delivery, middleware, and repositories.
  • Backend Development Workflow: Guides endpoint creation, code changes, database updates, testing, and OpenAPI synchronization.
  • Use Case: Use this Skill when adding a new API feature to a Go backend and needing a consistent path from domain models through service logic, repository implementation, and HTTP handlers.

Quick Start

Use the backend-go skill to help me add a new endpoint while following the project's Clean Architecture rules.

Frequently Asked Questions about backend-go

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure a Go backend with clean architecture?

Structure a Go backend with clean architecture by enforcing dependency direction across layers, separating entities, services, delivery, middleware, and repositories. Interface-driven services ensure domain logic remains decoupled from database and HTTP implementation details.

How do I add a new API endpoint while maintaining clean architecture in Go?

Add a new API endpoint by coordinating updates across backend components, routing requests from HTTP delivery handlers through the service layer logic down to repository implementations. This ensures architectural compliance and consistent domain model mapping.

What is the repository pattern in Go service layer design?

The repository pattern in Go service layer design abstracts database operations behind interfaces, allowing service layers to interact with data access logic without knowing implementation details. This enforces dependency rules and keeps domain logic isolated from storage mechanisms.

Can I use clean architecture for Go database migrations and testing workflows?

Clean architecture supports Go database migrations and testing workflows by guiding structured updates across repositories and services. Coordinated component changes ensure testing workflows align with dependency rules and layered design compliance during database schema modifications.

Does Go clean architecture require interface-driven services and secure configuration?

Go clean architecture requires interface-driven services to decouple dependencies and secure configuration handling to protect sensitive data across delivery, middleware, and repository layers. These practices maintain idiomatic Go standards and prevent architectural drift.