Zum Inhalt springen
Skillpedia
APIs & Server (Backend)48k · #3763

api-analyzer

Was er macht

Dieses Tool prüft, ob eine Anfrage an einen Internetdienst (eine sogenannte API) nach den vorgegebenen Regeln richtig aufgebaut ist. Es führt die Anfrage nicht aus und prüft auch nicht, ob deine Zugangsdaten (wie Passwörter oder Keys) stimmen. Es kontrolliert nur das Format.

Wann du ihn nutzt

  • ✓Wenn du eine geschriebene API-Anfrage hast und wissen willst, ob die Syntax stimmt.
  • ✓Um einen API-Endpunkt zu debuggen, der nicht wie erwartet funktioniert.
  • ✓Um zu prüfen, ob eine API-Anfrage den Regeln entspricht, bevor du sie abschickst.

Link zum Skill

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

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/api-analyzer/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Prüfe diese Anfrage: POST /users mit dem Body {"name": "Ana"} und dem Header Content-Type: application/json”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Das Tool vergleicht die Details deiner Anfrage (wie Methode, Adresse, Header, Body und Authentifizierung) mit den vorgegebenen Regeln. Passt alles, sagt es dir, dass die Anfrage korrekt ist. Gibt es einen Fehler, zeigt es ihn dir und schlägt vor, wie du ihn beheben kannst.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von 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.
Häufige Fragen

Was bedeutet „Contract“?

Ein Contract ist die Sammlung von Regeln, die festlegen, wie eine API-Anfrage aussehen soll. Dazu gehört, welche Informationen erwartet werden und in welchem Format.

Schickt das Tool die API-Anfrage tatsächlich ab?

Nein, es prüft nur die Syntax der Anfrage. Es schickt sie nicht an den Server und testet auch deine Zugangsdaten nicht.

Was passiert, wenn die Anfrage falsch ist?

Das Tool nennt dir den Fehler und gibt dir einen einfachen Hinweis, wie du ihn beheben kannst.

Details

Originalbeschreibung des Autors

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

repo: sickn33/agentic-awesome-skills

Beliebtheit

GitHub-Sterne
48k
Platz im Ranking
#3763
Lizenz
MIT
Aktualisiert
15.10.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills