new-domain-scaffold

Create a Spring Boot domain scaffold with standardized structure and conventions.

Updated Jul 2, 2025
One-click install
npx skills add https://github.com/junechen7414/SpringBoot --skill new-domain-scaffold
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: new-domain-scaffold
Source: https://github.com/junechen7414/SpringBoot/tree/main/.bob/skills/new-domain-scaffold
Command: npx skills add https://github.com/junechen7414/SpringBoot --skill new-domain-scaffold

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you add a new Spring Boot domain without missing the project’s required conventions, so every module stays consistent and production-ready from the start.

Core Features & Use Cases

  • Domain Structure Planning: Defines the standard controller, service, repository, entity, and DTO layout for a new domain.
  • Architecture Guardrails: Enforces feature-sliced organization, pagination rules, soft delete behavior, auditing, and error handling conventions.
  • Implementation Checklist: Guides entity, repository, service, controller, DTO, migration, testing, and cross-module integration steps for domains such as account, product, or order.

Quick Start

Ask me to scaffold a new domain for your Spring Boot project and specify the domain name, then I will produce the full implementation checklist and required structure.

Frequently Asked Questions about new-domain-scaffold

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

FAQPage Schema
How do I scaffold a new Spring Boot domain module with consistent structure?

Scaffolding a new Spring Boot domain module requires generating a standardized feature-sliced structure with controller, service, repository, entity, and DTO layers. This ensures every new domain follows existing project conventions and remains production-ready.

What conventions should a Spring Boot feature-sliced architecture include?

A Spring Boot feature-sliced architecture should include standardized pagination rules, soft delete behavior, auditing, and error handling conventions. These guardrails ensure modules like account, product, or order services maintain cross-module integration consistency.

How do I add soft delete and auditing to a Spring Boot service module?

Adding soft delete and auditing to a Spring Boot service module involves applying specific architecture guardrails during domain scaffolding. This enforces standardized behavior across entity, repository, and service layers for new domains.

Do I need existing controller and repository conventions to scaffold a new domain?

Yes, scaffolding a new domain requires existing controller, service, repository, DTO, migration, and test conventions. The generated module structure directly aligns with the project's established feature-sliced application architecture.

What is the best way to structure a Spring Boot account or order service module?

The best way to structure a Spring Boot account or order service is using a feature-sliced domain scaffold. This produces a standardized layout with pagination, migration, and error handling rules applied across the required implementation checklist.