python-reviewer-2

Review Python code for idiomatic style, MyPy typing, Bandit security, and Ruff linting.

Updated Mar 1, 2026
One-click install
npx skills add https://github.com/artsmc/codex-agentic --skill python-reviewer-2
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-reviewer-2
Source: https://github.com/artsmc/codex-agentic/tree/main/skills/python-reviewer-2
Command: npx skills add https://github.com/artsmc/codex-agentic --skill python-reviewer-2

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Elite code review expert for Python. Focuses on Pythonic idioms, strict typing (MyPy), security (Bandit), and modern linting (Ruff).. Use when Codex needs this specialist perspective or review style.

Core Features & Use Cases

  • Enforces Pythonic idioms and clean coding standards
  • Verifies type safety with MyPy and static analysis hints
  • Performs security-focused checks using Bandit and best practices

Quick Start

Provide a Python code sample and request a thorough review for idioms, typing, and security.

Frequently Asked Questions about python-reviewer-2

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

FAQPage Schema
How do I review Python code for security vulnerabilities and typing issues?

Reviewing Python code for security and typing involves enforcing MyPy static analysis, Bandit security checks, and Ruff linting to identify vulnerabilities, verify type safety, and enforce Pythonic idioms.

What is the best way to check if my Python scripts follow clean coding standards?

Checking Python scripts for clean coding standards requires applying Ruff linting and idiomatic Python rules to evaluate code structure, ensuring readability and compliance with modern Python conventions.

Can I use static analysis to plan refactoring for Python data pipelines?

Static analysis can plan refactoring for Python data pipelines by evaluating type safety with MyPy and detecting security flaws with Bandit, providing actionable feedback for code improvements.

Does this Python code review approach work for both libraries and standalone scripts?

Python code review applying MyPy typing, Bandit security checks, and Ruff linting works across libraries, standalone scripts, and data pipelines to improve overall code quality and secure coding practices.

Why does my Python code fail type safety checks during static analysis?

Python code fails type safety checks during static analysis when MyPy detects type inconsistencies, missing type hints, or insecure coding patterns that violate strict typing and Bandit security rules.