go-scaffold

Scaffold a Go backend project with Fiber, PostgreSQL, and clean architecture.

3|Updated Mar 22, 2026
One-click install
npx skills add https://github.com/vndee/engineering-skills --skill go-scaffold
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: go-scaffold
Source: https://github.com/vndee/engineering-skills/tree/main/.claude/skills/go-scaffold
Command: npx skills add https://github.com/vndee/engineering-skills --skill go-scaffold

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This scaffold provides a production-ready Go backend skeleton with Fiber, PostgreSQL, and clean architecture, eliminating repetitive boilerplate setup.

Core Features & Use Cases

  • Predefined project structure: cmd/, internal/, migrations/, docs/ and tooling aligned to clean architecture.
  • Migrations, Docker, and CI-ready tooling: Includes golang-migrate migrations, Dockerfile, Makefile, and scripts to streamline development and deployment.
  • Wiring and utilities: Ready-to-use main.go wiring, health checks, Swagger docs integration, and validation utilities following best practices for Go services.
  • Use Case: Start a new Go microservice quickly with a maintainable architecture and a baseline for testing and deployment.

Quick Start

Create a new Go project using the scaffold, then run make run to start the development server and verify health endpoints.

Frequently Asked Questions about go-scaffold

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

FAQPage Schema
How do I scaffold a Go backend with clean architecture and Fiber?

To scaffold a Go backend with clean architecture, this template generates a predefined project structure using Fiber and PostgreSQL, including internal directories, cmd wiring, and validation utilities.

What is included in a production-ready Go microservice project structure?

A production-ready Go microservice project structure includes cmd, internal, and migrations directories, alongside Docker, Makefile, CI tooling, Swagger docs integration, and health checks.

Can I use this Go scaffold for new microservices needing PostgreSQL migrations?

Yes, you can use this Go scaffold for new microservices needing PostgreSQL migrations, as it integrates golang-migrate for database schema management and concurrency-safe wiring.

Does this clean architecture Go template support Docker and CI tooling?

Yes, this clean architecture Go template supports Docker and CI tooling by providing a preconfigured Dockerfile, Makefile, and scripts to streamline development and deployment processes.

How do I start a new Go API project using this clean architecture template?

To start a new Go API project, create a new repository from the scaffold and run make run to start the development server and verify the health endpoints.

What's the best way to avoid repetitive boilerplate when starting a Fiber and PostgreSQL backend?

The best way to avoid repetitive boilerplate when starting a Fiber and PostgreSQL backend is using a predefined scaffold that supplies ready-to-use main.go wiring, clean architecture layouts, and testing utilities.