003-create-golang-project

Scaffold Go CLI or library projects with standard tooling and layout.

1|1|Updated Mar 4, 2026
One-click install
npx skills add https://github.com/flaviostutz/agentkit --skill 003-create-golang-project
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: 003-create-golang-project
Source: https://github.com/flaviostutz/agentkit/tree/main/.xdrs/agentkit/edrs/application/skills/003-create-golang-project
Command: npx skills add https://github.com/flaviostutz/agentkit --skill 003-create-golang-project

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the creation of a new Go project, setting up a standard boilerplate structure and essential tooling to accelerate development.

Core Features & Use Cases

  • Project Scaffolding: Generates a complete Go CLI or library project structure.
  • Standard Tooling: Integrates go.mod, Makefile, golangci.yml, and .gitignore.
  • Feature Package Structure: Organizes business logic into feature packages and CLI commands.
  • Use Case: When starting a new Go CLI application, use this Skill to quickly generate the foundational files and directory layout, adhering to best practices.

Quick Start

Use the 003-create-golang-project skill to scaffold a new Go project named 'my-cli-app' with the main feature 'process'.

Frequently Asked Questions about 003-create-golang-project

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

FAQPage Schema
How do I scaffold a new Go CLI or library project with standard boilerplate?

To scaffold a Go project, this skill generates a standard directory layout with go.mod, main.go, Makefile, and golangci.yml. It automates boilerplate creation by configuring the module name, binary name, author, and Go version for rapid project initialization.

What is included in a generated Go project structure?

A generated Go project structure includes essential tooling files like go.mod for modules, a Makefile for build automation, golangci.yml for linting, and .gitignore. It also organizes initial feature packages and CLI commands to separate business logic.

Can I define the module name and Go version when setting up a Go project?

Yes, you can define the module name, binary name, author, and Go version when setting up a Go project. The skill uses these inputs to automatically configure your go.mod file and generate a customized project layout.

What's the best way to initialize a Go project with feature packages?

The best way to initialize a Go project with feature packages is using a scaffolding tool that organizes business logic into separate packages and CLI commands. This skill automates that setup, creating a standard layout for rapid development.

Does this Go project scaffolding work for both CLI applications and libraries?

Yes, this Go project scaffolding works for both CLI applications and libraries. It generates the appropriate main.go entry point and organizes feature packages, adhering to standard tooling and layout conventions for either project type.