Skip to content
Agentmart
Submit a tool

python-review

Python review rules (types, SQL, async, tests, errors, security).

Skill by vancourse

IndexedMIT★ 1
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/vancourse-python-review

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Python review rules (types, SQL, async, tests, errors, security). Load the rule file for the task at hand.

Use cases: backend, security, productivity

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/python-review

What's inside

Skill name
python-review
Description
Python review rules (types, SQL, async, tests, errors, security). Load the rule file for the task at hand.
License
MIT
Instructions
41 lines in SKILL.md · view on GitHub

Files (12)

  • SKILL.md
  • ai-code-smells.md · rules/
  • api-design.md · rules/
  • architecture.md · rules/
  • async-concurrency.md · rules/
  • code-hygiene.md · rules/
  • db-and-sql.md · rules/
  • error-handling.md · rules/
  • logging-observability.md · rules/
  • security.md · rules/
  • testing.md · rules/
  • types-and-models.md · rules/

SKILL.md (first lines)

# Python Review Rules

Generic, cross-project Python rules. Read only the rule file(s) matching
the current task — do not load all of them.

## Routing table

| Task touches...                                                              | Read                                        |
| ---------------------------------------------------------------------------- | ------------------------------------------- |
| Class/module layering, SOLID, GoF patterns, service-class signal             | `rules/architecture.md`                     |
| Pydantic models, dataclasses, typing, generics, state transitions            | `rules/types-and-models.md`                 |
| SQL queries, ORM, N+1, pagination, caching, connection pools, idempotency    | `rules/db-and-sql.md`                       |
| **Postgres-internal** topics (schema design, indexing, migrations, transactions + locking, observability) | invoke **`rails:postgres-review`** |
| **Multi-tenant isolation** (Postgres RLS, schema-per-tenant, DB-per-tenant, app-layer filtering, tenant-context propagation) | invoke **`rails:multi-tenancy`** |
| asyncio tasks, locks, timeouts, sync-in-async, SSE streaming                 | `rules/async-concurrency.md`                |
| **Test methodology** (8-layer model, mocking policy, PRD↔mirror, scenarios-first, CI tiering, isolation, 18 rules) | invoke **`rails:test-strategy`** |
| Python testing tooling (pytest stubs vs MagicMock, async fixture typing, .model_dump test data, transaction-rollback fixture, pytest-xdist) | `rules/testing.md`                          |
| Exception specificity, fail-fast, silent data loss, `assert` in production   | `rules/error-handling.md`                   |
| `structlog`, log levels, PII redaction, error IDs, docstring contracts       | `rules/logging-observability.md`            |
| **PR-time security audit** (secrets / authn+authz / input validation + output encoding / dep vuln + supply chain / audit log) | invoke **`rails:security-review`** |
| **Design-phase threat modeling** (STRIDE against feature attack surface) | invoke **`rails:threat-model`** |
| Python security tooling (secrets in `os.environ`, Pydantic boundary, parameterized SQL, filename sanitization, path-traversal, LLM delimitation, parsing bounds) | `rules/security.md`                         |
| FastAPI routes, request validation, partial success, pagination envelopes    | `rules/api-design.md`                       |
| Imports, layer placement, dead code, docstring drift, dependency management  | `rules/code-hygiene.md`                     |
| AI-assisted code (`getattr`/`hasattr`/`isinstance` speculation, SDK guards)  | `rules/ai-code-smells.md`                   |

For PR sizing, the blocker-artifact protocol, and review-reply discipline, see the top-level `pr-discipline` skill — it covers all languages, and its companion [`rules/responding-to-review.md`](../../rules/responding-to-review.md) holds the canonical review-comment protocol.

## When multiple topics apply

Pick the dominant one. Don't load everything. If a rule lives in two
topics, the dominant file owns it and others cross-reference by name.

## Project-specific overlays

Project-specific rules (layering conventions, package bans, internal API
names, canonical wrapper tables) live in each repo's own
`.claude/my-guidelines/python-review.md`. Load that IN ADDITION when
working in that project.

From vancourse/apex, MIT.

Signals

Stars
1
Forks
1
Open issues
9
Last commit (this folder)
Oct 6, 2026 (23 days ago)
Last release
Aug 13, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from vancourse

Cite this page

python-review skill. Agent Mart. https://agentmart.dev/skills/vancourse-python-review (last updated 2026-10-24)