python-review
Skill4 starsChanged 3 months agoMITView on GitHub
Python code review specialized for AI/MLOps/agent codebases — typing (pyright), async correctness, agent-loop invariants, ML reproducibility, model serialization safety. Triggered by "review Python", "review this agent code", "review the training pipeline", or /python-review
We split this skill into the rules it gives an agent
3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 38
When invoked by the pr-review dispatcher, read references/python-review-checklist.md, review ONLY the changed lines in the PR diff, and …
- Distinctive: line 57
Don't flag style that black/ruff already handle.
- Distinctive: line 58
Don't demand type annotations on private helpers in an untyped codebase — type the public boundaries first.
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Python Review
Systematic Python review for AI/MLOps/agent codebases. Flags correctness, typing, async, agent-loop, and reproducibility issues — not style that formatters own.
Process
- Static analysis (run only the tools the project already configures; never
install anything into the project):
pyrighton changed files when the project uses it (ormypyif that is the project's checker — checkpyproject.toml/mypy.ini/setup.cfg).ruff checkon changed files when the project configures ruff.
- Walk checklist (see
references/python-review-checklist.md):- Core correctness & typing, async correctness, agent-building invariants, ML reproducibility & serialization safety, packaging & environment.
- Report findings:
file:linefor each issue- Category: correctness / security / reproducibility / performance
- Severity: must-fix / should-fix / consider
- Suggested fix (code snippet)
Dispatched mode (pr-review integration)
When invoked by the pr-review dispatcher, read
references/python-review-checklist.md, review ONLY the changed lines in the PR
diff, and return a findings list. Each finding has:
file— repo-relative pathline— NEW-file / RIGHT-side line numberdescription— 1–2 sentencescategory— correctness / security / reproducibility / performanceseverity— must-fix / should-fix / considerreason— which checklist item flagged it
Take no external actions in dispatched mode — findings are returned as data.
Scope
Changed files only unless explicitly asked for a full-package review.
Gotchas
- Don't flag style that black/ruff already handle.
- Don't demand type annotations on private helpers in an untyped codebase — type the public boundaries first.
- Respect the project's framework choices; review within them, don't rewrite.
- Guard every static-analysis command: run it only if the repo configures it.
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 8
- kingsidharth/skills★ 17same name
- jscott3201/yet-more-skills★ 4same name
- PatriotAgenticLLC/better_claude_skillz★ 3same name
- apinto25/claude-code-agents-skills★ 2same name
- BaratovSokhibjon/skills★ 1same name
- TheKREATORS/my-claude-skills★ 1same name
- tslateman/skills★ 1same name
- weiweimhy/agent-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Used alongsideProjects with it also use typescript-review and rust-review.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
weiweimhySkilltypescript-review
TypeScript code review guidance for type safety, generics, narrowing, public API types, runtime validation alignment, async flow, TSX, and strict tsconfig. Use when reviewing .ts or .tsx files, Node/React/Vue TypeScript, or complex types.
Also in 4 projects that use this
CloudflareSkillrust-review
Rust code review for workerd. Covers CXX FFI safety, unsafe code patterns, JSG resource conventions, error handling, and a review checklist adapted from the C++ review skills. Load this skill when reviewing Rust code in src/rust/.
Also in 3 projects that use this
In this repository48 other files it gives its agents.
- .claude/templates/AGENTS.mdAGENTS.md
- docs/agents.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- .cursor/rules/core.mdcCursor rule
- .cursor/rules/go.mdcCursor rule
- .cursor/rules/k8s.mdcCursor rule
- .cursor/rules/node.mdcCursor rule
- .cursor/rules/python.mdcCursor rule
- .cursor/rules/rust.mdcCursor rule
- .cursor/rules/tdd.mdcCursor rule
- .cursor/rules/workbench.mdcCursor rule
- llms-full.txtllms.txt
- llms.txtllms.txt
- cmux-sprint-orchestratorSkill
- config-auditSkill
- doneSkill
- eurekaSkill
- goalSkill
- go-reviewSkill
- handoffSkill
- js-reviewSkill
- k8s-debugSkill
- k8s-reviewSkill
- kickoffSkill
- pr-review-ingestSkill
- pr-reviewSkill
- reflectionSkill
- skill-evalSkill
- tdd-protocolSkill
- team-executeSkill
- team-planSkill
- team-shutdownSkill
- test-reviewSkill
- validate-recommendationSkill
- worktree-guideSkill
- babysitSkill
- canvasSkill
- create-hookSkill
- create-ruleSkill
- create-skillSkill
- create-subagentSkill
- migrate-to-skillsSkill
- sdkSkill
- shellSkill
- split-to-prsSkill
- statuslineSkill
- update-cli-configSkill
- update-cursor-settingsSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

