Token导航 LogoToken导航

Agent Skill · 运维和基础设施

ddd4j-project-creator(ddd4j 项目创建者)

ddd4j-project-creator 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

ddd4j-project-creator 是运维和基础设施类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证为 MIT,第三方扫描已通过,按安装量在运维和基础设施类的 2,449 个 Skill 里排第 898。

总安装 1,273周安装 52GitHub Stars 347下载 408核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ddd4j-project-creator(ddd4j 项目创建者)
来源仓库:https://github.com/teachingai/full-stack-skills
仓库路径:skills/ddd4j-project-creator
安装命令:
npx skills add https://github.com/teachingai/full-stack-skills --skill ddd4j-project-creator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/teachingai/full-stack-skills --skill ddd4j-project-creator

这个 Skill 是做什么的

运维和基础设施类 Skill 处理部署、监控、日志和云资源,多数需要较高的执行权限。

ddd4j-project-creator 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。适合在协作流程中整理仓库状态、代码变更或任务事项。可辅助生成基于 DDD 的项目模板或结构。

安装后可在 Codex、Claude、Cursor、Gemini CLI 中使用,需确认权限和网络访问。建议结合原始 README 了解项目创建流程和参数配置。

来源仓库内路径:skills/ddd4j-project-creator

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/teachingai/full-stack-skills --skill ddd4j-pro…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

ddd4j-project-creator 怎么安装?

在终端执行 npx skills add https://github.com/teachingai/full-stack-skills --skill ddd4j-project-creat…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

ddd4j-project-creator 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

ddd4j-project-creator 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

ddd4j-project-creator 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

ddd4j-project-creator 用的人多吗?

公开数据是累计安装 1,273 次,近一周安装 52 次,下载 408 次,GitHub 347 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

ddd4j-project-creator 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理运维和基础设施类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

运维和基础设施类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
brainstorming

头脑风暴 · Codex、Claude

3,148,776173,131操作浏览器MIT通过
copywriting

文案写作 · Codex、Claude

1,996,72425,583需要联网MIT通过
openclaw-secure-linux-cloud

OpenClaw secure linux cloud 命令行 · Codex、Claude

1,853,08840接触敏感数据未明确未通过
xget

xget 命令行 · Codex、Claude

1,799,28040执行命令未明确未通过
requesting-code-review

代码审查请求 · Codex、Claude

1,590,144173,103权限未标注MIT通过
ddd4j-project-creator

ddd4j 项目创建者 · 本页

1,273347需要联网MIT通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

DDD4j Project Creator

When to use this skill

CRITICAL: This skill should ONLY be triggered when the user explicitly mentions creating a ddd4j project, initializing ddd4j project, or setting up ddd4j-boot project.

ALWAYS use this skill when the user mentions:

  • Creating a ddd4j project (explicitly mentions "ddd4j")
  • Initializing ddd4j-boot project
  • Setting up ddd4j project structure
  • Creating ddd4j project scaffolding
  • 创建 ddd4j 项目 (explicitly mentions "ddd4j")
  • 初始化 ddd4j 项目 (initialize ddd4j project)
  • ddd4j-boot 项目创建 (create ddd4j-boot project)

Trigger phrases include:

  • "创建 ddd4j 项目" (create ddd4j project) - must include "ddd4j"
  • "初始化 ddd4j 项目" (initialize ddd4j project) - must include "ddd4j"
  • "创建 ddd4j-boot 项目" (create ddd4j-boot project) - must include "ddd4j"
  • "使用 ddd4j 创建项目" (create project using ddd4j)
  • "ddd4j 项目脚手架" (ddd4j project scaffolding)

DO NOT trigger this skill for:

  • Generic DDD projects without mentioning ddd4j
  • JPA/Hibernate projects
  • Other ORM frameworks
  • Generic project initialization without ddd4j context
  • "创建 DDD 项目" without "ddd4j" (too generic)
  • "初始化项目" without "ddd4j" (too generic)

About DDD4j Boot

DDD4j Boot is a Java microservice development scaffold based on Domain-Driven Design (DDD) principles. It is built with Spring Boot 3.5.x and uses lightweight ddd-4-java and cqrs-4-java libraries to implement Domain-Driven Design, Command Query Responsibility Segregation (CQRS), and Event Sourcing.

Core Design Principles

  • Domain-Driven Design (DDD): Strategic design through bounded contexts, tactical design with entities, value objects, aggregates, domain services, repositories, and domain events
  • Command Query Responsibility Segregation (CQRS): Separation of read and write models, independent optimization
  • Event Sourcing: State changes recorded as event sequences, supporting complete history and state reconstruction
  • Diamond Architecture (COLA): Adapter → Application → Domain ← Infrastructure four-layer architecture

Key Features

  • Complete DDD layered architecture supporting COLA V5 pattern
  • Lightweight DDD implementation based on ddd-4-java and cqrs-4-java
  • Technology stack integration: Spring Boot 3.5.x, MyBatis Plus, Jackson, Guava, Swagger, SaToken
  • Dual stack support: WebMVC (traditional Servlet) and WebFlux (reactive)
  • Domain model base capabilities: BaseEntity, BaseRepository, BaseService
  • Domain event support with built-in event publishing mechanism
  • Anti-Corruption Layer (ACL) for external service integration
  • Unified exception handling mechanism

Project Types Supported

1. Single-Module Monolith (单体单模块)

适用场景: 中小型应用,单个业务领域,团队规模 5-15 人

特点:

  • 单一 Maven 模块
  • 所有层(interfaces, application, domain, infrastructure)在同一模块内
  • 适合快速开发和部署

2. Multi-Module Monolith (单体多模块)

适用场景: 中大型应用,多个业务域,团队规模 15-50 人

特点:

  • 多个 Maven 模块,按业务域划分
  • 每个业务域包含完整的 DDD 四层架构
  • 共享 common 模块
  • 统一 BOM 和依赖管理

3. Microservices (单体微服务)

适用场景: 大型电商平台,多个业务域,团队规模 50+ 人

特点:

  • 每个服务独立部署
  • 服务间通过 RPC 和消息队列通信
  • 每个服务内部按 DDD 四层架构组织
  • 独立的数据库和配置

How to use this skill

CRITICAL: This skill should ONLY be triggered when the user explicitly mentions creating a ddd4j project. Do NOT trigger for generic DDD project creation requests without ddd4j context.

For New DDD4j Project Creation

  1. Identify the project type from user requirements:

- Single-module monolith → single-module - Multi-module monolith → multi-module - Microservices → microservices

  1. Load the appropriate example from the examples/ directory:

- examples/single-module.md - Single-module monolith structure - examples/multi-module.md - Multi-module monolith structure - examples/microservices.md - Microservices structure - examples/architecture-patterns.md - DDD, Hexagonal, Clean, COLA V5 patterns

  1. Collect project information:

- groupId: Maven group ID (e.g., com.github.hiwepy or io.ddd4j.base) - artifactId: Maven artifact ID (e.g., ddd4j-douyin or my-ddd4j-service) - version: Project version (e.g., 1.0.0-SNAPSHOT) - parentVersion: Parent POM version (e.g., 2023.0.x.20251205-SNAPSHOT or reference to ddd4j-boot-parent) - packageBase: Base package name (e.g., io.ddd4j.douyin or com.example.service) - modules: List of business modules (for multi-module/microservices) - architecture: Architecture pattern (DDD Classic, Hexagonal, Clean, COLA V5) - ddd4jBootVersion: DDD4j Boot version (if using ddd4j-boot-bom)

  1. Generate project structure:

- Create directory structure based on selected type - Generate pom.xml files (parent and modules) - Create package-info.java files for each module - Generate .gitignore, LICENSE, mvnw, mvnw.cmd - Create basic directory structure with src/main/java and src/test/java

  1. Save to project directory:

- Default location: Save directly to the command execution directory (same level as the command) - Directory creation: Automatically create the project directory structure if it doesn't exist - File naming: Use descriptive names based on project type and module names

For Existing Project Validation

  1. Analyze project structure:

- Scan project directory for Maven modules - Identify layer structure (interfaces, application, domain, infrastructure) - Check package naming conventions - Verify directory organization

  1. Identify project type:

- Single-module: Single pom.xml at root, all layers in one module - Multi-module: Parent pom.xml with multiple modules, each module has complete layers - Microservices: Multiple services, each with independent structure

  1. Validate against standards:

- Check DDD layer compliance - Verify dependency direction (interfaces → application → domain ← infrastructure) - Validate package naming ({basePackage}.{module}.{layer}) - Check for required directories (src/main/java, src/test/java) - Verify package-info.java files exist

  1. Generate validation report:

- List identified issues - Provide recommendations - Suggest fixes for non-compliant structures

Output Format and File Saving

When generating a project structure, follow this response structure:

  1. Save the files first: Create the project structure directly in the command execution directory

- The project will be created at the same level as where the command is executed - Generate all required files and directories (pom.xml, src/, etc.) - Use the artifactId as the project root directory name

  1. Inform the user: Tell them where the files were saved
  2. Display the structure: Show the generated directory structure in a code block

Example Response Structure:

  • First line: "I've created the DDD project structure and saved it to ./{artifactId}/ in the current directory."
  • Then show the structure wrapped in a code block:

- Start with: three backticks + text + newline - Then the directory structure - End with: three backticks + newline

Critical Requirements:

  • Always save project files directly to the command execution directory (same level)
  • Use artifactId as the project root directory name
  • Create the directory structure automatically if it doesn't exist
  • Generate complete project structure with all required files
  • Follow Maven and DDD conventions strictly

Project Structure Standards

Package Naming Convention

For multi-module projects:

{basePackage}.{moduleName}.{layerName}

Examples:

  • io.ddd4j.douyin.api.domain - API module, domain layer
  • io.ddd4j.douyin.api.application - API module, application layer
  • io.ddd4j.douyin.api.interfaces - API module, interfaces layer
  • io.ddd4j.douyin.api.infrastructure - API module, infrastructure layer

Required Files

Every module must have:

  • pom.xml - Maven configuration
  • src/main/java/{package}/package-info.java - Package documentation
  • src/test/java/ - Test directory structure
  • .gitignore - Git ignore rules (at root)
  • LICENSE - License file (at root)
  • mvnw, mvnw.cmd - Maven wrapper (at root)

Layer Dependencies

Correct dependency direction:

interfaces → application → domain ← infrastructure

Rules:

  • Domain layer must not depend on any other layer
  • Infrastructure layer implements domain layer interfaces
  • Application layer depends on domain layer
  • Interfaces layer depends on application layer

Architecture Patterns

The skill supports four architecture patterns:

  1. DDD Classic Layered Architecture (DDD 经典分层架构)

- Layers: interfaces, application, domain, infrastructure - Reference: docs/1、DDD 经典分层架构目录结构.md and examples/architecture-patterns.md#ddd-classic

  1. Hexagonal Architecture (六边形架构)

- Ports and Adapters pattern - Reference: docs/2、六边形架构详细目录结构参考.md and examples/architecture-patterns.md#hexagonal

  1. Clean Architecture (整洁架构)

- Entities, Use Cases, Interface Adapters - Reference: docs/3、整洁架构详细目录结构参考.md and examples/architecture-patterns.md#clean

  1. COLA V5 (菱形架构)

- Adapter → App → Domain ← Infrastructure - Reference: docs/4、COLA V5 架构详细目录结构参考.md and examples/architecture-patterns.md#cola-v5

Validation Rules

When checking existing projects, validate:

  1. Structure Compliance:

- ✓ Correct layer organization - ✓ Proper module separation - ✓ Package naming conventions

  1. Dependency Rules:

- ✓ Domain layer has no external dependencies - ✓ Infrastructure implements domain interfaces - ✓ Correct dependency direction

  1. File Organization:

- ✓ Required directories exist - ✓ package-info.java files present - ✓ Maven configuration correct

  1. Naming Conventions:

- ✓ Package names follow convention - ✓ Module names are descriptive - ✓ Layer names are standard

Examples

See the examples/ directory for:

  • single-module.md - Complete single-module monolith example
  • multi-module.md - Complete multi-module monolith example (based on ddd4j-douyin structure)
  • microservices.md - Complete microservices example
  • architecture-patterns.md - All four architecture patterns with detailed structures

Keywords

English keywords: ddd4j, ddd4j-boot, ddd4j project, create ddd4j project, initialize ddd4j project, ddd4j project creator, ddd4j project scaffolding, ddd4j-boot project, ddd4j project structure, ddd4j-boot initialization, ddd4j microservice, ddd4j monolith

Chinese keywords (中文关键词): ddd4j, ddd4j-boot, ddd4j 项目, 创建 ddd4j 项目, 初始化 ddd4j 项目, ddd4j 项目创建, ddd4j 项目脚手架, ddd4j-boot 项目, ddd4j 项目结构, ddd4j-boot 初始化, ddd4j 微服务, ddd4j 单体应用

IMPORTANT: All keywords must include "ddd4j" to avoid false triggers. Generic terms like "DDD 项目" (DDD project) or "创建项目" (create project) without "ddd4j" should NOT trigger this skill.

平台分布

OpenCode

27.34%
按下载量换算112

Claude Code

27.18%
按下载量换算111

Gemini CLI

17.28%
按下载量换算71

Antigravity

12.1%
按下载量换算49

Cursor

9.32%
按下载量换算38

windsurf

3.95%
按下载量换算16

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

继续浏览同类 Skills