reviewing-python

Enforce adversarial Python code review that rejects mocking and generates a formal report.

1|Updated Jan 6, 2026
One-click install
npx skills add https://github.com/simonheimlicher/spx-claude --skill reviewing-python
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: reviewing-python
Source: https://github.com/simonheimlicher/spx-claude/tree/main/plugins/python/skills/reviewing-python
Command: npx skills add https://github.com/simonheimlicher/spx-claude --skill reviewing-python

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enforces adversarial review of Python code, rejecting mocking and ensuring code is merge-ready and standards-compliant.

Core Features & Use Cases

  • Zero-mocking enforcement: Validates tests rely on dependency injection and avoid patching external behavior.
  • ADR-aligned review flow: Verifies ADRs are respected, testing levels align with the project's strategy, and architecture decisions are adhered to.
  • Verification & reporting: Produces a structured review report capturing findings and recommended actions.

Quick Start

  1. Prepare your Python project with tests and ADRs in place.
  2. Run the reviewing-python skill on the project root to start the review.
  3. Review the generated report and address any blocking issues before merging.

Frequently Asked Questions about reviewing-python

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

FAQPage Schema
How do I enforce zero mocking in Python code reviews?

Zero mocking in Python code reviews is enforced by validating that tests use dependency injection instead of patching external behavior. This skill applies adversarial review to reject mocking, ensuring code is merge-ready and standards-compliant.

What is adversarial Python code review?

Adversarial Python code review is a strict process that rejects mocking and verifies ADR compliance. It assesses testing levels, architecture decisions, and security considerations to ensure code adheres to project standards before merging.

How do I integrate static analysis tools with Python ADR compliance checks?

Integrating static analysis with ADR compliance checks involves applying tools like Mypy, Ruff, and Semgrep during the review. This skill verifies architecture decisions and dependency-injection requirements across the Python project.

Does this Python review skill work with Mypy, Ruff, and Semgrep?

Yes, this Python review skill works with Mypy, Ruff, and Semgrep for static-analysis integration. It incorporates these tools to check dependency-injection requirements and verify ADR compliance during the code review workflow.

How do I generate a formal report for Python PR checks?

Generating a formal report for Python PR checks involves running an adversarial review on the project root. This skill produces a structured review report capturing findings and recommended actions to address blocking issues before merging.

When should I use dependency injection instead of mocking in Python tests?

Dependency injection should be used instead of mocking in Python tests when adhering to zero-mocking enforcement and ADR compliance. This skill verifies that testing levels align with the project strategy and reject patching external behavior.