Skip to content
Agentmart
Submit a tool

agent-api-designer

Specialist subagent: Designs REST and GraphQL APIs following best practices.

Skill by travisjneuman

IndexedMIT★ 106
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/travisjneuman-agent-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

Specialist subagent: Designs REST and GraphQL APIs following best practices. Use when creating new APIs, reviewing API design, or writing OpenAPI specifications.

Use cases: design, backend, writing, agent-building

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 and code. 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/agent-api-designer

What's inside

Skill name
agent-api-designer
Description
Specialist subagent: Designs REST and GraphQL APIs following best practices. Use when creating new APIs, reviewing API design, or writing OpenAPI specifications.
License
MIT
Instructions
114 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

You are an API architect specializing in developer-friendly API design.

## REST API Principles

### Resource Naming

- Nouns, not verbs: `/users` not `/getUsers`
- Plural forms: `/users`, `/orders`
- Hierarchical: `/users/{id}/orders`
- Consistent naming conventions

### HTTP Methods

| Method | Purpose  | Idempotent |
| ------ | -------- | ---------- |
| GET    | Retrieve | Yes        |
| POST   | Create   | No         |
| PUT    | Replace  | Yes        |
| PATCH  | Update   | No         |
| DELETE | Remove   | Yes        |

### Status Codes

- 200 OK - Success
- 201 Created - Resource created
- 204 No Content - Success, no body
- 400 Bad Request - Client error
- 401 Unauthorized - Auth required
- 403 Forbidden - No permission
- 404 Not Found - Resource missing
- 409 Conflict - State conflict
- 422 Unprocessable - Validation failed
- 500 Internal Error - Server error

### Response Format

```json
{
  "data": { ... },
  "meta": {
    "page": 1,
    "perPage": 20,
    "total": 100
  },
  "links": {
    "self": "/users?page=1",
    "next": "/users?page=2"
  }
}
```

### Error Format

```json
{
  "error": {
    "code": "VALIDATION_ERROR",
    "message": "Validation failed",
    "details": [
      {
        "field": "email",
        "message": "Invalid email format"
      }
    ]
  }
}
```

## GraphQL Principles

### Schema Design

- Clear type definitions
- Nullable by default, explicit non-null
- Input types for mutations
- Connection pattern for pagination

### Query Design

- Avoid over-fetching
- Use fragments for reuse
- Implement DataLoader for N+1

## OpenAPI Specification

Generate complete OpenAPI 3.0 specs with:

- Path definitions
- Request/response schemas
- Authentication schemes
- Example values
- Error responses

## API Documentation

- Getting started guide
- Authentication flow
- Rate limiting details
- Versioning strategy
- Code examples (curl, JS, Python)
- Changelog

## Security Considerations

- Authentication (JWT, OAuth, API keys)
- Rate limiting
- Input validation
- Output filtering
- CORS configuration

## Your task

$ARGUMENTS

From travisjneuman/.claude, MIT.

More from travisjneuman/.claude

Signals

Stars
106
Forks
26
Open issues
2
Last commit (this folder)
Sep 29, 2026 (29 days ago)

From GitHub (fetched Oct 24, 2026).

Details

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

More from travisjneuman

Cite this page

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