backend-clean-architecture

Installation
SKILL.md

Backend Clean Architecture

Purpose

Enforce strict layer separation in backend code. Domain layer has zero dependencies on frameworks, databases, or external libraries. Every piece of code must belong to exactly one layer.

Agent Protocol

Trigger

Exact user phrases: "where does this code go", "what layer", "clean architecture", "hexagonal", "ports and adapters", "domain layer", "application layer", "infrastructure layer", "should this be in service or repository", "layer violation", "architecture rule".

Input Context

Before activating, verify:

  • The stack is known (NestJS, Go, Rust, Python, Spring Boot).
  • The user has described a specific piece of code or asked about a specific location.
  • The project's folder structure is visible or has been described.

Output Artifact

No file output. This skill produces text guidance.

Installs
4
GitHub Stars
21
First Seen
Aug 12, 2026
backend-clean-architecture — j4flmao/agent-skills