architecture-clean-architecture

Installation
SKILL.md

Architecture Clean Architecture

Overview

Use this skill to structure systems so business rules remain stable while infrastructure and frameworks evolve.

Scope Boundaries

  • Framework and infrastructure details are leaking into domain logic.
  • Dependency direction is inconsistent and change cost is rising.
  • Teams need explicit boundaries between use cases, adapters, and delivery layers.

Core Judgments

  • Domain boundary: what business rules must stay framework-independent.
  • Use-case orchestration: what belongs in application services versus domain entities.
  • Dependency inversion points: where interfaces must isolate infra concerns.
  • Transaction and consistency scope: where atomicity belongs in the stack.

Practitioner Heuristics

  • Domain layer should not import transport, ORM, queue, or UI frameworks.
  • Application layer coordinates workflows; domain layer owns business invariants.
Related skills

More from kentoshimizu/sw-agent-skills

Installs
11
GitHub Stars
5
First Seen
Feb 18, 2026