Skip to content
P

python-error-handling

Python error handling patterns including input validation

by wshobsonFree

Launch
#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

P

principle-boundary-discipline

Apply when wiring validation, error handling, or framework adapters

AI Skills
Launch
E

error-handling

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

AI Skills
Launch
A

airflow-dag-patterns

Build production Apache Airflow DAGs

AI Skills
Launch
A

async-python-patterns

Comprehensive guide to asyncio, concurrent patterns

AI Skills
Launch
B

backtesting-frameworks

Robust backtesting systems

AI Skills
Launch
B

before-you-build

Pre-build product and feature risk review for founders, product managers

AI Skills
Launch

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 principle-boundary-discipline, error-handling and airflow-dag-patterns. See all python-error-handling alternatives

Developer Stuff

Badges