python-best-practices
Guidelines for Python development focusing on type safety, immutable data structures, and clean module architecture.
Install
npx skills add https://github.com/0xbigboss/claude-code --skill python-best-practicesStats
| Total installs | 885 |
| Weekly installs | 881 |
| GitHub stars | 41 |
| First seen | Jan 20, 2026 |
| Source | @0xbigboss/claude-code |
Summary
- Define data models and function signatures before implementation; use frozen dataclasses, Literal-based discriminated unions, and NewType for domain primitives to prevent invalid states at type-check time
- Leverage Protocol for structural typing, TypedDict for external data shapes, and exhaustive pattern matching with match statements to catch incomplete logic
- Enforce boundary validation, descriptive exception propagation with context, and explicit error handling; avoid swallowed exceptions and silent failures
- Organize code into focused modules under 300 lines, use immutable data structures, and prefer pure functions over mutable class state; optionally use ty for fast incremental type checking
Tags
Related skills
| Skill | Installs | vs python-best-practices |
|---|---|---|
| coding-guidelines | 1,023 | +138 |
| flutter-testing | 1,024 | +139 |
| zod | 972 | +87 |
| flutter-accessibility | 979 | +94 |
| avoid-feature-creep | 914 | +29 |
FAQ
- How many installs does python-best-practices have?
- python-best-practices has 885 total installs and 881 installs this week.
- Where is python-best-practices hosted?
- python-best-practices is published by @0xbigboss/claude-code at https://github.com/0xbigboss/claude-code.
- How many GitHub stars does python-best-practices have?
- python-best-practices has 41 GitHub stars.
- When was python-best-practices first indexed?
- OrangeBot.AI first indexed python-best-practices on Jan 20, 2026.
- How do I install python-best-practices?
- Run: npx skills add https://github.com/0xbigboss/claude-code --skill python-best-practices