Skillzwave Logo
Skillzwave

api-error-handling

79.0
C

Implement comprehensive API error handling with standardized error responses, logging, monitoring, and user-friendly messages. Use when building resilient APIs, debugging issues, or improving error reporting.

Also in: monitoring

Third-Party Agent Skill: Review the code before installing. Agent skills execute in your AI assistant's environment and can access your files. Learn more about security

Installation for Agentic Skill

View all platforms →
skilz install aj-geddes/useful-ai-prompts/api-error-handling
skilz install aj-geddes/useful-ai-prompts/api-error-handling --agent opencode
skilz install aj-geddes/useful-ai-prompts/api-error-handling --agent codex
skilz install aj-geddes/useful-ai-prompts/api-error-handling --agent gemini

First time? Install Skilz: pip install skilz

Works with 22+ AI coding agents

Cursor, Aider, Copilot, Windsurf, Qwen, Kimi, and more...

View All Agents
Download Agent Skill ZIP

Extract and copy to ~/.claude/skills/ then restart Claude Desktop

1. Clone the repository:
git clone https://github.com/aj-geddes/useful-ai-prompts
2. Copy the agent skill directory:
cp -r useful-ai-prompts/skills/api-error-handling ~/.claude/skills/

Need detailed installation help? Check our platform-specific guides:

Related Agentic Skills

markdownlint-integration

by TheBushidoCollective

Integrate markdownlint into development workflows including CLI usage, programmatic API, CI/CD pipelines, and editor integration.

58
F
TECHapi
Marketplace

route-tester

by diet103

Test authenticated routes in the your project using cookie-based authentication. Use this skill when testing API endpoints, validating route functiona...

57
F
TECHapi
+testing+security

hook-development

by anthropics

This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-base...

54
TECHapi
Marketplace

using-superpowers

by obra

Use when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying ...

54
TECHapi
Marketplace

Agentic Skill Details

Type
Technical
Meta-Domain
web api
Primary Domain
api
Market Score
79.0

Agent Skill Grade

C
Score: 79/100 Click to see breakdown

Score Breakdown

Spec Compliance
12/15
PDA Architecture
15/30
Ease of Use
23/25
Writing Style
10/10
Utility
19/20

Areas to Improve

  • All implementation details in main SKILL.md instead of concise overview with references
  • No TOC for large file over 100 lines
  • Missing references/ directory for implementation details

Recommendations

  • Focus on improving Pda (currently 15/30)
  • Address 2 high-severity issues first
  • Add trigger phrases to description for discoverability

Graded: 1/19/2026

Developer Feedback

I took a look at your api-error-handling skill and wanted to share some thoughts.

Links:

The TL;DR

You're at 79/100, solid C grade territory. This is based on Anthropic's skill best practices rubric. Your writing style is flawless (10/10) and utility is strong (19/20), but Progressive Disclosure Architecture is dragging things down (15/30). This is fixable with some structural changes.

What's Working Well

  • Writing is crisp. Your skill uses imperative voice consistently, zero marketing fluff. Every section earns its space.
  • Comprehensive error handling. You've thought through real API problems—timeout handling, rate limiting, validation errors. The code examples are practical and dense.
  • Consistent terminology. ApiError, ERROR_CODES, retry logic—everything lines up. Makes it easy to follow your logic.
  • Clear activation triggers. Your description nails the discoverability piece with specific trigger phrases like "API error handling" and "HTTP error codes."

The Big One: Layered Structure

Here's what's holding you back: Your 457-line SKILL.md is doing too much. It's got the overview and all the implementation details stuffed in one file. Progressive Disclosure is about scaling complexity gracefully—you're dumping it all at once.

The fix: Create a references/ directory and move your detailed code examples there. Keep SKILL.md as a concise overview (maybe 100-150 lines) that points to reference files for deep dives. Example structure:

api-error-handling/
├── SKILL.md (overview + workflow only)
├── references/
│   ├── error-codes-reference.md (ERROR_CODES constants)
│   ├── retry-strategies.md (backoff implementations)
│   ├── monitoring-patterns.md (logging examples)
│   └── validation-examples.md (input validation code)

Impact: +7 points easy. This single change addresses your biggest gap.

Other Things Worth Fixing

  1. Add a table of contents. At the top of SKILL.md, add a quick TOC with links to main sections. For a 457-line file, this is navigation gold. (+2 points)

  2. Beef up your description triggers. You've got 1-2 trigger phrases. Add more like "API retry logic," "error response handling," "HTTP timeout management." Better discoverability. (+1 point)

  3. Expand feedback loops. You mention logging and monitoring, but add a section on validation patterns—how to detect bad responses before they cause problems downstream. Real-world crews need this. (+1 point)

Quick Wins

  • Split SKILL.md into overview + references/ (biggest bang for your buck)
  • Add table of contents to main file
  • Expand trigger phrases in description metadata
  • Add validation patterns section for feedback loops

You've built something useful here. These structural changes just make it discoverable and digestible at scale.


Checkout your skill here: SkillzWave.ai | SpillWave We have an agentic skill installer that install skills in 14+ coding agent platforms. Check out this guide on how to improve your agentic skills.

Report Security Issue

Found a security vulnerability in this agent skill?