smithery/dasien

API Design

Design RESTful APIs with proper resource modeling, HTTP methods, error handling, and clear contracts following REST principles

Installation

$ npx skills add smithery/dasien --skill api-design

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/dasien.

npx skills add smithery/dasien

Browse all from smithery/dasien

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,541 B
  • docs SUMMARY.md 144 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

API Design

Purpose

Design clear, consistent, and maintainable REST APIs following industry best practices and conventions.

When to Use

  • Designing new API endpoints
  • Refactoring existing APIs
  • Creating integration interfaces
  • Planning service-to-service communication

Key Capabilities

  1. REST Principles - Apply RESTful design patterns correctly
  2. Resource Modeling - Design clear resource hierarchies
  3. Error Responses - Define consistent error handling

Approach

  1. Identify resources and their relationships
  2. Design URL structure (nouns, not verbs)
  3. Choose appropriate HTTP methods (GET, POST, PUT, DELETE)
  4. Design request/response formats
  5. Plan error handling and status codes
  6. Document with examples

Example

Context: User profile management API

Design: ``` GET /users/{id} # Get user POST /users # Create user PUT /users/{id} # Update user DELETE /users/{id} # Delete user GET /users/{id}/profile # Get profile PUT /users/{id}/profile # Update profile ```

Best Practices

  • ✅ Use nouns for resources, HTTP verbs for actions
  • ✅ Consistent URL patterns and naming
  • ✅ Proper HTTP status codes (200, 201, 404, 500)
  • ❌ Avoid: Verbs in URLs (/getUser, /createUser)