autorenew

SKILL DETAIL

Error Handling Design Review

Use it to distinguish expected behavior, propagation, retry conditions, and human handoff across failure modes.

StatusStable
TypeAtomic Skill
DomainSoftware testing
SDLCTest design
Good forQA / SRE / DevOps
LanguageChinese / English
EvalsEvals ✓
Synced2026-09-15

Why this Skill

It turns this Skill's method into a quality input that can be executed, reviewed, and reused.

  • Do not run fault injection or claim a real incident, recovery, SLA, or error rate was verified.
  • Do not treat exception classes, status codes, error-handling code, or document presence as behavior correctness.
  • Each EH-## includes failure mode, trigger, boundary, expected behavior, propagation/translation, retry/fallback, data consistency, observable evidence, owner, and validation.
  • Using one “return an error” response for timeout, dependency, data-conflict, and authorization failures.

When to use

Use this Skill
  • Use it to distinguish expected behavior, propagation, retry conditions, and human handoff across failure modes.
  • Use it to check error messages/status, data consistency, telemetry, recovery, and consumer contracts.
  • Use it when error handling is incomplete and a bounded first pass is needed.
Common pitfalls
  • Using one “return an error” response for timeout, dependency, data-conflict, and authorization failures.
  • Choosing retry counts without checking idempotency, backoff, budget, and duplicate side effects.
  • Treating log presence as proof of recovery visibility or incident resolution.

Input

Minimum Input
  • Read `prompts/error-handling-design-review.md` and audit objective, failure boundaries, version, sources, and evidence.
Recommended Input
  • Project goal
  • Test scope
  • Constraints
Optional Context
  • Relevant code or configuration
  • Historical results
  • Logs and metrics

Output

The output follows this Skill's method and makes facts, assumptions, risks, and next steps explicit.

Judge the output value before installing

  1. 01Read prompts/error-handling-design-review.md and audit objective, failure boundaries, version, sources, and evidence.
  2. 02Classify input as known, missing, conflicting, stale, out_of_scope, and assumptions.
  3. 03Build a failure-mode matrix and retain trigger, boundary, expected behavior, propagation, retry/fallback, and data impact in EH-## findings.
  4. 04Separate facts, evidence-backed inferences, recommendations, and Human decisions; distinguish retryable, non-retryable, human-intervention, and safe-rejection paths.
View full output structure
  1. 05Deliver a bounded first pass and minimum validation actions; one generic error response does not cover every path.

How It Works

  1. 01Read prompts/error-handling-design-review.md and audit objective, failure boundaries, version, sources, and evidence.
  2. 02Classify input as known, missing, conflicting, stale, out_of_scope, and assumptions.
  3. 03Build a failure-mode matrix and retain trigger, boundary, expected behavior, propagation, retry/fallback, and data impact in EH-## findings.
  4. 04Separate facts, evidence-backed inferences, recommendations, and Human decisions; distinguish retryable, non-retryable, human-intervention, and safe-rejection paths.
  5. 05Deliver a bounded first pass and minimum validation actions; one generic error response does not cover every path.

Install & Quick Start

Install command / SHELL
npx skills add \
  https://github.com/naodeng/awesome-qa-skills/tree/main/skills/en/testing-types/error-handling-design-review
  -g
error-handling-design-review.prompt
@skill error-handling-design-review

Using the current project context, produce an actionable result following this Skill.

Additional context:
[Paste project context or requirement]