← Back to Skills Marketplace
fuzhengwei

xfg-ddd-skills

by 小傅哥 · GitHub ↗ · v2.2.3 · MIT-0
cross-platform ✓ Security Clean
264
Downloads
4
Stars
1
Active Installs
4
Versions
Install in OpenClaw
/install xfg-ddd-skills
Description
DDD 六边形架构设计与部署技能包。提供 Domain/Case/Infrastructure 层设计模式与代码模板,以及 Docker 环境部署脚本。当用户询问 DDD 架构、设计模式或需要部署项目时调用。
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install xfg-ddd-skills
  3. After installation, invoke the skill by name or use /xfg-ddd-skills
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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/无领域复杂度微服务
Metadata
Slug xfg-ddd-skills
Version 2.2.3
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 4
Frequently Asked Questions

What is xfg-ddd-skills?

DDD 六边形架构设计与部署技能包。提供 Domain/Case/Infrastructure 层设计模式与代码模板,以及 Docker 环境部署脚本。当用户询问 DDD 架构、设计模式或需要部署项目时调用。 It is an AI Agent Skill for Claude Code / OpenClaw, with 264 downloads so far.

How do I install xfg-ddd-skills?

Run "/install xfg-ddd-skills" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is xfg-ddd-skills free?

Yes, xfg-ddd-skills is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does xfg-ddd-skills support?

xfg-ddd-skills is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created xfg-ddd-skills?

It is built and maintained by 小傅哥 (@fuzhengwei); the current version is v2.2.3.

💬 Comments