api-design — for Claude Code api-design, vehicle-maintenance-platform, community, for Claude Code, ide skills, ApiResponse<T>, Role = "Service", PaginationRequest, GetPagedAsync, {Module}Apis.cs

v1.0.0

À propos de ce Skill

Scenario recommande : Ideal for AI agents that need api design — verendar / .net. Resume localise : # API Design — Verendar / .NET Verendar Mandatory Conventions See references/dotnet-patterns.md for full C# code. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

Fonctionnalités

API Design — Verendar / .NET
Verendar Mandatory Conventions
See references/dotnet-patterns.md for full C# code. Key rules:
ApiResponse<T on all public endpoints Hard constraint — no exceptions
Internal endpoints skip ApiResponse<T /api/internal/... + Role = "Service" auth

# Sujets clés

DreamLab2025 DreamLab2025
[0]
[0]
Mis à jour: 4/7/2026

Skill Overview

Start with fit, limitations, and setup before diving into the repository.

Scenario recommande : Ideal for AI agents that need api design — verendar / .net. Resume localise : # API Design — Verendar / .NET Verendar Mandatory Conventions See references/dotnet-patterns.md for full C# code. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

Pourquoi utiliser cette compétence

Recommandation : api-design helps agents api design — verendar / .net. API Design — Verendar / .NET Verendar Mandatory Conventions See references/dotnet-patterns.md for full C# code. This AI agent skill supports Claude

Meilleur pour

Scenario recommande : Ideal for AI agents that need api design — verendar / .net.

Cas d'utilisation exploitables for api-design

Cas d'usage : Applying API Design — Verendar / .NET
Cas d'usage : Applying Verendar Mandatory Conventions
Cas d'usage : Applying See references/dotnet-patterns.md for full C# code. Key rules:

! Sécurité et Limitations

  • Limitation : Soft delete only DeletedAt = DateTime.UtcNow, never dbContext.Remove()
  • Limitation : Actions (verb acceptable here only)
  • Limitation : Internal — service-to-service only

About The Source

The section below comes from the upstream repository. Use it as supporting material alongside the fit, use-case, and installation summary on this page.

Démo Labs

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

FAQ et étapes d’installation

These questions and steps mirror the structured data on this page for better search understanding.

? Questions fréquentes

Qu’est-ce que api-design ?

Scenario recommande : Ideal for AI agents that need api design — verendar / .net. Resume localise : # API Design — Verendar / .NET Verendar Mandatory Conventions See references/dotnet-patterns.md for full C# code. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

Comment installer api-design ?

Exécutez la commande : npx killer-skills add DreamLab2025/vehicle-maintenance-platform/api-design. Elle fonctionne avec Cursor, Windsurf, VS Code, Claude Code et plus de 19 autres IDE.

Quels sont les cas d’usage de api-design ?

Les principaux cas d’usage incluent : Cas d'usage : Applying API Design — Verendar / .NET, Cas d'usage : Applying Verendar Mandatory Conventions, Cas d'usage : Applying See references/dotnet-patterns.md for full C# code. Key rules:.

Quels IDE sont compatibles avec api-design ?

Cette skill est compatible avec Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Utilisez la CLI Killer-Skills pour une installation unifiée.

Y a-t-il des limites pour api-design ?

Limitation : Soft delete only DeletedAt = DateTime.UtcNow, never dbContext.Remove(). Limitation : Actions (verb acceptable here only). Limitation : Internal — service-to-service only.

Comment installer ce skill

  1. 1. Ouvrir le terminal

    Ouvrez le terminal ou la ligne de commande dans le dossier du projet.

  2. 2. Lancer la commande d’installation

    Exécutez : npx killer-skills add DreamLab2025/vehicle-maintenance-platform/api-design. La CLI détectera automatiquement votre IDE ou votre agent et configurera la skill.

  3. 3. Commencer à utiliser le skill

    Le skill est maintenant actif. Votre agent IA peut utiliser api-design immédiatement dans le projet.

! Source Notes

This page is still useful for installation and source reference. Before using it, compare the fit, limitations, and upstream repository notes above.

Upstream Repository Material

The section below comes from the upstream repository. Use it as supporting material alongside the fit, use-case, and installation summary on this page.

Upstream Source

api-design

# API Design — Verendar / .NET Verendar Mandatory Conventions See references/dotnet-patterns.md for full C# code. This AI agent skill supports Claude Code

SKILL.md
Readonly
Upstream Repository Material
The section below comes from the upstream repository. Use it as supporting material alongside the fit, use-case, and installation summary on this page.
Upstream Source

API Design — Verendar / .NET

Verendar Mandatory Conventions

See references/dotnet-patterns.md for full C# code. Key rules:

RuleDetail
ApiResponse<T> on all public endpointsHard constraint — no exceptions
Internal endpoints skip ApiResponse<T>/api/internal/... + Role = "Service" auth
All lists use PaginationRequestInherit it, use [AsParameters], call GetPagedAsync
Route groups in {Module}Apis.csStatic class, private static handlers
Soft delete onlyDeletedAt = DateTime.UtcNow, never dbContext.Remove()
Errors → RFC 7807Results.Problem(...), never expose stack traces

URL Structure

# Public — plural nouns, kebab-case, no verbs
GET    /api/garages
GET    /api/garages/{id}
POST   /api/garages
PATCH  /api/garages/{id}

# Actions (verb acceptable here only)
POST   /api/bookings/{id}/cancel
POST   /api/auth/login

# Internal — service-to-service only
POST   /api/internal/users/{id}/roles
GET    /api/internal/payments/{id}

Avoid: verbs in resource URLs (/getUsers), singular (/user), snake_case in paths.


HTTP Methods & Status Codes

MethodSuccessUse For
GET200Retrieve one or many
POST201 + Location headerCreate
PATCH200Partial update
DELETE204Remove (soft delete in Verendar)
400 Bad Request       — Validation failure (FluentValidation → ValidationEndpointFilter)
401 Unauthorized      — Missing/invalid JWT
403 Forbidden         — Wrong role
404 Not Found         — Resource doesn't exist or is soft-deleted
409 Conflict          — Duplicate / state conflict
429 Too Many Requests — Rate limit hit
500 Server Error      — Never expose details (RFC 7807 Problem Details)

Response Format

Public (always wrapped in ApiResponse<T>):

json
1{ "success": true, "data": { "id": "...", "status": "Pending" } } 2{ "success": false, "error": { "code": "not_found", "message": "Booking not found" } }

Internal (plain object, no wrapper):

json
1{ "userId": "...", "role": "GarageOwner" }

Pagination

Verendar uses offset-based pagination via PaginationRequest + GetPagedAsync. Not cursor-based.

GET /api/bookings?page=1&pageSize=20&status=Pending&sortBy=scheduledAt

All filter + sort params go into one class inheriting PaginationRequest — never separate [FromQuery] params.


Filtering & Sorting

GET /api/garages?search=auto&province=HN&sort=-createdAt
GET /api/bookings?status=Pending,InProgress&garageId={id}
  • Comma-separated for multiple values: ?status=Pending,InProgress
  • Prefix - for descending sort: ?sort=-scheduledAt

Endpoint Checklist

  • URL: plural noun, kebab-case, no verbs
  • Returns ApiResponse<T> (public) or plain object (internal)
  • POST returns 201 + Location header; DELETE returns 204
  • List endpoint: request DTO inherits PaginationRequest + [AsParameters]
  • FluentValidation validator exists for the request DTO
  • ValidationEndpointFilter attached on POST/PUT/PATCH
  • RequireAuthorization() set (or explicitly marked public)
  • Soft delete used — never dbContext.Remove()
  • Errors use Results.Problem(...) — no stack traces or exception messages

Compétences associées

Looking for an alternative to api-design or another community skill for your workflow? Explore these related open-source skills.

Voir tout

openclaw-release-maintainer

Logo of openclaw
openclaw

Resume localise : 🦞 # OpenClaw Release Maintainer Use this skill for release and publish-time workflow. It covers ai, assistant, crustacean workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

widget-generator

Logo of f
f

Resume localise : Generate customizable widget plugins for the prompts.chat feed system # Widget Generator Skill This skill guides creation of widget plugins for prompts.chat . It covers ai, artificial-intelligence, awesome-list workflows. This AI agent skill supports Claude Code, Cursor, and

flags

Logo of vercel
vercel

Resume localise : The React Framework # Feature Flags Use this skill when adding or changing framework feature flags in Next.js internals. It covers blog, browser, compiler workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

138.4k
0
Navigateur

pr-review

Logo of pytorch
pytorch

Resume localise : Usage Modes No Argument If the user invokes /pr-review with no arguments, do not perform a review . It covers autograd, deep-learning, gpu workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

98.6k
0
Développeur