eliteforge-new-java-biz-package

Generate a Java business-package skeleton under src/main/java with controller, domain, model, repository, service, docs, and util directories.

1|Updated Mar 3, 2026
One-click install
npx skills add https://github.com/CloudSen/eliteforge-skills --skill eliteforge-new-java-biz-package
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: eliteforge-new-java-biz-package
Source: https://github.com/CloudSen/eliteforge-skills/tree/main/skills/eliteforge-new-java-biz-package
Command: npx skills add https://github.com/CloudSen/eliteforge-skills --skill eliteforge-new-java-biz-package

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Provides a ready-to-use Java business-package skeleton aligned to existing project conventions, enabling rapid package scaffolding without mismatching folder layouts or conventions.

Core Features & Use Cases

  • Generates a fixed skeleton under the target root with controller/api, controller/innerapi, controller/openapi, and a docs/domain/model/repository/service/util layout to match repository conventions.
  • Preserves empty directories using .gitkeep where appropriate and supports optional generation of code and docs as requested by the user.
  • Use case: when adding a new business domain, scaffold the entire package so developers can drop in modules and artefacts quickly.

Quick Start

Run the scaffold_java_biz_package.py script with the target directory to create or complete the Java business-package layout.

Frequently Asked Questions about eliteforge-new-java-biz-package

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

FAQPage Schema
How do I scaffold a new Java business package under src/main/java?

To scaffold a Java business package, run the scaffold_java_biz_package.py script with your target directory. It generates a standard skeleton with controller, domain, model, repository, service, docs, and util folders to speed up project bootstrapping.

What is the standard directory layout for a Java business package skeleton?

A standard Java business package skeleton includes controller, domain, model, repository, service, docs, and util directories. The controller layer is further divided into api, innerapi, and openapi to match repository conventions and enforce consistent package layouts.

Does the Java package scaffolding preserve existing project conventions?

Yes, the Java package scaffolding preserves existing package styles and aligns new structures to repository conventions. It maintains your current project layout while adding the necessary business package directories under the target root.

Can I generate code and documentation alongside the Java package directory structure?

Yes, you can optionally generate code and docs as requested. The scaffolding script creates the directory structure and preserves empty directories using .gitkeep where appropriate, allowing developers to drop in modules and artifacts quickly.

Do I need to follow a specific specification to create a Java business package skeleton?

Yes, creating the Java business package skeleton requires adherence to the eliteforge specification, also known as the '璀璨工坊规范'. This ensures the generated package layout matches repository conventions and maintains consistency.

What's the best way to enforce consistent package layouts when adding a new business domain in Java?

The best way to enforce consistent package layouts is using an automated scaffolding script to generate a fixed skeleton. This ensures every new business domain includes the standard controller, domain, model, repository, service, docs, and util structure without mismatching folder layouts.