What problem does it solve?
Starting a new Nop Platform project requires creating multiple interdependent modules (API, DAO, service, web, deploy) by hand. This Skill automates the one-time generation of a complete project scaffold from an ORM model file, so developers can move directly to iterative development with Maven builds.
Core Features & Use Cases
- Project Scaffolding: Runs
nop-cli gen with the /nop/templates/orm template to produce a full multi-module project (api, codegen, dao, service, web, app, deploy) from an ORM model file.
- Custom Template Support: Allows overriding default templates by placing custom templates under a
_vfs directory and pointing -t to the custom path.
- Safe Iteration Guidance: Explains the file overwrite rules—files in
_gen/ or with _ prefix are always regenerated, while handwritten code is preserved—and the post-generation workflow via mvn install in the codegen module.
- Use Case: You have an
app-demo.orm.xml model and need a complete Nop Platform backend project. Run the generation command once, then iterate by editing the model and rebuilding with Maven.
Quick Start
Ask the assistant to generate a new Nop Platform project from your ORM model file, for example: "Generate a project scaffold from model/app-demo.orm.xml using nop-cli gen with the orm template."