python-review

Identify and report Python code quality and security issues in modified .py files.

24|5|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/Luohaothu/everything-codex --skill python-review-luohaothu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-review
Source: https://github.com/Luohaothu/everything-codex/tree/main/skills/python-review
Command: npx skills add https://github.com/Luohaothu/everything-codex --skill python-review-luohaothu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Python teams often struggle to enforce coding standards, catch security and performance issues, and produce maintainable Python code during reviews, leading to defects and delays.

Core Features & Use Cases

  • PEP 8 Compliance: automatically flag style violations and suggest fixes.
  • Pythonic Idioms & Type Hints: promote idiomatic usage and strong typing.
  • Security & Performance: identify common vulnerabilities and performance anti-patterns.
  • Use Case: during PR reviews, automatically surface critical issues and recommended refactors for Python modules.

Quick Start

Run the review on the modified Python files to generate a prioritized list of fixes and improvements.

Frequently Asked Questions about python-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check modified Python files for PEP 8 compliance and security issues?

Static analysis checks modified Python files for PEP 8 violations and security issues using tools like Ruff, Mypy, and Black to flag anti-patterns and report actionable fixes with clear severity levels.

What is the best way to enforce Python type hints and Pythonic idioms in code reviews?

Automated static analysis enforces Python type hints and Pythonic idioms by evaluating modified .py files to promote strong typing and generate a prioritized list of recommended refactors.

Does this Python code review process identify performance anti-patterns?

Yes, static analysis identifies performance anti-patterns alongside common security vulnerabilities by running targeted reviews on typical code changes to help teams produce maintainable modules and prevent defects.

Can I use Ruff and Mypy to automatically surface issues in a Python PR review?

Yes, Ruff and Mypy enforce checks for style violations, type hints, and security concerns during PR reviews, providing a prioritized list of fixes and improvements for modified Python modules.

Why does my Python static analysis fail to catch maintainability and security defects during reviews?

Python static analysis may fail to catch maintainability and security defects if it lacks targeted reviews for Pythonic idioms and common vulnerabilities; integrating comprehensive checks resolves these review delays.