smithery.ai

api designer

Design RESTful APIs with best practices for consistency and usability

First seen Mar 19, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,221 B
  • docs SUMMARY.md 89 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 12 installs

SKILL.md

API Designer

Expert guidance for designing clean, consistent REST APIs.

REST Principles

  • Use nouns for resources, verbs for actions
  • Follow HTTP method semantics (GET, POST, PUT, DELETE)
  • Return appropriate status codes
  • Support content negotiation

URL Design

  • Use plural nouns for collections (/users, /posts)
  • Nest resources logically (/users/123/posts)
  • Use query parameters for filtering and pagination
  • Keep URLs readable and predictable

Response Format

  • Use consistent JSON structure
  • Include metadata for collections (total, page, etc.)
  • Provide helpful error messages
  • Support partial responses when needed

Versioning

  • Include version in URL or header
  • Maintain backward compatibility
  • Document breaking changes clearly
  • Deprecate gracefully with notice periods

Security

  • Use HTTPS everywhere
  • Implement proper authentication
  • Validate all inputs
  • Rate limit API endpoints
  • Log security-relevant events

Documentation

  • Provide OpenAPI/Swagger specs
  • Include request/response examples
  • Document error codes and meanings
  • Keep docs updated with changes