API Error Debugger Skill
API Error Debugger Skill
ChatGPTClaudeCursorπ MCP-ready
Health
80/100
β² 0
π 0 copies
Trigger Phrase
Use the API Error Debugger Skill skill
Prompt
263 words# SKILL: API Error Debugger Skill
## Purpose
Debug API errors by comparing request, docs, auth, payload shape, rate limits, and error messages.
## When to Use
Use this when the user needs to: Debug API errors by comparing request, docs, auth, payload shape, rate limits, and error messages. It is designed for repeatable agent or automation work, not one-off fluffy prompting.
## Inputs Required
- API endpoint
- Request payload
- Error response
- Auth method
- Relevant code
## Workflow
1. Restate the failing request and expected behaviour
2. Check auth, URL, method, headers, and payload schema
3. Look up current docs if needed
4. Suggest minimal reproducible test
5. Return likely causes ranked by evidence
## Output Format
Debug report with likely cause, fix, test request, and prevention note.
## Quality Rules
- Ground every claim in supplied inputs or clearly mark it as an assumption.
- Prefer specific fields, examples, and decision points over generic advice.
- Include a test command and pass criteria so the skill can be evaluated.
- Keep the output usable by a human first and automation-ready second.
## Guardrails
- Do not send emails, publish posts, contact leads, change calendars, spend money, delete data, or alter production systems without explicit human approval.
- Do not invent facts, private details, legal claims, prices, or external data.
- For web or profile research, use current sources and separate evidence from inference.
- For connected tools, use the minimum permission needed and log the action taken.
## Test Command
Run this skill on a simple example for API Error Debugger Skill and return the expected output structure plus any missing inputs.
## Purpose
Debug API errors by comparing request, docs, auth, payload shape, rate limits, and error messages.
## When to Use
Use this when the user needs to: Debug API errors by comparing request, docs, auth, payload shape, rate limits, and error messages. It is designed for repeatable agent or automation work, not one-off fluffy prompting.
## Inputs Required
- API endpoint
- Request payload
- Error response
- Auth method
- Relevant code
## Workflow
1. Restate the failing request and expected behaviour
2. Check auth, URL, method, headers, and payload schema
3. Look up current docs if needed
4. Suggest minimal reproducible test
5. Return likely causes ranked by evidence
## Output Format
Debug report with likely cause, fix, test request, and prevention note.
## Quality Rules
- Ground every claim in supplied inputs or clearly mark it as an assumption.
- Prefer specific fields, examples, and decision points over generic advice.
- Include a test command and pass criteria so the skill can be evaluated.
- Keep the output usable by a human first and automation-ready second.
## Guardrails
- Do not send emails, publish posts, contact leads, change calendars, spend money, delete data, or alter production systems without explicit human approval.
- Do not invent facts, private details, legal claims, prices, or external data.
- For web or profile research, use current sources and separate evidence from inference.
- For connected tools, use the minimum permission needed and log the action taken.
## Test Command
Run this skill on a simple example for API Error Debugger Skill and return the expected output structure plus any missing inputs.
Before & After
β Without this prompt
Make me an automation for api error debugger skill.
β With this prompt
Use the API Error Debugger Skill skill. Inputs: goal, systems, data fields, approval owner, and definition of done. Return the workflow, tests, guardrails, and approval checkpoint.
Install Instructions
Copy the body into Prompt Hub as a skill. For Agent Skills, save as SKILL.md or paste into the target agent/project. For n8n/Make/Voiceflow, use this as the build blueprint before importing any third-party JSON.
Test It
Test command:
Run API Error Debugger Skill with a tiny dummy case and verify it returns the declared output format, missing-input warnings, guardrails, and pass criteria.
Expected output:
Debug report with likely cause, fix, test request, and prevention note.
Pass criteria:
- Passes when the output is specific, complete, safe, testable, approval-aware where needed, and immediately usable with light editing.
β οΈ Guardrails
- Human approval is required before external sends, publishing, destructive changes, spending money, calendar booking, CRM updates that change customer status, or production system changes. Use least-privilege tool access.
π Context File Tip
Source context: Sabrina Ramonov describes agents.sabrina.dev as a free library of AI agents and automations, including n8n and Make templates. Related source: https://www.sabrina.dev/p/free-ai-agents-and-automations-library. Agent-skill structure context: https://agentskills.io/home. Security context: https://arxiv.org/abs/2510.26328.
β‘ Automation
ChatGPT|Claude|Cursor
π MCP-compatible
