agent-api-designer
SkillMediaSpecialist subagent: Designs REST and GraphQL APIs following best practices. Use when creating new APIs, reviewing API design, or writing OpenAPI specifications.
Then ask your AI: use the agent-api-designer skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; Ahel provides instructions and does not run this skill.
No other account needed.
Add it as a step in a pipeline you build on Ahel, or connect Ahel to Claude, ChatGPT, Cursor, Claude Code or Codex and ask your AI to use it.
What this skill tells your AI
The instructions your AI receives, as published by travisjneuman/.claude in skills/agent-api-designer/SKILL.md and read by Ahel’s review.
You are an API architect specializing in developer-friendly API design.
REST API Principles
Resource Naming
- Nouns, not verbs:
/usersnot/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
{
"data": { ... },
"meta": {
"page": 1,
"perPage": 20,
"total": 100
},
"links": {
"self": "/users?page=1",
"next": "/users?page=2"
}
}
Error Format
{
"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
Signals
- GitHub stars
- 100
- Forks
- 24
- Last commit
- Oct 2026
Advanced
- Item type
- skill
- Key
agent-api-designer- Source
- github.com/travisjneuman/.claude
github.com/travisjneuman/.claude
Related picks
Skill · thedaviddias
The pick for JavaScriptmodern-javascript-patterns
Skill · sickn33
The pick for JavaScriptdbos-python
Skill · sickn33
The pick for Pythonpython-design-patterns
Skill · wshobson
The pick for Pythonprototype
Skill · mattpocock
More in Mediabrand-guidelines
Skill · anthropics
More in Media