new-crud-module

Automate end-to-end CRUD module creation from entities to frontend pages in PMS projects.

1|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/shugaocheng075-bot/PMS-Standalone --skill new-crud-module
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: new-crud-module
Source: https://github.com/shugaocheng075-bot/PMS-Standalone/tree/main/prompts/skills/new-crud-module
Command: npx skills add https://github.com/shugaocheng075-bot/PMS-Standalone --skill new-crud-module

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

PMS 项目中新增一个从实体到前端页面的完整 CRUD 模块的端到端流程,帮助开发者快速搭建可运行的增删改查功能并保持一致的代码结构。

Core Features & Use Cases

  • 自动化模块骨架创建:从 Entity、DTO、Service、Controller、以及前端类型和视图等生成完整代码结构,降低重复工作。
  • 按步骤执行与可追踪 Todo:提供 8 步工作流,每步完成后标记 todo,便于团队协作与进度跟踪。
  • 全栈一致性与可扩展性:统一命名、DI 注册和前后端分离的协作模式,便于添加新模块和跨项目替换。

Quick Start

按照文档在 PMS 项目中创建一个新的 CRUD 模块,按 8 步完成并逐步标记待办。

Frequently Asked Questions about new-crud-module

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

FAQPage Schema
How do I scaffold a complete CRUD module from entity to frontend in a dotnet project?

To scaffold a dotnet CRUD module from entity to frontend, you generate entities, DTOs, service interfaces, API controllers, and frontend views. This Skill automates that end-to-end creation within a PMS project, ensuring consistent code structure and standard CRUD endpoints across the full stack.

What is the standard workflow for generating DTOs and API controllers for a new CRUD module?

Generating DTOs and API controllers for a new CRUD module follows an 8-step workflow. It starts with domain entities, creates DTOs, service implementations, and API controllers, finishes with frontend types and views, and tracks progress with todo markers for team collaboration.

Does this CRUD module scaffolding approach handle dependency injection registration automatically?

Yes, CRUD module scaffolding handles dependency injection registration automatically. It enforces project structure consistency by unifying naming conventions and registering service interfaces and implementations within the dotnet DI container during the automated generation process.

Can I use this to generate frontend API clients and types for a dotnet backend?

You can use this to generate frontend API clients and types for a dotnet backend. The automation covers frontend scaffolding including types, API clients, and views, ensuring seamless integration between the dotnet API controllers and the frontend application.

What's the best way to maintain code structure consistency when adding new CRUD modules?

To maintain code structure consistency when adding new CRUD modules, follow an automated 8-step workflow. It standardizes entity, DTO, service, controller, and frontend generation, enforcing unified naming and DI registration to keep the project structure aligned.