·abp-entity-patterns
{}

abp-entity-patterns

thapaliyabikendra/ai-artifacts

ABP 框架领域层模式包括实体、聚合、存储库、领域服务和数据播种。在以下情况下使用:(1) 使用适当的基类创建实体,(2) 实现自定义存储库,(3) 编写域服务,(4) 播种数据。

17安装·1热度·@thapaliyabikendra

安装

$npx skills add https://github.com/thapaliyabikendra/ai-artifacts --skill abp-entity-patterns

SKILL.md

Key principle: Dependencies flow downward. Application depends on Domain, but Domain never depends on Application.

| Entity | Simple entity, no auditing | | AuditedEntity | Need creation/modification tracking | | FullAuditedEntity | Need soft delete + full audit | | AggregateRoot | Root entity of an aggregate | | FullAuditedAggregateRoot | Most common - full features |

Use domain services when business logic involves multiple entities or external domain concepts.

ABP 框架领域层模式包括实体、聚合、存储库、领域服务和数据播种。在以下情况下使用:(1) 使用适当的基类创建实体,(2) 实现自定义存储库,(3) 编写域服务,(4) 播种数据。 来源:thapaliyabikendra/ai-artifacts。

查看原文

可引用信息

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

安装命令
npx skills add https://github.com/thapaliyabikendra/ai-artifacts --skill abp-entity-patterns
分类
{}数据分析
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 abp-entity-patterns?

ABP 框架领域层模式包括实体、聚合、存储库、领域服务和数据播种。在以下情况下使用:(1) 使用适当的基类创建实体,(2) 实现自定义存储库,(3) 编写域服务,(4) 播种数据。 来源:thapaliyabikendra/ai-artifacts。

如何安装 abp-entity-patterns?

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

这个 Skill 的源码在哪?

https://github.com/thapaliyabikendra/ai-artifacts