koan-api-building

Official

Build REST APIs, fast and secure.

Authorsylin-org
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Manually creating REST API endpoints for CRUD operations is repetitive and error-prone. This Skill automates the generation of full CRUD APIs, allowing developers to focus on custom business logic and security.

Core Features & Use Cases

  • Auto-Generated CRUD: Instantly get GET, POST, PUT, DELETE, and PATCH endpoints for any entity by inheriting EntityController<T>.
  • Custom Routes: Easily add specific business operations beyond CRUD with standard ASP.NET Core routing.
  • Authentication & Authorization: Secure your APIs with declarative [Authorize] attributes and fine-grained policy enforcement.
  • Payload Transformers: Customize API responses to fit specific client needs or implement HATEOAS patterns.
  • Use Case: Quickly expose a Todo entity as a full REST API, then add a custom endpoint like /api/products/{id}/discount with specific authorization rules, all with minimal code.

Quick Start

To create a full CRUD API for your 'Todo' entity, define a controller like this: [Route("api/[controller]")] public class TodosController : EntityController<Todo> { }

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: koan-api-building
Download link: https://github.com/sylin-org/koan-framework/archive/main.zip#koan-api-building

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.