scaffold-go

Generate a Go project scaffold with standard layouts, Makefile, and GitHub Actions.

1|1|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/dennisonbertram/go-agent-harness --skill scaffold-go
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scaffold-go
Source: https://github.com/dennisonbertram/go-agent-harness/tree/main/skills/scaffold-go
Command: npx skills add https://github.com/dennisonbertram/go-agent-harness --skill scaffold-go

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates creating a production-ready Go project scaffold, reducing setup time and ensuring consistency across services.

Core Features & Use Cases

  • Standard Go project layout (cmd/<APP_NAME>, internal/app/).
  • Makefile with common targets (build, test, lint, docker).
  • GitHub Actions CI workflow for automated testing and linting.
  • Initial tests and a basic application structure to start development.
  • Use case: starting a new Go service or CLI with module initialization and CI configuration.

Quick Start

Execute /scaffold-go <module-path> [app-name] to generate a complete Go project skeleton in a new directory.

Frequently Asked Questions about scaffold-go

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

FAQPage Schema
How do I scaffold a production-ready Go project with a standard layout?

Scaffold a production-ready Go project by supplying a module path and optional app name to generate standard cmd/ and internal/app/ directories, a Makefile, GitHub Actions CI, and test/lint setup. This creates a Git repository structure ready for immediate development.

What's included in a standard Go project setup for new services or CLIs?

A standard Go project setup includes a cmd/<APP_NAME> directory layout, internal/app/ structure, Makefile with build/test/lint/docker targets, GitHub Actions CI workflows for automated testing, and initial application scaffolding to start development immediately.

Do I need to manually run go mod init when creating a new Go project skeleton?

No, you do not need to manually run go mod init. The scaffolding process enforces input-driven module initialization automatically when you supply the module path, configuring Go tooling integration and creating the project directory.

Can I use this Go project scaffolding for both services and CLI applications?

Yes, you can use this Go project scaffolding for both new Go services and CLI applications. It generates a complete project skeleton with standard layouts, CI configuration, and tooling integration tailored for either use case.

Does the generated Go scaffold include CI configuration for automated testing?

Yes, the generated Go scaffold includes GitHub Actions CI workflows configured for automated testing and linting. It also provides a Makefile with common targets and initial tests to ensure immediate development readiness.

Why scaffold a Go project instead of setting up the directory structure manually?

Scaffolding a Go project automates directory creation, module initialization, and CI configuration, reducing setup time and ensuring consistency across services. It eliminates repetitive manual configuration of Makefiles, linting, and GitHub Actions.