create-controller
CommunityScaffold ASP.NET Core API controllers.
Authorjim60105
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill automates the creation of boilerplate code for API controllers in ASP.NET Core Web API projects, streamlining the development of RESTful services.
Core Features & Use Cases
- Automated Controller Generation: Creates a new controller class with standard naming conventions.
- Dependency Injection Setup: Automatically injects necessary services like Entity Framework Core contexts and loggers.
- DTO-based Data Handling: Enforces the use of Data Transfer Objects (DTOs) for request and response models, promoting cleaner API design.
- CRUD Operations: Implements standard Create, Read, Update, and Delete (CRUD) REST API methods.
- OpenAPI Annotations: Integrates OpenAPI annotations for API documentation and discoverability.
- Use Case: When starting a new feature that requires managing a specific entity (e.g., 'Product', 'User'), use this Skill to quickly scaffold the corresponding API controller and its endpoints.
Quick Start
Use the create-controller skill to generate a new controller for the 'Product' entity.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: create-controller Download link: https://github.com/jim60105/copilot-prompt/archive/main.zip#create-controller Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.