Skip to content
Skillpedia
APIs & servers (backend)48k · #2149

api-analyzer

Checks if commands sent to a service (API) are correct. It ensures data and settings are right before sending.

What it does

This tool checks if a request to an internet service (called an API) is written correctly based on provided rules. It doesn't execute the request or verify if your credentials (like passwords or keys) are right, only the format.

When to use it

  • ✓When you have a written API request and want to know if the syntax is correct.
  • ✓To help debug an API endpoint that isn't working as expected.
  • ✓To check if an API request follows the rules before sending it.

Example of what to ask your AI

“Check this request: POST /users with body {"name": "Ana"} and header Content-Type: application/json”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

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

Ready-to-paste message

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.
How it works

The tool compares the details of your request (like the method, address, headers, body, and authentication) against the rules that were provided. If everything matches, it says it's correct; if there's an error, it points it out and suggests how to fix it.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add sickn33/agentic-awesome-skills --skill api-analyzer

Or download just the file:

curl -L https://raw.githubusercontent.com/sickn33/agentic-awesome-skills/main/plugins/agentic-awesome-skills-claude/skills/api-analyzer/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from 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.
FAQ

What does 'contract' mean?

A contract is the set of rules that define how an API request should be made, including what information is expected and in what format.

Does the tool actually send the API request?

No, it only checks the request's syntax. It does not send it to the server or test your credentials.

What happens if the request is incorrect?

The tool will state the error and provide a simple suggestion on how to fix it.

Details

Original description by the author

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

repo: sickn33/agentic-awesome-skills

Popularity

GitHub stars
48k
Ranking position
#2149
License
MIT
Updated
10/15/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills