What problem does it solve?
This Skill ensures consistent, high-quality code across Python and JavaScript projects by enforcing best practices, preferred libraries, and efficient coding patterns. It reduces technical debt, improves maintainability, and accelerates development by standardizing code style.
Core Features & Use Cases
- Language-Specific Guidelines: Provides detailed style guides and library recommendations for both Python and JavaScript, including
uv run for Python and modern browser APIs for JS.
- Efficiency & Readability: Emphasizes short, readable, and performant code with principles like early returns, DRY (Don't Repeat Yourself), and YAGNI (You Aren't Gonna Need It).
- Testing & Debugging: Guides on writing fast tests (e.g.,
pytest, vitest) and debugging front-end applications with Playwright.
- Use Case: Automatically refactor a Python script to use
httpx instead of requests and add type hints, ensuring it adheres to the team's coding standards and is ready for production deployment.
Quick Start
Refactor the attached Python script 'data_processor.py' to follow the recommended Python style, using uv run and httpx.