create-new-module

Generate DDD-compliant .NET modules with aggregates, repositories, and endpoints.

Updated May 28, 2026
One-click install
npx skills add https://github.com/ojrojas/AgentsInstructions --skill create-new-module
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-new-module
Source: https://github.com/ojrojas/AgentsInstructions/tree/main/.claude/skills/create-new-module
Command: npx skills add https://github.com/ojrojas/AgentsInstructions --skill create-new-module

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Skill addresses the common challenge of starting a new software module from scratch with proper Domain-Driven Design (DDD) practices.

Core Features & Use Cases

  • Complete DDD Module Setup: Automatically creates aggregates, value objects, repositories, CQRS components, endpoints, and DI registrations.
  • Use Case: Ideal for a software engineer beginning a new domain in an existing application where a robust architecture is crucial.

Quick Start

To initiate a new module named 'CustomerModule', execute: dotnet new create-new-module --name CustomerModule

Frequently Asked Questions about create-new-module

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a new DDD module in .NET with CQRS and aggregates?

You can generate a complete DDD module in .NET by executing a single command, which outputs a full stack of code including aggregates, repositories, and CQRS components. This automates the setup without requiring manual configuration.

What is the best way to structure domain logic and infrastructure code for a new software architecture?

The best way to structure domain logic and infrastructure code is by applying Domain-Driven Design principles to separate business rules from infrastructure concerns. Generating a full stack of code ensures your software architecture remains scalable and maintainable.

Does this module generation approach work with existing .NET applications?

Yes, this module generation approach is ideal for adding a new domain to an existing .NET application. It establishes a robust architectural foundation by generating aggregates, value objects, and repository endpoints.

What components are included in a complete DDD module setup?

A complete DDD module setup includes aggregates, value objects, repositories, CQRS components, endpoints, and dependency injection registrations. These components ensure your software architecture adheres strictly to DDD principles.

Why do I need to generate a full stack of code for a new domain instead of building it manually?

Generating a full stack of code for a new domain eliminates manual configuration and ensures immediate adherence to DDD practices. This approach solves the challenge of starting a software module from scratch while maintaining a robust architecture.