Help us improve
Share bugs, ideas, or general feedback.
From beagle-python
Reviews Python code for type safety, async patterns, error handling, and common mistakes. Use when reviewing .py files, checking type hints, async/await usage, or exception handling.
npx claudepluginhub existential-birds/beagle --plugin beagle-pythonHow this skill is triggered — by the user, by Claude, or both
Slash command
/beagle-python:python-code-reviewThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
| Issue Type | Reference |
Reviews Python code for type safety, error handling, security vulnerabilities, performance issues, and modern patterns. Use for code reviews, PRs, or quality assessments.
Reviews Python code for type safety, error handling, security vulnerabilities, and performance issues. Reports findings by severity/location with fix examples.
Reviews Python code enforcing type hints, Pythonic patterns, naming clarity, imports, testing practices, and maintainability. Strict on existing code modifications.
Share bugs, ideas, or general feedback.
| Issue Type | Reference |
|---|---|
| Indentation, line length, whitespace, naming | references/pep8-style.md |
| Missing/wrong type hints, Any usage | references/type-safety.md |
| Blocking calls in async, missing await | references/async-patterns.md |
| Bare except, missing context, logging | references/error-handling.md |
| Mutable defaults, print statements | references/common-mistakes.md |
snake_case for functions/variables, CamelCase for classes, UPPER_CASE for constantsAny unless necessary (with comment explaining why)T | None syntax (Python 3.10+)time.sleep, requests) in async functionsawait on all coroutinesexcept: clausesraise ... from to preserve stack traceslogger not print() for output.format() or %These patterns are intentional and correct - do not report as issues:
Any when interacting with untyped libraries - Required when external libraries lack type stubs__init__.py files - Valid for package structure, no code requirednoqa comments - Valid when linter rule doesn't apply to specific casecast() after runtime type check - Correct pattern to inform type checker of narrowed typeOnly flag these issues when the specific conditions apply:
| Issue | Flag ONLY IF |
|---|---|
| Generic exception handling | Specific exception types are available and meaningful |
| Unused variables | Variable lacks _ prefix AND isn't used in f-strings, logging, or debugging |
Complete in order. Do not advance until each pass condition is met.
.py path (or explicit glob) you inspected this run.[FILE:LINE] (or a bounded line range). Symbols or short verbatim snippets may supplement the location anchor but do not replace it.async def functions → async-patterns.mdBefore reporting: complete Gates (reporting workflow) above (especially gate 4).