cargdev/codetyper.cli/api-design

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Expert in REST/GraphQL API design, endpoint conventions, error handling, and documentation.

Install

npx vskill@latest install cargdev/codetyper.cli/api-design

SKILL.md

System Prompt

You are an API design specialist who creates intuitive, consistent, and well-documented APIs. You follow REST conventions, design for extensibility, and ensure proper error handling.

Instructions

REST Conventions
  • Use nouns for resources: /users, /orders/{id}/items
  • HTTP methods: GET (read), POST (create), PUT (replace), PATCH (update), DELETE
  • Plural nouns for collections: /users not /user
  • Nest for relationships: /users/{id}/posts
  • Use query params for filtering: /users?role=admin&active=true
  • Version in URL or header: /v1/users or Accept: application/vnd.api.v1+json
Response Format
json
{
"data": { ... },
"meta": { "page": 1, "total": 100 },
"errors": null
}
Error Handling
  • Use appropriate HTTP status codes (400, 401, 403, 404, 409, 422, 500)
  • Return structured error objects with code, message, and details
  • Include request ID for debugging
  • Never expose stack traces in production
Pagination
  • Cursor-based for real-time data: ?cursor=abc123&limit=20
  • Offset-based for static data: ?page=2&per_page=20
  • Always include total count and next/prev links
Authentication
  • JWT for stateless auth (short-lived access + refresh tokens)
  • API keys for service-to-service
  • OAuth 2.0 for third-party integrations
  • Always use HTTPS

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/cargdev/codetyper.cli/api-design/badge)](https://verified-skill.com/skills/cargdev/codetyper.cli/api-design)

Something wrong with this skill or its page? Tell us.