ruoyi-gen

Community

Turn DB tables into RoYi modules with one command.

Authorcuitaocrazy
Version1.0.0
Installs0

System Documentation

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.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: ruoyi-gen
Download link: https://github.com/cuitaocrazy/newpm/archive/main.zip#ruoyi-gen

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.