ddd-service

Scaffold DDD backend services with Broker, Foundation Service, and DI registration.

6|2|Updated Nov 2, 2022
One-click install
npx skills add https://github.com/arolariu/arolariu.ro --skill ddd-service
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: ddd-service
Source: https://github.com/arolariu/arolariu.ro/tree/main/.github/skills/ddd-service
Command: npx skills add https://github.com/arolariu/arolariu.ro --skill ddd-service

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation of new backend services, ensuring they adhere to a robust Domain-Driven Design (DDD) architecture and The Standard implementation pattern.

Core Features & Use Cases

  • Automated Scaffolding: Generates all necessary files and configurations for a new DDD service, including Broker, Foundation Service, and DI registration.
  • Architecture Enforcement: Enforces best practices like partial class separation, TryCatch pattern, OpenTelemetry tracing, and xUnit testing.
  • Use Case: When starting a new feature that requires a new CRUD service for a domain entity, use this Skill to quickly generate a well-structured and tested foundation.

Quick Start

Use the ddd-service skill to scaffold a new service for the 'Product' entity.

Frequently Asked Questions about ddd-service

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

FAQPage Schema
How do I scaffold a DDD service for a new backend API entity?▼

Scaffolding a DDD service requires generating Brokers, Foundation Services, and DI registration files. This Skill automates that process to produce a complete backend architecture foundation following The Standard pattern for your domain entities.

What is The Standard architecture pattern for C# backend services?▼

The Standard architecture for C# backend services enforces partial class separation, the TryCatch pattern, and Florance compliant dependencies. It structures APIs around Domain-Driven Design principles to ensure robust, maintainable service foundations.

Can I generate xUnit tests and OpenTelemetry tracing when scaffolding a new service?▼

Yes, you can generate xUnit tests and OpenTelemetry tracing when scaffolding a new service. The generated DDD service automatically includes these testing and observability configurations as part of its enforced architecture.

What's the best way to automate CRUD service creation for a C# domain entity?▼

The best way to automate CRUD service creation is using a DDD scaffolding tool that generates Brokers and Foundation Services. This ensures your C# domain entity API immediately adheres to The Standard architecture with DI registration.

Does this DDD scaffolding process require any external dependencies or framework installations?▼

No, this DDD scaffolding process requires no external dependencies or framework installations to run. It operates independently to generate the necessary C# files, configurations, and xUnit tests for your backend API.