Backend Python Standards
Enforces professional Python backend standards using uv for package management, pytest for testing, and ruff for code quality.
The source repository doesn't declare a license. Check its terms before reusing the code.
Key features
- Structures testing with `pytest`, including markers for unit and integration tests, and coverage enforcement.
- Integrates `ruff` for code formatting and linting, and `mypy` for strict type checking.
- Provides clear guidance on file organization, import ordering, and modern Python patterns.
- Mandates `uv` for all package management, replacing `pip` for speed and consistency.
- Promotes self-documenting code with concise, one-line docstrings and minimal comments.
Use cases
- Building and maintaining a new Python backend application.
- Setting up a standardized development environment for a team of Python developers.
- Refactoring an existing Python codebase to align with modern standards.
FAQ
How does this skill improve my workflow?
It streamlines your development process by standardizing tools. Using `uv` speeds up dependency management, `pytest` provides a robust testing framework, and `ruff` automates formatting and linting. This leads to faster, more consistent, and reliable code with less manual effort.
What does the Backend Python Standards skill do?
This skill configures Claude to use a professional Python backend toolset. It strictly enforces the use of `uv` for package management, `pytest` for testing, and `ruff`/`mypy` for code quality, ensuring consistent and high-quality code generation.
What key capabilities does this skill provide?
The skill provides strict guidance on package management with `uv`, structured testing with `pytest` (including coverage enforcement), integrated code quality with `ruff` and `mypy`, and clear rules for code style, such as one-line docstrings and self-documenting code.
When should I use this skill?
Apply this skill whenever you are working on a Python backend project with Claude. It's ideal for tasks like installing dependencies, writing unit or integration tests, formatting code, running type checks, or ensuring your project adheres to modern best practices.
Related skills
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.
Developer Tools2912 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