Back to list
duhenri9

api-design

by duhenri9

Landing page oficial da WM3, criada para consolidar o reposicionamento da agência no mercado digital. Centraliza todos os links, serviços e projetos em um só hub estratégico, refletindo a nova fase da marca e a integração de soluções de automação e IA.

0🍴 0📅 Jan 17, 2026

SKILL.md


name: api-design description: Design RESTful APIs following best practices phases: [P, R]

API Design

When to Use

Use this skill when designing new APIs or reviewing API designs.

REST Principles

1. Resource Naming

  • Use nouns, not verbs: /users not /getUsers
  • Use plural: /users not /user
  • Use hyphens: /user-profiles not /userProfiles
  • Nest for relationships: /users/{id}/orders

2. HTTP Methods

MethodPurposeIdempotent
GETReadYes
POSTCreateNo
PUTReplaceYes
PATCHUpdateYes
DELETERemoveYes

3. Status Codes

  • 200: OK
  • 201: Created
  • 204: No Content
  • 400: Bad Request
  • 401: Unauthorized
  • 403: Forbidden
  • 404: Not Found
  • 409: Conflict
  • 422: Unprocessable Entity
  • 500: Internal Server Error

4. Response Format

{
  "data": { ... },
  "meta": {
    "page": 1,
    "total": 100
  },
  "errors": []
}

5. Versioning

  • URL path: /v1/users
  • Header: Accept: application/vnd.api+json;version=1

Design Checklist

  • Resources clearly defined
  • Consistent naming convention
  • Proper HTTP methods used
  • Error responses standardized
  • Pagination implemented
  • Authentication specified
  • Rate limiting defined

Score

Total Score

70/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon