api-controller-generator

Installation
SKILL.md

API Controller Generator

Overview

This skill generates RESTful API Controllers following best practices:

  • MediatR integration - Send commands/queries via ISender
  • API versioning - URL segment versioning
  • Authorization - Role and permission-based
  • Consistent responses - Proper HTTP status codes
  • Request/Response DTOs - Separate from domain

Quick Reference

HTTP Method Action Returns
GET /{id} Get by ID 200 OK / 404 Not Found
GET / Get all/list 200 OK
POST / Create 201 Created / 400 Bad Request
Related skills
Installs
8
GitHub Stars
52
First Seen
Mar 1, 2026