Skip to content
P

python-error-handling

Python error handling patterns including input validation

by wshobsonFree

#1804in AI Skills
0In stores

Description

python-error-handling is an agent skill from the wshobson/agents collection for building robust Python applications that validate their inpu…

Highlights

  • Fail-fast input validation
  • Exception hierarchies
  • Partial failure handling in batch work
  • Converting external data to domain types
  • User-friendly error messages
  • Installs with the skills CLI

Ratings & Reviews

No ratings yet

Be the first to rate python-error-handling.

People also visit

E

error-handling

Patterns for robust error handling across TypeScript, Python, and Go

AI Skills
Get
H

handling-failures

Writing or touching any error path, catch block, fallback, default value, retry

AI Skills
Get
P

python-resilience

Python resilience patterns including automatic retries, exponential backoff

AI Skills
Get
P

python-patterns

Pythonic idioms, PEP 8 standards, type hints

AI Skills
Get
M

m06-error-handling

CRITICAL: Use for error handling

AI Skills
Get
P

python-patterns

Python development principles and decision-making

AI Skills
Get

python-error-handling FAQ

What does fail fast mean?

Validating inputs early, before expensive operations, and reporting problems as soon as they are found.

Does it cover batch operations?

Yes. It covers handling partial failures, where some items in a batch succeed and others do not.

What is an exception hierarchy?

A set of exception classes that lets an application tell its own errors apart, which the skill covers as a design pattern.

Does it help with external data?

Yes. It covers converting external data to domain types so bad input is caught at the boundary.

How do I install it?

Run npx skills add https://github.com/wshobson/agents --skill python-error-handling.

What security audits does it have?

skills.sh lists three audits: Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.

What are the best python-error-handling alternatives?

Popular alternatives to python-error-handling include error-handling, handling-failures and python-resilience. See all python-error-handling alternatives

Developer Stuff

Badges