Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

clean-architecture

БесплатноБез исполняемых скриптовНе проверен

Clean Architecture principles and best practices from Robert C. Martin's book. This skill should be used when designing software systems, reviewing code…

pproencaот pproenca★ 231 звезда на GitHub

Об этом скилле

Clean Architecture Best Practices

Comprehensive guide to Clean Architecture principles for designing maintainable, testable software systems. Based on Robert C. Martin's "Clean Architecture: A Craftsman's Guide to Software Structure and Design." Contains 42 rules across 8 categories, prioritized by architectural impact.

When to Apply

Reference these guidelines when:

  • Designing new software systems or modules
  • Structuring dependencies between layers
  • Defining boundaries between business logic and infrastructure
  • Reviewing code for architectural violations
  • Refactoring coupled systems toward cleaner structure

Rule Categories by Priority

Priority Category Impact Prefix
1 Dependency Direction CRITICAL dep-
2 Entity Design CRITICAL entity-
3 Use Case Isolation HIGH usecase-
4 Component Cohesion HIGH comp-
5 Boundary Definition MEDIUM-HIGH bound-
6 Interface Adapters MEDIUM adapt-
7 Framework Isolation MEDIUM frame-
8 Testing Architecture LOW-MEDIUM test-

Quick Reference

1. Dependency Direction (CRITICAL)

2. Entity Design (CRITICAL)

3. Use Case Isolation (HIGH)

4. Component Cohesion (HIGH)

5. Boundary Definition (MEDIUM-HIGH)

6. Interface Adapters (MEDIUM)

Полный SKILL.md на GitHub

Установить clean-architecture в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

assets/templates/_template.mdmetadata.jsonreferences/_sections.mdreferences/adapt-anti-corruption-layer.mdreferences/adapt-controller-thin.mdreferences/adapt-gateway-abstraction.mdreferences/adapt-mapper-translation.mdreferences/adapt-presenter-formats.mdreferences/bound-boundary-cost-awareness.mdreferences/bound-defer-decisions.mdreferences/bound-humble-object.mdreferences/bound-main-component.mdreferences/bound-partial-boundaries.mdreferences/bound-service-internal-architecture.mdreferences/comp-common-closure.mdreferences/comp-common-reuse.mdreferences/comp-reuse-release-equivalence.mdreferences/comp-screaming-architecture.mdreferences/comp-stable-dependencies.mdreferences/dep-acyclic-dependencies.mdreferences/dep-data-crossing-boundaries.mdreferences/dep-interface-ownership.mdreferences/dep-inward-only.mdreferences/dep-no-framework-imports.mdreferences/dep-stable-abstractions.mdreferences/entity-encapsulate-invariants.mdreferences/entity-no-persistence-awareness.mdreferences/entity-pure-business-rules.mdreferences/entity-rich-not-anemic.mdreferences/entity-value-objects.mdreferences/frame-di-container-edge.mdreferences/frame-domain-purity.mdreferences/frame-logging-abstraction.mdreferences/frame-orm-in-infrastructure.mdreferences/frame-web-in-infrastructure.mdreferences/test-boundary-verification.mdreferences/test-layer-isolation.mdreferences/test-testable-design.mdreferences/test-tests-are-architecture.mdreferences/usecase-explicit-dependencies.md

FAQ

Что делает скилл clean-architecture?

Clean Architecture principles and best practices from Robert C. Martin's book. This skill should be used when designing software systems, reviewing code structure, or refactoring applications to achieve better separation of concerns. Triggers on tasks involving layers, boundaries, dependency direction, entities, use cases, or system architecture.

Как установить скилл clean-architecture?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл clean-architecture запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить clean-architecture с