api-endpoint

Generates complete REST API endpoints with CRUD under Clean Architecture for .NET 10/C# 14.

Updated Feb 26, 2023
One-click install
npx skills add https://github.com/burakergun394/projects --skill api-endpoint-burakergun394
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: api-endpoint
Source: https://github.com/burakergun394/projects/tree/main/FollowCatcher/.claude/skills/api-endpoint
Command: npx skills add https://github.com/burakergun394/projects --skill api-endpoint-burakergun394

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Create complete API endpoints following Clean Architecture to streamline adding new features, controllers, and CRUD operations with consistent structure.

Core Features & Use Cases

  • Scaffold endpoint skeletons that follow a defined architecture (Application, API, and integration points).
  • Support for CRUD operations, RESTful routes, and standard validation hooks.
  • Aligns with .NET 10, C# 14 conventions and MediatR-based request handling.

Quick Start

Provide a feature name and data model, and the system will generate a complete API endpoint with CRUD operations following Clean Architecture.

Frequently Asked Questions about api-endpoint

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

FAQPage Schema
How do I create a CRUD API endpoint with Clean Architecture in .NET?

To create a CRUD API endpoint with Clean Architecture, provide a feature name and data model to generate a complete endpoint skeleton. The output includes RESTful routes, validation hooks, and MediatR request handling aligned with .NET 10 conventions.

What is the best way to structure a new REST API endpoint using MediatR?

The best way to structure a REST API endpoint using MediatR is to separate Application and API layers. This approach scaffolds request handlers and standard validation hooks, ensuring consistent architecture across new endpoints.

Does this Clean Architecture scaffolding support .NET 10 and C# 14 conventions?

Yes, this Clean Architecture scaffolding supports .NET 10 and C# 14 conventions. It applies these standards to streamline adding new controllers, routing configurations, and CRUD operations with a consistent project structure.

How do I add standard validation hooks to a dotnet API controller?

To add standard validation hooks to a dotnet API controller, generate the endpoint using a Clean Architecture pattern. This automatically includes validation guidance and scaffolds MediatR-based request handling for the new feature.

What do I need to provide to scaffold a new API endpoint skeleton?

To scaffold a new API endpoint skeleton, you need to provide a feature name and a data model. The system then generates a complete CRUD API with Application and API layers following Clean Architecture.