본문으로 건너뛰기
Skillpedia
API 및 서버 (백엔드)48k · #3763

api-analyzer

하는 일

인터넷 서비스(API라고 함)에 대한 요청이 제공된 규칙에 따라 올바르게 작성되었는지 확인하는 도구입니다. 요청을 실행하지 않으며, 비밀번호나 키 같은 인증 정보가 맞는지는 확인하지 않고 형식만 확인합니다.

사용하는 경우

  • ✓작성된 API 요청의 문법이 맞는지 알고 싶을 때.
  • ✓제대로 작동하지 않는 API 엔드포인트를 디버깅할 때.
  • ✓보내기 전에 API 요청이 규칙을 따르는지 확인할 때.

스킬 링크

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

AI에게 요청하는 예시

“이 요청을 확인해 주세요: POST /users, 본문 {"name": "Ana"}, 헤더 Content-Type: application/json”

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

작동 방식

요청의 세부 사항(메서드, 주소, 헤더, 본문, 인증 등)을 제공된 규칙과 비교합니다. 모두 맞으면 올바르다고 알려 주고, 오류가 있으면 짚어 내고 고치는 방법을 제안합니다.

기술 내용 (원본 SKILL.md)

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

API Analyzer

When to Use

Review a supplied API request’s method, URL, headers, body and authentication against the available contract. Use it for a pasted curl request or endpoint debugging; do not send the request or validate a live credential just to inspect syntax.

Your job: validate an API request and respond in one line (or two at most if needed). Be a strict, efficient reviewer — no padding, no explanations beyond what's necessary.

Output Rules

  • ✅ If correct: one line — Syntactically consistent with the supplied contract; not executed. Do not infer server acceptance or credential validity from appearance
  • ❌ If incorrect: one line — state the error + one-line fix. Example: Missing Authorization header — add \Authorization: Bearer <token>`.`
  • ⚠️ If ambiguous: ask one targeted question before validating. Never ask more than one question at a time. Only ask if the missing info would change your verdict.

When to Ask a Question

Ask only if the answer could flip your assessment. Examples:

  • POST/PUT/PATCH with no body → ask: Is there a request body?
  • No auth header on a likely-protected endpoint → ask: Does this endpoint require authentication?
  • Ambiguous content-type with a body → ask: What format is the body — JSON or form data?

Do not ask about things that don't affect correctness (e.g., optional headers, environment details).

What to Check

  1. Method — check the documented operation; GET content has no generally defined semantics and POST/PUT/PATCH body requirements are contract-specific
  2. URL — well-formed, no obvious typos, path params filled in
  3. Headers — Content-Type matches body format; Authorization present if endpoint seems protected
  4. Body — valid format per Content-Type; required fields present if schema is known
  5. Query params — required ones present, correctly encoded
  6. Auth — token/key format looks right for the scheme (Bearer, Basic, API key)

Response Format

[✅/❌/⚠️] <one-line verdict or question>

Skip the emoji if it feels redundant. Never add preamble like "Sure!" or postamble like "Let me know if you need more help."

Examples

User: GET /users/123 — Header: Authorization: Bearer abc123 → No obvious syntax issue; endpoint contract and credential validity are unverified.

User: POST /orders — Header: Content-Type: application/json — Body: {"item":"shoe"} → No obvious syntax issue; endpoint contract and credential validity are unverified.

User: POST /checkout — no body, no headers → Is there a request body? POST to /checkout typically requires one.

User: DELETE /users — Header: Content-Type: application/json → Content-Type without a body is usually unnecessary; retain it if the endpoint contract requires it.

User: GET /search — Body: {"q":"test"} → GET body semantics depend on the documented API; for a query-based search, use /search?q=test.


Limitations

  • Use this skill only when the task clearly matches its upstream source and local project context.
  • Verify commands, generated code, dependencies, credentials, and external service behavior before applying changes.
  • Do not treat examples as a substitute for environment-specific tests, security review, or user approval for destructive or costly actions.
자주 묻는 질문

‘계약(contract)’은 무엇을 뜻하나요?

API 요청을 어떻게 해야 하는지 정의하는 규칙의 집합입니다. 기대되는 정보와 형식을 포함합니다.

이 도구가 실제로 API 요청을 보내나요?

아니요, 요청의 문법만 확인합니다. 서버에 보내지 않으며 인증 정보도 테스트하지 않습니다.

요청이 잘못되면 어떻게 되나요?

도구가 오류를 알려 주고, 어떻게 고칠지 간단한 제안을 제공합니다.

상세 정보

작성자의 원본 설명

Validates whether an API request is correct based on provided inputs (method, URL, headers, body, auth, query params).

repo: sickn33/agentic-awesome-skills

인기도

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

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬