clean-architecture-general

Community

Generate Clean Architecture Go demos fast.

Authorgophper
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Teams and learners struggle to consistently apply Clean Architecture (Ports & Adapters) in Go, especially when adding business use cases and external integrations without breaking dependency rules.

Core Features & Use Cases

  • Runnable minimal demo: Generates a minimal Clean Architecture Go scaffold you can run immediately to learn the patterns with real code.
  • Port/Adapter structure: Models business logic around interfaces (ports) and keeps adapters responsible for external integration and error mapping.
  • Test-friendly by design: Supports unit tests using fakes with no DB/MQ/HTTP dependencies, keeping business rules isolated.
  • Use-case expansion workflow: Provides SOP and AI prompt templates to add new use cases, ports, adapters, domain errors, and tests while preserving dependency direction.

Quick Start

Ask your AI assistant to extend the generated minimal demo by adding a new order use case (e.g., CancelOrder) and update the required domain errors, ports, adapters, handler mapping, and unit tests so the architecture constraints remain satisfied.

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: clean-architecture-general
Download link: https://github.com/gophper/clean-arch-skills/archive/main.zip#clean-architecture-general

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.