What problem does it solve?
This Skill automates end-to-end code generation for RuoYi projects by converting database table definitions into ready-to-build module code for both backend Java services and frontend Vue components.
Core Features & Use Cases
- Interactive, DDL-driven code generation: reads DDL from pm-sql/init/00_tables_ddl.sql to infer schemas, relationships, and menus.
- Generates configuration specs and deployable code into ruoyi-project and ruoyi-ui directories via the CLI.
- Supports master-detail (main-sub) relationships and optional sub-menu generation, with guided customization.
Quick Start
To start, provide a target table name (for example pm_project) and run the generated CLI jar as described in the Important Files section. Ensure the DDL source exists at pm-sql/init/00_tables_ddl.sql and the generator config is available at ruoyi-generator/src/main/resources/generator.yml. Run java -jar ruoyi-gen-cli/target/ruoyi-gen-cli-3.9.1.jar with the appropriate --sql and --config, then deploy the resulting ZIP into ruoyi-project and ruoyi-ui.