← ClaudeAtlas

py-code-stylelisted

Review Python code style with emphasis on configured tooling, import organization, naming clarity, public API documentation, formatting consistency, and string transformation patterns. Use when reviewing style/lint changes, pyproject lint configuration, docstrings, imports, naming, readability issues, or pluralization logic after correctness findings.
CodeSigils/py-review-skill · ★ 0 · Code & Development · score 62
Install: claude install-skill CodeSigils/py-review-skill
# Python Code-Style Review Use style findings after correctness findings. Defer to the project's configured formatter and linter when they exist. **Freshness:** stable (no external references) — review rules based on core Python conventions, not volatile APIs. ## Review Rules ### Rule: style-defer-to-tooling **Impact:** LOW-MEDIUM **Applies when:** The project has `ruff`, `black`, `isort`, `mypy`, or `pyright` configuration. **Skip when:** No tooling exists and the issue is purely subjective. **Python:** any **Tools:** ruff | mypy | pyright | project-configured **Review signal:** Review feedback contradicts or duplicates configured automated tooling. **Incorrect:** ```python # Reviewer asks for single quotes while pyproject config uses double quotes. name = 'Ada' ``` **Correct:** ```python # Follow configured formatter output. name = "Ada" ``` **Reason:** Style review should reinforce automated tools, not create a parallel subjective standard. ### Rule: style-import-organization **Impact:** LOW-MEDIUM **Applies when:** Imports are added or moved. **Skip when:** The project formatter/linter will auto-fix the issue and CI already enforces it. **Python:** any **Tools:** ruff | project-configured **Review signal:** Standard library, third-party, and local imports are mixed, or relative imports are added without need. **Incorrect:** ```python from myapp.models import User import os import httpx ``` **Correct:** ```python import os import httpx from myapp.models import