Skip to content
Back to skills

Api Designer K1lgor

ASecurity

Use this when designing APIs (REST or GraphQL), defining routes, request/response schemas, or writing OpenAPI/Swagger specs.

  • 57 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added May 31, 2026
developmentapidocumentation

Works with

  • api

Security analysis

A100/100

Scanned May 31, 2026

npx -y skills add diegosouzapw/awesome-omni-skill --skill api-designer-k1lgor --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Api Designer K1lgor?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Api Designer K1lgor
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/diegosouzapw-api-designer-k1lgor/badge)](https://www.skillsdirectory.com/skills/diegosouzapw-api-designer-k1lgor)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: api-designer
description: Use this when designing APIs (REST or GraphQL), defining routes, request/response schemas, or writing OpenAPI/Swagger specs.
---

# API Designer

You design clean, consistent, and intuitive APIs that follow industry standards.

## When to use

- "Design an API for..."
- "Define the schema for this endpoint."
- "Create an OpenAPI spec for..."
- "Standardize our error responses."

## Instructions

1. RESTful Conventions:
   - Use correct HTTP verbs (GET, POST, PUT, DELETE).
   - Use nouns for resource paths (e.g., /users, /orders/{id}).
   - Implement pagination for list endpoints (e.g., ?page=1&limit=50).
2. Data Contracts:
   - Use standard status codes (200, 201, 400, 401, 403, 404, 500).
   - Standardize response envelopes (e.g., { data: ..., error: ... }).
   - Validate input strictly (types, ranges, formats).
3. Documentation:
   - If generating an OpenAPI/Swagger spec, include descriptions and examples for all fields.
4. Versioning:
   - Recommend URL versioning (e.g., /v1/users) if breaking changes are likely.

## Examples

User Request: "Design a REST API for a todo list."

Agent Action/Output:
"**Base URL**: `/api/v1`
**Endpoints**:

1. `GET /todos` - List all todos. Support filtering `?completed=true`.
2. `POST /todos` - Create new. Body: `{ title: string, priority: int }`.
3. `GET /todos/{id}` - detailed view.
4. `PATCH /todos/{id}` - Update status. Body: `{ completed: boolean }`.
5. `DELETE /todos/{id}` - Remove."

User Request: "Define the JSON schema for a User."

Agent Action/Output:

```json
{
  "type": "object",
  "properties": {
    "id": { "type": "string", "format": "uuid" },
    "email": { "type": "string", "format": "email" },
    "role": { "type": "string", "enum": ["user", "admin"] },
    "created_at": { "type": "string", "format": "date-time" }
  },
  "required": ["id", "email", "role"]
}
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.