dev-crud

Generate CRUD code scaffolding for entities, services, controllers, and DTOs.

1|Updated Dec 22, 2025
One-click install
npx skills add https://github.com/Harries/hydpromptkit --skill dev-crud
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dev-crud
Source: https://github.com/Harries/hydpromptkit/tree/main/skills/dev-crud
Command: npx skills add https://github.com/Harries/hydpromptkit --skill dev-crud

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

这项技能帮助开发者快速生成完整的增删改查(CRUD)代码,包括实体、服务、控制器等,从而减少重复实现工作量。

Core Features & Use Cases

  • 自动生成实体、DAO/Mapper、Service、Controller 和 DTO 的代码结构,确保风格和命名规范一致。
  • 支持按模块或按表生成,便于快速搭建新数据模型的后端骨架。
  • 适用于需要快速原型化、代码生成与回归测试的场景,例如为新表快速创建完整的 CRUD 流程。

Quick Start

直接向代码生成工具下达请求,要求生成指定模块的 CRUD 代码并遵循项目风格。

Frequently Asked Questions about dev-crud

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

FAQPage Schema
How do I generate consistent CRUD scaffolding for multiple database tables?

You can generate CRUD scaffolding for multiple tables by applying code generation tools to create entities, services, controllers, and DTOs that match project conventions. This ensures consistent backend layers and standardized response structures across modules.

How does code generation handle entity relationships and layering in backend modules?

Code generation uses design documents and architecture references to drive entity relationships, layering, and mappings. It produces consistent entities, services, controllers, and DTOs with standardized response structures for backend modules.

What is the best way to scaffold a complete CRUD flow for a new database table?

The best way to scaffold a CRUD flow for a new table is to generate entity, DAO/Mapper, Service, Controller, and DTO structures simultaneously based on design documents. This ensures consistent naming conventions and reduces repetitive manual implementation work.

Can I generate CRUD code that matches my existing project's naming conventions and architecture?

Yes, you can generate CRUD code that matches existing project conventions. The generation process applies your design documents and architecture references to ensure the output entities, services, and controllers align with your established style and layering.

Do I need design documents to automate backend code generation for services and controllers?

You need design documents and architecture references to drive backend code generation for services and controllers. These inputs guide entity relationships, layering, and mappings to produce standardized and consistent CRUD structures across your modules.