
Python Review
- 6 installs
- 9.5k repo stars
- Updated August 4, 2026
- replicate/cog
Helps with python tasks.
About
python-review is a Claude Code skill for python. It helps solo builders move faster with AI-assisted development.
- python-review
- Python
- AI-coding skill
Python Review by the numbers
- 6 all-time installs (skills.sh)
- Ranked #220 of 290 Python skills by installs in the Skillselion catalog
- Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/replicate/cog --skill python-reviewAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 6 |
|---|---|
| repo stars | ★ 9.5k |
| Last updated | August 4, 2026 |
| Repository | replicate/cog ↗ |
What it does
Helps with python tasks.
Files
Python review guidelines
This project uses Python for the SDK (python/cog/) which defines the predictor interface, type system, and HTTP/queue server.
What linters already catch (skip these)
ruff handles pycodestyle (E), Pyflakes (F), isort (I), warnings (W), bandit (S), bugbear (B), and annotations (ANN). Don't flag issues these would catch.
What to look for
Type annotations
- Required on all function signatures
- Use
typing_extensionsfor backward compatibility - Avoid
Anywhere a concrete type is possible - Check that type annotations actually match runtime behavior
Compatibility
- Must support Python 3.10 through 3.13
- Watch for syntax/stdlib features only available in newer versions
from __future__ import annotationsif using newer annotation syntax
Error handling
- No bare
except:orexcept Exception:that swallows everything - Exceptions should have descriptive messages
- Resource cleanup with context managers, not try/finally when avoidable
Async patterns
- Tests use pytest-asyncio -- async tests need proper fixtures
- Watch for blocking calls inside async functions
- Proper cleanup of async resources (aclose, async context managers)
Predictor interface
base_predictor.pyis the core interface -- changes here affect all userstypes.pydefines input/output types -- check backward compatibility- Server code in
python/cog/server/handles HTTP -- watch for request handling bugs
Testing
- Uses pytest with fixtures
- tox runs tests across Python 3.10-3.13
- Test isolation: don't rely on global state or test ordering
Related skills
Pythonbackend