# Python Patterns · yandy-r

> Idiomatic Python patterns, PEP 8 conventions, type hints, dataclasses, context managers, decorators, and best practices for building robust, maintainable Python applications. Use when the user is writing new Python code, reviewing Python code, refactoring Python, designing Python packages/modules, asks "how should I structure this in Python", asks about EAFP vs LBYL, asks about type hints/Protocol/TypeVar/TypeAlias, asks about dataclasses/NamedTuple/slots, asks about context managers and with blocks, asks about decorators or functools, asks about asyncio/threading/multiprocessing tradeoffs, or wants Python idioms and anti-patterns.

## Facts
- Page: https://tashan.sh/capability/skill-yandy-r-python-patterns
- tashan id: skill:yandy-r/python-patterns
- Source: https://github.com/yandy-r/claude-plugins
- Type: skill
- Category: other
- tashan score: 42.0 / 100
- Adoption: 17.0
- Upkeep: 61.0
- Freshness: 92.0
- Evidence coverage: 84% of the inputs this score can use
- Health: active
- Instruction depth: not yet graded
- License: MIT
- Official: no

## Install

```sh
cp -r python-patterns ~/.claude/skills/
```

## Security audit
Not scanned. We audit npm-published capabilities; this one has no npm package we can resolve, or has not reached the queue. This is not a clean bill of health.

---
Measured 2026-08-16 by tashan (https://tashan.sh) from public evidence. Scorer s5.
