python-code-review

Analyze Python code for type hints, async usage, and error handling issues.

Updated Mar 16, 2026
One-click install
npx skills add https://github.com/Sanali209/BCor --skill python-code-review-sanali209
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-code-review
Source: https://github.com/Sanali209/BCor/tree/main/.agents/skills/python-code-review
Command: npx skills add https://github.com/Sanali209/BCor --skill python-code-review-sanali209

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Solves the problem of catching type-safety gaps, asynchronous misuse, and error-handling issues in Python code during code review, reducing runtime errors and technical debt.

Core Features & Use Cases

  • Type-safety checks: verify type hints are complete and accurate across functions and data structures.
  • Async patterns: detect missing await, blocking I/O in async code, and improper use of async context managers.
  • Error handling quality: flag bare exceptions, lost exception context, and insufficient logging.
  • Use Case: Review and improve a Python module with inconsistent typing and asynchronous flows to improve reliability.

Quick Start

Analyze a Python module by running the review against type hints, async usage, and exception handling to produce actionable feedback.

Frequently Asked Questions about python-code-review

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

FAQPage Schema
How do I check Python code for missing type hints and async errors?

You can review individual modules or entire codebases to surface type-safety gaps, detect missing await keywords, and identify blocking I/O in async patterns.

What is the best way to find bare exceptions and improper error handling in Python?

Finding bare exceptions and improper error handling in Python involves running explicit checks that flag lost exception context and insufficient logging, yielding actionable recommendations to improve robustness.

Can I run a Python code review for async patterns during CI checks?

You can run a Python code review for async patterns during CI checks to detect blocking I/O in async code and improper use of async context managers across your real projects.

How do I enforce type-safety across a Python codebase with inconsistent typing?

To enforce type-safety across a Python codebase with inconsistent typing, verify that type hints are complete and accurate across functions and data structures, generating explicit guidance to fix gaps.

Does Python code review for error handling work on individual modules or entire codebases?

Python code review for error handling works on both individual modules and entire codebases, flagging bare exceptions and lost exception context during development or review to reduce runtime errors.