Dignified Python 3.12 Standards
Enforces high-quality Python 3.12 coding standards, including modern type syntax, robust error handling, and clear API design principles.
The source repository doesn't declare a license. Check its terms before reusing the code.
Key features
- Guidance on modern Python 3.12 type annotation syntax (e.g., list[str])
- Specific patterns for building robust CLI tools with explicit error boundaries
- Best practices for pathlib, ABC-based interfaces, and absolute imports
- Enforcement of LBYL (Look Before You Leap) exception handling patterns
- Production-tested code smell patterns for API design and code organization
Use cases
- Writing new Python features for the erk agentic engineering tool.
- Refactoring existing Python code to meet modern 3.12 standards and best practices.
- Performing a code review to ensure consistency and quality against established project guidelines.
FAQ
How does this skill improve my workflow?
It automates the enforcement of best practices, saving you time during code reviews and ensuring code consistency. It helps Claude generate higher-quality, production-ready code from the start.
What does the Dignified Python 3.12 Standards skill do?
This skill guides Claude to write, review, and refactor Python code according to high-quality, modern 3.12 standards, focusing on clarity, robustness, and maintainability.
What key capabilities does it provide?
It provides expert guidance on modern type syntax (e.g., list[str]), LBYL error handling, pathlib usage, API design principles, and specific patterns for building robust CLI applications.
When should I use this skill?
Use it when developing new Python 3.12 features, refactoring existing code, performing code reviews, or building robust command-line interface (CLI) tools to ensure consistency and quality.
Related skills
Backend Python Standards
Enforces professional Python backend standards using uv for package management, pytest for testing, and ruff for code quality.
Developer Tools21312 ptsDignified Python 3.11 Standards
Writes, reviews, and refactors Python 3.11 code to meet high standards for clarity, robustness, and maintainability.
Developer Tools2912 ptsDignified Python 3.10
Enforces production-tested Python 3.10 coding standards for writing modern, maintainable, and robust applications.
Developer Tools2912 pts