clean-architecture
Enforce Clean Architecture rules and Deep Modules design. Use when structuring code, creating new classes, or defining boundaries.
- License 许可
- MIT
- 最近更新
- 2026-07-19
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- clean-architecture
- description
- Enforce Clean Architecture rules and Deep Modules design. Use when structuring code, creating new classes, or defining boundaries.
03 SKILL.md 正文
Clean Architecture & Deep Modules
- Dependency Rule: Inner layers (Domain) MUST NOT import anything from outer layers (Application, Infrastructure, UI). No frameworks in the Domain.
- Deep Modules: Design modules with narrow, stable interfaces hiding complex implementations. Avoid creating many small, shallow classes.
- AOP via SOLID: Implement cross-cutting concerns (logging, metrics) using Decorators in the Application layer, not scattered throughout the Domain.
04 同仓库更多 Skills
zoom-out
Tell the agent to zoom out and give broader context or a higher-level perspective. Use when you're unfamiliar with a section of code or need to understand how it fits into the bigger picture.
write-a-skill
Create new agent skills with proper structure, progressive disclosure, and bundled resources. Use when user wants to create, write, or build a new skill.
teach
Teach the user a new skill or concept, within this workspace.
tdd-strict
Enforce strict Test-Driven Development (TDD) cycle. Use whenever writing new features, fixing bugs, or implementing use cases.
nestjs-patterns
NestJS architecture patterns for modules, controllers, providers, DTO validation, guards, interceptors, config, and production-grade TypeScript backends.
handoff
Compact the current conversation into a handoff document for another agent to pick up.