Identifies and fixes common Python coding mistakes, architectural flaws, and performance bottlenecks using a comprehensive best-practice checklist.
This skill equips Claude with a specialized knowledge base for identifying and remediating common Python anti-patterns across infrastructure, architecture, error handling, and type safety. It serves as an automated code reviewer that catches sophisticated issues—such as scattered retry logic, exposed ORM models, and blocking calls in asynchronous code—that standard linters often overlook. By applying these standardized checks before finalizing implementations, developers can ensure their Python codebases remain maintainable, secure, and performant.
主要功能
01Identifies architectural leaks including exposed internal types and mixed I/O logic
02Enforces robust error handling by preventing bare exceptions and swallowed failures
03Optimizes resource management via context managers and async-native patterns
040 GitHub stars
05Detects infrastructure flaws like hard-coded configurations and redundant retry logic
06Validates type safety through mandatory type hints and collection parameterization
使用场景
01Performing automated pre-merge code reviews to identify architectural 'bad smells'
02Debugging performance bottlenecks caused by blocking calls in asynchronous event loops
03Refactoring legacy Python codebases to align with modern best practices and type safety