Validates Python code against strict architectural patterns, Google-style docstrings, and modern idiomatic conventions.
The python-style skill is a deterministic validation agent designed to maintain high-quality Python codebases. Beyond simple linting, it enforces sophisticated architectural standards such as the separation of concerns between service, repository, and API layers. It ensures code follows modern Python 3.9+ idioms, including specific type hint syntax and exception chaining, while mandating Google-style documentation. This skill is ideal for teams who want to automate the enforcement of structural best practices and prevent the propagation of technical debt during the development process.
Características Principales
01Validates modern Python 3.9+ type hint syntax (e.g., str | None, list[str])
02Strictly audits layered architecture boundaries and separation of concerns
03Prevents anti-pattern propagation by flagging new code that copies existing bad practices
04Checks for proper exception chaining using 'raise from' patterns
05Enforces Google-style docstrings with Args, Returns, and Raises sections
0617 GitHub stars
Casos de Uso
01Pre-commit validation of git diffs to catch semantic and idiomatic violations before code review
02Automating architectural reviews to ensure business logic remains isolated from API route handlers
03Standardizing documentation and type hints across large-scale, multi-developer Python projects