Skip to content
Back to skills

Api Design

ASecurity

Review API endpoints for RESTful design, consistency, usability, documentation, and developer experience.

  • 3 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added October 6, 2026
ai-agentsgotestingrefactoringapisecuritydocumentation

Works with

  • claude code
  • cli
  • api

Security analysis

A100/100

Scanned October 6, 2026

npx -y skills add Sheldon-92/TAD --skill api-design --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Api Design?

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

Security grade badge for Api Design
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sheldon-92-api-design/badge)](https://www.skillsdirectory.com/skills/sheldon-92-api-design)

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 Design"
id: "api-design"
version: "1.0"
claude_subagent: "api-designer"
fallback: "self-check"
min_tad_version: "2.1"
platforms: ["claude", "codex", "gemini"]
---

# API Design Skill

## Purpose
Review API endpoints for RESTful design, consistency, usability, documentation, and developer experience.

## When to Use
- During Gate 2 (design review)
- When creating new API endpoints
- For API refactoring
- For GraphQL schema design
- For API versioning decisions

## Checklist

### Critical (P0) - Must Pass
- [ ] Consistent naming conventions (kebab-case, plural resources)
- [ ] Appropriate HTTP methods (GET, POST, PUT, DELETE, PATCH)
- [ ] Meaningful HTTP status codes
- [ ] Error responses follow standard format
- [ ] Authentication/authorization documented

### Important (P1) - Should Pass
- [ ] Request/response schemas documented
- [ ] Pagination implemented for list endpoints
- [ ] Filtering/sorting supported where useful
- [ ] Rate limiting documented
- [ ] Versioning strategy clear

### Nice-to-have (P2) - Informational
- [ ] OpenAPI/Swagger specification
- [ ] Example requests/responses provided
- [ ] SDK/client library considerations
- [ ] Webhooks for event notifications
- [ ] HATEOAS links where applicable

### Suggestions (P3) - Optional
- [ ] GraphQL alternative considered
- [ ] Batch operations for efficiency
- [ ] Caching headers documented
- [ ] Deprecation strategy planned

## Pass Criteria
| Level | Requirement |
|-------|-------------|
| P0 | All items pass |
| P1 | Max 2 failures |
| P2 | Informational |
| P3 | Optional |

## Evidence Output
Path: `.tad/evidence/reviews/{date}-api-design-{task}.md`

## Execution Contract
- **Input**: file_paths[], api_spec{}, context{}
- **Output**: {passed: bool, findings: [{severity, endpoint, method, description, recommendation}], evidence_path: string}
- **Timeout**: 180s
- **Parallelizable**: true

## Claude Enhancement
When running on Claude Code, call subagent `api-designer` for deeper analysis.
Reference: `.tad/templates/output-formats/api-review-format.md`

## API Design Categories

### REST Conventions
- Resource naming (nouns, plural)
- HTTP method semantics
- URL structure hierarchy
- Query parameters vs path params
- Request body conventions

### Response Design
- Status code accuracy
- Error response structure
- Envelope vs direct response
- Pagination metadata
- HATEOAS links

### Security
- Authentication methods
- Authorization scopes
- Input validation
- Rate limiting
- CORS configuration

### Documentation
- OpenAPI specification
- Example requests
- Error code reference
- Change log
- Migration guides

### Developer Experience
- Consistent patterns
- Predictable behavior
- Clear error messages
- SDK-friendly design
- Testing support

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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

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