·clean-architecture
</>

clean-architecture

yonatangross/orchestkit

SOLID 原则、六边形架构、端口和适配器以及可维护后端的 DDD 战术模式。在实现干净的架构、解耦服务、分离域逻辑或创建可测试的架构时使用。

25安装·0热度·@yonatangross

安装

$npx skills add https://github.com/yonatangross/orchestkit --skill clean-architecture

SKILL.md

Build maintainable, testable backends with SOLID principles and hexagonal architecture.

| Protocol vs ABC | Use Protocol (structural typing) | | Dataclass vs Pydantic | Dataclass for domain, Pydantic for API | | Repository granularity | One per aggregate root | | Transaction boundary | Service layer, not repository | | Event publishing | Collect in aggregate, publish after commit |

solid-principles Keywords: SOLID, single responsibility, open closed, liskov, interface segregation, dependency inversion Solves:

SOLID 原则、六边形架构、端口和适配器以及可维护后端的 DDD 战术模式。在实现干净的架构、解耦服务、分离域逻辑或创建可测试的架构时使用。 来源:yonatangross/orchestkit。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/yonatangross/orchestkit --skill clean-architecture
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 clean-architecture?

SOLID 原则、六边形架构、端口和适配器以及可维护后端的 DDD 战术模式。在实现干净的架构、解耦服务、分离域逻辑或创建可测试的架构时使用。 来源:yonatangross/orchestkit。

如何安装 clean-architecture?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/yonatangross/orchestkit --skill clean-architecture 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/yonatangross/orchestkit