go-standard-package-layout

Community

Structure Go apps with Ben Johnson's layout

Authorfwojciec
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Structure Go applications using Ben Johnson's Standard Package Layout to improve maintainability and clarity by separating domain logic, dependency-bound subpackages, and explicit wiring.

Core Features & Use Cases

  • Root package contains the domain core with pure logic and no external dependencies
  • Subpackages named after each external dependency isolate integration points
  • Shared mock package simplifies testing without external frameworks
  • Main wiring composes all components explicitly for predictable builds

Quick Start

Start by placing domain types in the root package, creating dependency-named subpackages for external concerns, and wiring everything explicitly in the cmd package.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: go-standard-package-layout
Download link: https://github.com/fwojciec/jira4claude/archive/main.zip#go-standard-package-layout

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 471,000+ vetted skills library on demand.