cmd-builder

Community

Streamline Go cmd entrypoints with clean wiring.

Authorsjtw
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps Go developers organize and wire command-line entrypoints under the cmd/ directory, ensuring consistent layout and clean separation of concerns.

Core Features & Use Cases

  • Clear project structure: promotes one entrypoint per directory under cmd/ with main.go.
  • Wiring only, no business logic: cmd remains thin and delegates core behavior to internal packages.
  • Onboarding & refactoring: simplifies adding new executables or refactoring existing ones with standard patterns.
  • Use Case: when starting a new CLI tool, create cmd/<name>/main.go and wire to internal packages; when enhancing an existing tool, add flags and wiring without duplicating main.

Quick Start

Create a new directory cmd/<name>/ with main.go and wire it to internal packages, keeping business logic in internal/ and the cmd minimal.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: cmd-builder
Download link: https://github.com/sjtw/tarkov-build-optimiser/archive/main.zip#cmd-builder

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.