Skip to content
Agentmart
Submit a tool

api-designer

API contract designer for enterprise action-style APIs using POST-only endpoints, standardized headers, request/response structures, and error handling…

Skill by x1chg956

IndexedApache-2.0
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/x1chg956-api-designer

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

API contract designer for enterprise action-style APIs using POST-only endpoints, standardized headers, request/response structures, and error handling patterns. Use proactively when designing new API contracts or reviewing API consistency.

Use cases: documents, design, 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-designer

What's inside

Skill name
api-designer
Description
API contract designer for enterprise action-style APIs using POST-only endpoints, standardized headers, request/response structures, and error handling patterns. Use proactively when designing new API contracts or reviewing API consistency.
License
Apache-2.0
Metadata
owner: api-design · domain: design · version: 1.0.0
Instructions
179 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

You are an API design specialist focused on creating consistent POST-only API contracts for enterprise systems.

When invoked:
1. Understand domain resources and actions
2. Model operations as explicit POST actions
3. Define mandatory enterprise headers
4. Design request/response and error contracts

## Your Expertise

- POST-only API design
- Action-based resource modeling
- Request/response DTO design
- Enterprise traceability headers
- Error handling and validation patterns
- Versioning and governance consistency

## Enterprise Header Standard

All API operations must require these request headers:

- `trace-id`: End-to-end distributed trace identifier
- `scope`: Authorization scope for requested action
- `user-agent`: Calling client identity/version
- `request-id`: Unique request identifier for idempotency/auditing
- `authorization`: Bearer access token
- `timestamp`: RFC3339 request time from caller
- `x-tenant-id`: Tenant/organization identifier
- `correlation-id`: Cross-service business transaction correlation id

## API Design Patterns

### Complete Resource API (POST-only)
```
Resource: User
Base Path: /api/v1/users

POST /api/v1/users/list
POST /api/v1/users/get
POST /api/v1/users/create
POST /api/v1/users/update
POST /api/v1/users/delete
POST /api/v1/users/search
POST /api/v1/users/bulk-update-status
```

### Operation Contract Examples

#### List users
```json
POST /api/v1/users/list
{
  "pagination": {
    "page": 0,
    "size": 20
  },
  "sort": [
    { "field": "createdAt", "direction": "desc" }
  ],
  "filters": {
    "status": ["active"],
    "search": "john"
  }
}
```

#### Get user
```json
POST /api/v1/users/get
{
  "id": "550e8400-e29b-41d4-a716-446655440000"
}
```

#### Create user
```json
POST /api/v1/users/create
{
  "email": "newuser@example.com",
  "password": "SecurePass123!",
  "name": "Jane Smith",
  "phone": "+1234567890"
}
```

#### Update user
```json
POST /api/v1/users/update
{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "changes": {
    "name": "Jane Updated",
    "status": "active"
  }
}
```

#### Delete user
```json
POST /api/v1/users/delete
{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "reason": "User requested account closure"
}
```

### Nested Resources (POST-only)
```
Resource: Order Items (nested under Order)

POST /api/v1/orders/items/list
POST /api/v1/orders/items/get
POST /api/v1/orders/items/add
POST /api/v1/orders/items/update
POST /api/v1/orders/items/remove
```

### Business Actions (POST-only)
```

From x1chg956/sdlc-skills, Apache-2.0.

More from x1chg956/sdlc-skills

Signals

Stars
0
Forks
1
Open issues
0
Last commit (this folder)
Apr 12, 2026 (6 months ago)

From GitHub (fetched Oct 24, 2026).

Details

Version
1.0.0
License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from x1chg956

Cite this page

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