crud-generator

Generate CRUD code templates with REST APIs and data access layers.

19|1|Updated Apr 10, 2026
One-click install
npx skills add https://github.com/honunu/moyu --skill crud-generator-honunu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: crud-generator
Source: https://github.com/honunu/moyu/tree/main/skills/crud-generator
Command: npx skills add https://github.com/honunu/moyu --skill crud-generator-honunu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

增删改查(CRUD)代码和 REST API 的模板化生成,显著降低后端开发的重复劳动。

Core Features & Use Cases

  • 生成 Model/Service/Controller/Repository/Router 等全栈层级的代码模板。
  • 支持多语言/框架的 CRUD 构建,包含数据访问和 API 层。
  • Use Case: 为新实体快速创建完整的服务模块骨架,确保一致性与可维护性。

Quick Start

Provide the entity name and fields, and invoke the generator to create CRUD scaffolding.

Frequently Asked Questions about crud-generator

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

FAQPage Schema
How do I generate CRUD code and REST API scaffolding for a new entity?

To generate CRUD scaffolding, you provide the entity name, fields, language, framework, and database as inputs to automatically generate full module scaffolds including Models, Services, Controllers, Repositories, and Routers.

Can I generate data access layers and REST APIs across different programming languages?

Yes, you can generate data access layers and REST APIs across multiple languages and frameworks by specifying your preferred language and framework as inputs during the code generation process.

What is the best way to standardize REST API scaffolding for new service modules?

The best way to standardize REST API scaffolding is to automate the generation of full CRUD code templates, which ensures consistency and maintainability across new service modules by applying standardized scaffolding.

Do I need to define entity fields and database details before generating CRUD templates?

Yes, you need to define the entity name and specific fields, along with the target database, to ensure the generated CRUD templates and data access layers match your exact project requirements.

What layers of code are included when generating CRUD scaffolding?

Generating CRUD scaffolding includes full-stack layer templates such as Model, Service, Controller, Repository, and Router components to create a complete service module skeleton for your application.