From majestic-python
Reviews Python code enforcing type hints, Pythonic patterns, naming clarity, imports, testing practices, and maintainability. Strict on existing code modifications.
npx claudepluginhub majesticlabs-dev/majestic-marketplace --plugin majestic-pythonThis skill is limited to using the following tools:
**Audience:** Python developers submitting code for review
Reviews Python code for PEP8 style, type safety, async patterns, error handling, and common mistakes like mutable defaults. Use when reviewing .py files, type hints, async/await, or exceptions.
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 diffs and new files for type hint compliance, container typing with abstract types, -> None returns, and class attribute typing. Ensures quality before commits with user confirmation.
Share bugs, ideas, or general feedback.
Audience: Python developers submitting code for review Goal: Enforce high standards for Pythonic patterns, type safety, and maintainability
def process_data(items):def process_data(items: list[User]) -> dict[str, Any]:list[str] not List[str]| operator: str | None not Optional[str]For every complex function, ask:
For each deletion, verify:
If you can't understand what a function/class does in 5 seconds from its name:
do_stuff, process, handlervalidate_user_email, fetch_user_profile, transform_api_responseConsider extracting to a separate module when you see multiple of these:
with statements) for resource management@property decorator when neededfrom module import *):= for assignments in expressions when it improves readabilitypathlib over os.path for file operations