go-module

Generate a Go module scaffold with Clean Architecture controllers, use cases, and DTOs.

10|5|Updated Jan 5, 2026
One-click install
npx skills add https://github.com/phuthuycoding/moicle --skill go-module
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: go-module
Source: https://github.com/phuthuycoding/moicle/tree/main/assets/skills/go-module
Command: npx skills add https://github.com/phuthuycoding/moicle --skill go-module

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generate a complete Go module scaffold aligned with the Clean Architecture pattern, reducing boilerplate and setup time for new projects.

Core Features & Use Cases

  • Architecture-aware boilerplate: Provides the full module structure with controllers, use cases, dtos, and validators.
  • Scaffold for Go services: Delivers a ready-to-run module layout that accelerates prototyping and onboarding.
  • Use Case: Kick off a new Go project by generating a standards-compliant module with sensible defaults.

Quick Start

Run the module generator script with stack go and provide module name and project path, for example: python scripts/module-generator.py --stack go --name mymodule --project github.com/yourname/mymodule

Frequently Asked Questions about go-module

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

FAQPage Schema
How do I generate a Go module with Clean Architecture boilerplate?▼

You generate a Go module with Clean Architecture by running the Python-based module generator script, passing the stack, name, and project arguments to output the complete scaffold.

What is included in a generated Go Clean Architecture scaffold?▼

A generated Go Clean Architecture scaffold includes the full module structure with controllers, use cases, DTOs, and validators to ensure a scalable, well-structured project layout.

Do I need Python to scaffold Go modules using this generator?▼

Yes, you need Python installed to execute the module generator script, which requires passing stack, name, and project arguments to configure the Go module output.

Can I customize the module name and project path for my Go service?▼

Yes, you customize the module name and project path by passing the --name and --project arguments to the generator script to configure the output for your specific Go service.

What is the best way to structure a new Go project with use cases and DTOs?▼

The best way to structure a new Go project with use cases and DTOs is using a Clean Architecture boilerplate generator that delivers a ready-to-run module layout for rapid prototyping.