Skip to content
Agentmart
Submit a tool

api-design

Designs REST APIs, GraphQL schemas, OpenAPI specs, webhook systems, and API versioning strategies.

Skill by The13thNode

IndexedMIT★ 3
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/the13thnode-api-design

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Designs REST APIs, GraphQL schemas, OpenAPI specs, webhook systems, and API versioning strategies. Use when a founder or team needs to design or document an API before building it, create an OpenAPI/Swagger spec, design a webhook system, plan API versioning, or build developer-facing APIs. Trigger for "design an API", "API spec", "OpenAPI", "REST vs GraphQL", "webhook design", "API versioning", "developer API", or "document my endpoints". Part of the Founder OS suite — the API contract layer that connects frontend and backend.

Use cases: documents, design, frontend, backend

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/api-design

What's inside

Skill name
api-design
Description
Designs REST APIs, GraphQL schemas, OpenAPI specs, webhook systems, and API versioning strategies. Use when a founder or team needs to design or document an API before building it, create an OpenAPI/Swagger spec, design a webhook system, plan API versioning, or build developer-facing APIs. Trigger for "design an API", "API spec", "OpenAPI", "REST vs GraphQL", "webhook design", "API versioning", "developer API", or "document my endpoints". Part of the Founder OS suite — the API contract layer that connects frontend and backend.
License
MIT
Instructions
323 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# API Design — Founder OS

Great APIs are designed before they are built. The contract between frontend and backend — and between your product and other developers — should be explicit, versioned, and stable.

---

## REST API Design Principles

### URL Structure
```
# Resources are nouns, never verbs
GET    /api/v1/users              ✓
GET    /api/v1/getUsers           ✗

# Nested resources show relationships
GET    /api/v1/users/:id/posts    ✓
GET    /api/v1/getUserPosts       ✗

# Actions that don't fit CRUD use sub-resources
POST   /api/v1/users/:id/activate    ✓
POST   /api/v1/activateUser          ✗
```

### HTTP Methods
| Method | Action | Success Code | Body |
|--------|--------|-------------|------|
| GET | Fetch resource(s) | 200 | Response data |
| POST | Create resource | 201 | Created resource |
| PUT | Replace resource | 200 | Updated resource |
| PATCH | Update fields | 200 | Updated resource |
| DELETE | Remove resource | 204 | Empty |

### Standard Response Envelope
```typescript
// Always use this shape — never break it
interface ApiResponse<T> {
  success: boolean;
  data?: T;
  error?: {
    code: string;         // Machine-readable: "USER_NOT_FOUND"
    message: string;      // Human-readable: "No user with that ID exists"
    field?: string;       // For validation errors: "email"
  };
  meta?: {
    total: number;        // For paginated lists
    page: number;
    limit: number;
    hasMore: boolean;
  };
}

// Success example
{ "success": true, "data": { "id": "123", "name": "Alice" } }

// Error example
{ "success": false, "error": { "code": "VALIDATION_ERROR", "message": "Email is invalid", "field": "email" } }

// Paginated list
{ "success": true, "data": [...], "meta": { "total": 500, "page": 2, "limit": 20, "hasMore": true } }
```

### Error Code Standard
```
HTTP 400 — Bad Request      → Validation errors, malformed input
HTTP 401 — Unauthorized     → Not authenticated (no/invalid token)
HTTP 403 — Forbidden        → Authenticated but not permitted
HTTP 404 — Not Found        → Resource doesn't exist
HTTP 409 — Conflict         → Duplicate, state conflict
HTTP 422 — Unprocessable    → Semantically invalid (valid JSON, bad business logic)
HTTP 429 — Too Many Requests → Rate limit hit
HTTP 500 — Internal Error   → Something broke on server side
```

---

## OpenAPI Spec Template

```yaml
openapi: 3.0.3
info:
  title: [Your Product] API
  version: 1.0.0
  description: |
    [Brief description of what this API does]

    ## Authentication
    All endpoints require Bearer token authentication.
    Get a token via POST /api/v1/auth/login

servers:
  - url: https://api.yourproduct.com/v1
    description: Production
  - url: https://api-staging.yourproduct.com/v1
    description: Staging

security:
  - bearerAuth: []

components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

  schemas:
    User:
      type: object
      required: [id, email, createdAt]
      properties:
        id:
          type: string
          format: uuid
          example: "550e8400-e29b-41d4-a716-446655440000"
        email:
          type: string
          format: email
          example: "alice@example.com"
        name:

From The13thNode/VibeCorp_PromptCEO, MIT.

More from The13thNode/VibeCorp_PromptCEO

Signals

Stars
3
Forks
0
Open issues
0
Last commit (this folder)
Mar 26, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from The13thNode

Cite this page

api-design skill. Agent Mart. https://agentmart.dev/skills/the13thnode-api-design (last updated 2026-10-24)