← 返回 Skills 市场
264
总下载
4
收藏
1
当前安装
4
版本数
在 OpenClaw 中安装
/install xfg-ddd-skills
功能描述
DDD 六边形架构设计与部署技能包。提供 Domain/Case/Infrastructure 层设计模式与代码模板,以及 Docker 环境部署脚本。当用户询问 DDD 架构、设计模式或需要部署项目时调用。
安全使用建议
This skill appears to do what it says: generate DDD project skeletons and provide DDD/deploy guidance. Before running it: 1) Confirm and explicitly choose the target directory when prompted (the skill requires this). 2) Inspect the bundled scripts (scripts/create-ddd-project.sh) and generated code before building or running — the archetype will be fetched from https://maven.xiaofuge.cn/, a third‑party Maven repository; review that repository or consider switching to a trusted archetype source. 3) When following Docker instructions, be cautious of example passwords (README uses an example root password) and use secure credentials in production. 4) If you cannot or do not want to fetch artifacts from the skill's archetype repo, run the scaffolding steps manually or host a trusted archetype. If you want lower risk, run generation in an isolated environment (VM/container) and review all generated dependencies before executing mvn or docker-compose.
功能分析
Type: OpenClaw Skill
Name: xfg-ddd-skills
Version: 2.2.3
The skill bundle is a comprehensive toolkit for developing and deploying Java applications using Domain-Driven Design (DDD) and Hexagonal Architecture. It includes a well-structured project scaffolding script (scripts/create-ddd-project.sh) that uses a Maven archetype to generate code, and extensive documentation (SKILL.md, README.md, and various reference files) to guide the AI agent in assisting the user. While the skill utilizes external resources such as a custom Maven repository (maven.xiaofuge.cn) and Docker images hosted on Aliyun (registry.cn-hangzhou.aliyuncs.com), these are clearly aligned with the author's stated purpose of providing a specific architectural framework. The instructions for the AI agent include proactive safety measures, such as explicitly requiring the agent to ask the user for a target directory before performing any file system operations, and the scaffolding script includes input validation to prevent shell injection.
能力评估
Purpose & Capability
Name/description (DDD hexagonal scaffolding + Docker deployment) match the included files: many DDD reference docs and a create-ddd-project.sh script used to generate a Maven archetype project. Required resources (none declared) are proportional to the stated purpose.
Instruction Scope
SKILL.md instructs the agent to guide the user through selecting a target directory, collecting project parameters, and running the bundled script; it does not instruct reading unrelated system secrets or contacting unexpected external endpoints beyond standard artifact download and optional Docker usage. The skill explicitly requires asking the user for the creation path before writing files.
Install Mechanism
There is no install spec, but the create script invokes Maven with an archetypeRepository set to https://maven.xiaofuge.cn/ (a third‑party domain). Running the script causes Maven to fetch and execute archetype artifacts from that repository and later the user may build images that pull external dependencies. This is expected for a scaffolding tool, but fetching code/artifacts from a non-official repository increases risk and should be reviewed.
Credentials
The skill declares no required environment variables or credentials — consistent with a local scaffolding tool. Documentation references common config files (e.g., ~/.m2/settings.xml) and example runtime env (Redis/MySQL host vars) but those are typical deployment instructions and not required by the skill itself.
Persistence & Privilege
always is false and the skill is user-invocable. The script creates files in a user-approved target directory (the skill mandates prompting the user for the path). It does not attempt to persist settings for other skills or modify global agent configs.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install xfg-ddd-skills - 安装完成后,直接呼叫该 Skill 的名称或使用
/xfg-ddd-skills触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.2.3
xfg-ddd-skills v2.2.2 → v2.2.3
- Archetype 脚手架模板版本默认值由 1.3 升级为 1.8
- “创建 DDD 项目”相关文档同步,将项目名、默认目录等统一更新为 “xfg-ddd-skills”
- 新增“新功能开发完整流程”分层说明和标准调用链路图,提升分层实践规范性
- 修正脚本执行方式与目录路径描述,确保用户指引准确
v2.2.2
xfg-ddd-skills 2.2.2
- 新增 .gitignore 文件,提升项目管理和版本控制体验
- 脚手架模板 Archetype 版本更新为 1.8
- 脚本执行路径更新,统一为 xfg-ddd-skills 项目根目录下
- 其他文档描述与细节同步优化
v2.2.1
xfg-ddd-skills v2.2.1
- Added .git directory and git-related files to the project.
- Updated SKILL.md with improved trigger descriptions and more detailed Domain Layer design checks.
- Introduced a self-check checklist for Domain Layer code generation.
- Enhanced Quick Reference section to include a Domain Layer design guide.
- No changes to core functionality; mainly documentation, triggers, and guidance improvements.
v2.2.0
xfg-ddd-skills 2.2.0
- 全新 SKILL.md 文档,全面梳理 DDD 六边形架构设计与开发技能内容与用法
- 详细说明创建 DDD 项目的标准流程,**必须先询问并确认项目创建目录**
- 增加创建项目脚本使用细则,强调多操作系统兼容与环境检测提示
- 明确目录结构规范、领域层模型模式、DevOps 部署支持与参考资源链接
- 丰富聚合对象、实体、命令实体、值对象、枚举值对象等设计模板示例
- 强化触发词及应用场景边界说明——不建议用于简单 CRUD/无领域复杂度微服务
元数据
常见问题
xfg-ddd-skills 是什么?
DDD 六边形架构设计与部署技能包。提供 Domain/Case/Infrastructure 层设计模式与代码模板,以及 Docker 环境部署脚本。当用户询问 DDD 架构、设计模式或需要部署项目时调用。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 264 次。
如何安装 xfg-ddd-skills?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install xfg-ddd-skills」即可一键安装,无需额外配置。
xfg-ddd-skills 是免费的吗?
是的,xfg-ddd-skills 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
xfg-ddd-skills 支持哪些平台?
xfg-ddd-skills 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 xfg-ddd-skills?
由 小傅哥(@fuzhengwei)开发并维护,当前版本 v2.2.3。
推荐 Skills