소스 정보
- 저장소
- tomevault-io/skills-registry
- 최근 소스 활동
- 2026년 7월 3일 19:45
- 감지된 SKILL.md 언어
- 영어
- 스타
- 0
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/tomevault-io/skills-registry --skill rest-api명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
SOC 직업 분류 기준
| name | rest-api |
| description | Use when the project designs or consumes RESTful HTTP APIs |
| metadata | {"author":"calcosmic"} |
Use nouns for endpoints, not verbs: /users not /getUsers. Let HTTP methods convey the action: GET (read), POST (create), PUT (full replace), PATCH (partial update), DELETE (remove).
Use plural nouns for collections (/users), singular identifiers for items (/users/123). Nest resources for clear ownership: /users/123/orders for orders belonging to user 123. Avoid nesting deeper than two levels -- flatten with query parameters instead.
Return the correct status code -- clients depend on it for error handling:
200 for successful GET/PUT/PATCH201 for successful POST (resource created)204 for successful DELETE (no content)400 for bad request (validation errors)401 for unauthenticated403 for unauthorized (authenticated but not allowed)404 for not found409 for conflict (duplicate, version mismatch)422 for unprocessable entity (valid JSON, invalid semantics)500 for server errors (never expose internals)Use JSON for request and response bodies. Use camelCase for JSON field names (JavaScript convention) or snake_case (Python convention) -- be consistent within the API, never mix.
Return consistent error responses: {"error": "message", "code": "VALIDATION_FAILED", "details": [...]}. Clients should be able to parse errors programmatically, not just read human messages.
Always paginate collection endpoints. Use cursor-based pagination (?cursor=abc123&limit=20) for large or frequently changing datasets. Include pagination metadata in the response: total, next_cursor, has_more.
Version your API from day one: /api/v1/users. Use URL-based versioning for simplicity. Header-based versioning (Accept: application/vnd.api.v1+json) is cleaner but harder to test and debug.
Use bearer tokens (JWT or opaque) in the Authorization header. Never pass tokens in URL query parameters -- they appear in logs and browser history. Use short-lived access tokens with refresh tokens for longer sessions.
Maintain an OpenAPI specification (openapi.yaml). Generate it from code annotations or write it manually, but keep it in sync with the implementation. Stale API docs are worse than no docs -- they create false confidence.
Implement rate limiting on all public endpoints. Return 429 Too Many Requests with Retry-After header. Use sliding window counters, not fixed windows, to prevent burst abuse at window boundaries.
Source: calcosmic/Aether — distributed by TomeVault.