ddd-cola

Installation
SKILL.md

When to use this skill

Use this skill whenever the user wants to:

  • Structure a project using COLA architecture (Adapter, Application, Domain, Infrastructure)
  • Apply COLA's layered architecture with clear responsibilities per layer
  • Implement domain-driven design with COLA while keeping the domain layer pure and dependency-inverted
  • Organize Java/Spring Boot projects following COLA V5 conventions

How to use this skill

Workflow

  1. Understand the layer responsibilities: Adapter handles I/O; Application orchestrates use cases; Domain holds business logic; Infrastructure implements persistence and external services
  2. Set up the package structure following COLA conventions
  3. Enforce dependency direction: Domain depends on nothing; Application depends on Domain; Adapter and Infrastructure depend on Application and Domain
  4. Define ports in Domain or Application, implement them in Infrastructure

Layer Structure

Related skills

More from partme-ai/full-stack-skills

Installs
25
GitHub Stars
379
First Seen
Jan 29, 2026