What problem does it solve?
This Skill addresses the challenges of maintaining consistent Python coding standards, adhering to best practices, and managing dependencies for quick scripts without polluting your environment. It automates the enforcement of style guides and simplifies script execution.
Core Features & Use Cases
- Coding Conventions: Provides guidance on personal coding conventions for writing, reviewing, and refactoring Python code.
- Best Practices: Ensures adherence to established Python best practices for robust and maintainable code.
- Dependency Management: Facilitates running Python scripts with temporary, isolated dependencies using
uv run, eliminating the need for virtual environments for one-off tasks.
- Use Case: Automatically review an attached Python script to ensure it conforms to defined style guidelines, or execute a data processing script with specific versions of
pandas and numpy without affecting your global Python setup.
Quick Start
Review the attached Python script 'data_analysis.py' for style and best practices, suggesting improvements based on the 'python-style' skill.