Error Handling Testing Patterns

Error Handling Testing Patterns is a skill for Claude Code, Codex from PramodDutta/qaskills. It costs 26 tokens per session (827 once invoked), scanned A, a copy of axe-core Accessibility Automation, MIT.

A guide to testing how software behaves when something goes wrong, including thrown errors, retries, circuit breakers, and reduced-function modes.

In plain words
What is it for?
Use it to test error propagation, recovery paths, retry behavior, circuit breakers, and graceful degradation.
Why use it?
It helps reveal failures that crash the application, retry incorrectly, or leave users without a usable response.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for aider. Also seen: mentions Codex; built for aider.

Good fit Use it to test error propagation, recovery paths, retry behavior, circuit breakers, and graceful degradation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pramoddutta/qaskills/error-handling-testing
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add PramodDutta/qaskills --skill error-handling-testing
Clone the repo
git clone --depth 1 https://github.com/PramodDutta/qaskills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Error Handling Testing Patterns

README.md
[![agentmods](https://agentmods.dev/badge/skills/pramoddutta/qaskills/error-handling-testing/github.svg)](https://agentmods.dev/skills/pramoddutta/qaskills/error-handling-testing)
Your own site
<a href="https://agentmods.dev/skills/pramoddutta/qaskills/error-handling-testing"><img src="https://agentmods.dev/badge/skills/pramoddutta/qaskills/error-handling-testing/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Error Handling Testing Patterns

Your own site · 80×15
<a href="https://agentmods.dev/skills/pramoddutta/qaskills/error-handling-testing"><img src="https://agentmods.dev/badge/skills/pramoddutta/qaskills/error-handling-testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 827 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 78% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00026 $0.00827
Opus 5.5 $0.00010 $0.00331
Sonnet 5.5 $0.00005 $0.00165
Haiku 4.5 $0.00003 $0.00083

Measured 1mo ago against content hash 8883a8beef65, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Error Handling Testing Patterns scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

78% identical to axe-core Accessibility Automation — 44 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

seed-skills/error-handling-testing/SKILL.md · 89 lines

How it starts

The opening of the file, as written. The whole thing — 89 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Error Handling Testing Patterns

You are an expert QA engineer specializing in error handling testing patterns. When the user asks you to write, review, debug, or set up error-handling related tests or configurations, follow these detailed instructions.

Core Principles

  1. Quality First — Ensure all error-handling implementations follow industry best practices and produce reliable, maintainable results.
  2. Defense in Depth — Apply multiple layers of verification to catch issues at different stages of the development lifecycle.
  3. Actionable Results — Every test or check should produce clear, actionable output that developers can act on immediately.
  4. Automation — Prefer automated approaches that integrate seamlessly into CI/CD pipelines for continuous verification.
  5. Documentation — Ensure all error-handling configurations and test patterns are well-documented for team understanding.

When to Use This Skill

  • When setting up error-handling for a new or existing project
  • When reviewing or improving existing error-handling implementations
  • When debugging failures related to error-handling
  • When integrating error-handling into CI/CD pipelines
  • When training team members on error-handling best practices

Implementation Guide

Setup & Configuration

When setting up error-handling, follow these steps:

  1. Assess the project — Understand the tech stack (typescript, javascript, python) and existing test infrastructure
  2. Choose the right tools — Select appropriate error-handling tools based on project requirements
  3. Configure the environment — Set up necessary configuration files and dependencies
  4. Write initial tests — Start with critical paths and expand coverage gradually
  5. Integrate with CI/CD — Ensure tests run automatically on every code change

Best Practices

  • Keep tests focused — Each test should verify one specific behavior or requirement
  • Use descriptive names — Test names should clearly describe what is being verified
  • Maintain test independence — Tests should not depend on execution order or shared state
  • Handle async operations — Properly await async operations and use appropriate timeouts
  • Clean up resources — Ensure test resources are properly cleaned up after execution

Read the full file on GitHub · 89 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 89 lines · 26 tokens per session scan A 8883a8beef65

Subscribe to this mod's changes

Error Handling Testing Patterns is a skill published in the GitHub repository PramodDutta/qaskills (237 stars, last pushed 9d ago), licensed MIT. It adds 26 tokens to every session and 827 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 78% identical to axe-core Accessibility Automation, differing in 44 lines, and is treated as a copy.

Related

Other skills, from other repositories

error-handling

Error handling patterns. Exception hierarchies, Result types, structured error responses, retry strategies, circuit breakers.

pan94u/forge · 26 tokens

analyze-failures

Triage Katalon True Platform/TestOps test failures and file defects. Use when you need to investigate failed test results, classify each failure as product defect vs automation defect vs environment/data issue, cluster failures by common signature, find likely root cause from execution data, and optionally create…

katalon-labs/true-skills · 131 tokens

impact-trace

For a change point (function / type / endpoint / SQL column), enumerate its real blast radius across six dimensions with a grep citation per row, then derive the regression test scope. Every impact-table row must trace to a real search hit — never a self-asserted claim.

Prismer-AI/PrismerCloud · 60 tokens

debugging-livekit-agents

Drives a multi-turn conversation with a LiveKit agent running locally to see what it does. Use when the user says "test my agent", "try my agent", "does this work", "why did it call that tool", "it says the wrong thing when I ask X", "test this change", or whenever you have edited an agent and need to check how it…

fcakyon/claude-codex-settings · 173 tokens

webapp-qa

Perform scoped exploratory QA of a web application, reproduce defects, collect screenshots and console evidence, and deliver a prioritized report.

Prismer-AI/PrismerCloud · 29 tokens

error-handling

Use when designing the reaction to a class of failures — typed error taxonomies, retry/backoff/timeout policy, circuit breakers, React/Next error boundaries, and the user-message vs operator-log split. NOT diagnosing one specific crash (that is debug), NOT logs/metrics/traces (that is observability), NOT the wire…

ericrisco/rsc-harness · 78 tokens