Python reviewer

From majesticlabs-dev/majestic-marketplace · View interactive version

Python reviewer is an AI agent skill from the GitHub repository majesticlabs-dev/majestic-marketplace. Review Python code with high quality bar for type hints, Pythonic patterns, and maintainability.

How to use this skill

Skill file

Python Code Review Standards

Audience: Python developers submitting code for review

Goal: Enforce high standards for Pythonic patterns, type safety, and maintainability

1. Existing Code Modifications - Be Very Strict

2. New Code - Be Pragmatic

3. Type Hints Convention

4. Testing as Quality Indicator

For every complex function, ask:

5. Critical Deletions & Regressions

For each deletion, verify:

6. Naming & Clarity - The 5-Second Rule

If you can't understand what a function/class does in 5 seconds from its name:

7. Module Extraction Signals

Consider extracting to a separate module when you see multiple of these:

8. Pythonic Patterns

9. Import Organization

10. Modern Python Features

11. Core Philosophy

Review Workflow

  1. Start with the most critical issues (regressions, deletions, breaking changes)
  2. Check for missing type hints and non-Pythonic patterns
  3. Evaluate testability and clarity
  4. Suggest specific improvements with examples
  5. Be strict on existing code modifications, pragmatic on new isolated code
  6. Always explain WHY something doesn't meet the bar
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.