본문으로 건너뛰기
Skillpedia
인터페이스 (UI/UX)48k · #3767

api-designer

하는 일

소프트웨어가 인터넷을 통해 서로 소통하는 방식(REST API 엔드포인트라고 함)에 대한 자세한 계획을 만듭니다. 각 ‘문(엔드포인트)’이 무엇을 하는지, 어떤 정보를 보내고 받는지, 오류를 어떻게 처리하는지 정의합니다.

사용하는 경우

  • ✓애플리케이션이 다른 서비스와 어떻게 소통할지 계획해야 할 때.
  • ✓새 시스템이나 기능의 기본 구조를 만들 때.
  • ✓웹사이트나 애플리케이션의 데이터 ‘진입점’을 정의할 때.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/api-designer/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/api-designer/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“사용자, 작업, 댓글이 있는 간단한 작업 관리 시스템을 위한 REST API 엔드포인트를 만들어 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

AI는 시스템 설명을 분석하고 소프트웨어가 사용할 수 있는 ‘문(엔드포인트)’ 목록을 만듭니다. 각 문마다 호출 방법(메서드, 경로), 보낼 내용(요청 본문), 돌아올 응답(성공 응답), 가능한 오류를 자세히 설명합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Supporting material availability

This catalog copy contains the inline guidance below, but does not include the following supporting paths. They are external prerequisites, not bundled files:

  • <support-root>/references/domains.md
  • <support-root>/references/testmu_example.md

Obtain the required material from the declared upstream source, or from a user-provided installation of that source. Resolve each path relative to that installation, inspect its contents, and verify any applicable license and execution prerequisites. Do not run a command or claim a referenced procedure was followed until its required file exists. Do not fabricate the missing scripts or treat an unrelated file with the same name as equivalent. Independent steps fully documented here can proceed within the user’s authorized scope; report any dependent step as unavailable.

API Designer Skill

When to Use

Use this skill when you need generates complete, production-ready REST API endpoint specifications for any system or domain the user describes. Use this skill whenever the user asks about API design, API endpoints, REST APIs, API URLs, or says things like "what endpoints do I need for...", "design an API for...",...

You are an expert API architect.

Ask the user if they want just the endpoints or complete detailed response (Enpoints Only/Detail Design). Do not ask these options if the user has specified the details of his requirement in the input already. If the user says Endpoints Only:

  • Output only the endpoints If the user says Detail Design:
  • Output complete design as the structure described in this skill.

Output Format

First list down all the endpoints one after another as output then expand each in this exact structure for each endpoint group (resource):


RESOURCE NAME

METHOD /path/to/endpoint

Short description of what this endpoint does. Not more than two lines.

Headers

Header Value Required
Content-Type application/json Yes
Authorization Bearer <token> Yes/No
X-Api-Key <api-key> Yes/No
(add others as relevant)

Request Body (omit for GET/DELETE if no body)

{
  "field": "type — description",
  "field2": "type — description"
}

Success Response — STATUS_CODE Description

{
  "field": "value or type"
}

Error Codes

Code Meaning
400 Bad Request — invalid or missing fields
401 Unauthorized — missing or invalid token
403 Forbidden — insufficient permissions
404 Not Found
409 Conflict — e.g. duplicate resource
422 Unprocessable Entity — validation failed
500 Internal Server Error

Rules for Output

  1. Cover all major resources for the described system. Infer resources if the user doesn't list them.
  2. Always include CRUD (Create, Read, Update, Delete) where applicable, plus domain-specific actions.
  3. Use RESTful conventions: plural nouns for collections, nested paths for relationships (e.g. /hotels/{id}/rooms).
  4. Auth: Default to Bearer token (JWT) for protected routes. Add API key header where relevant (e.g. third-party integrations). Mark public endpoints clearly.
  5. Request body: Show realistic JSON with field names, types, and brief descriptions. Mark required vs optional fields in comments.
  6. Responses: Show the success response shape with realistic fields. Always include the HTTP status code.
  7. Error codes: List the relevant subset per endpoint — don't always paste all 7. Use judgement.
  8. Pagination: For list endpoints, include query params (page, limit, sort, filter) and wrap responses in a paginated envelope.
  9. Versioning: Prefix all paths with /api/v1/ unless the user specifies otherwise.
  10. Group endpoints by resource (e.g. "Authentication", "Hotels", "Rooms", "Bookings", "Payments", "Reviews").

Pagination Envelope (for list endpoints)

{
  "data": [...],
  "pagination": {
    "total": 100,
    "page": 1,
    "limit": 20,
    "totalPages": 5
  }
}

Common Auth Patterns

Choose based on context:

Scenario Auth Method
User-facing apps Authorization: Bearer <JWT>
Server-to-server X-Api-Key: <key>
Public endpoints No auth header needed

…

자주 묻는 질문

REST API 엔드포인트란 무엇인가요?

프로그램이 다른 프로그램에 정보를 요청하거나 보내기 위해 사용하는 인터넷상의 특정 주소와 같습니다. 예를 들어 ‘모든 작업 목록 보기’ 또는 ‘새 작업 만들기’ 주소가 있습니다.

‘프로덕션 준비’란 무엇인가요?

AI가 만든 계획이 모범 사례를 따르며, 실제 시스템에서 안전하고 효율적으로 사용될 준비가 되었다는 뜻입니다.

AI가 API 코드를 작성할 수 있나요?

아니요, 이 도구는 API가 어떻게 작동해야 하는지에 대한 ‘계획’이나 ‘명세’만 만듭니다. 실제 코드는 프로그래머가 작성해야 합니다.

상세 정보

작성자의 원본 설명

Generates complete, production-ready REST API endpoint specifications for any system or domain the user describes.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#3767
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬