Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

python-review

Skill by replicate

Provides Python code review guidelines for the Cog SDK, covering type annotations, compatibility, error handling, async code and predictor interface changes. Intended for reviewers working on the Cog SDK in python/cog/.

  • Score 81
  • 9.5k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install python-review

Built from the published package, never by AI.

git clone --depth 1 https://github.com/replicate/cog /tmp/cog && mkdir -p ~/.claude/skills && cp -r /tmp/cog/.opencode/skills/python-review ~/.claude/skills/python-review

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install python-review in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

python-review is an agent skill published by replicate that gives review guidelines for Python code in the Cog SDK. The source says the SDK lives in python/cog/ and defines the predictor interface, type system, and HTTP/queue server. The guidelines cover type annotations, Python 3.10 to 3.13 compatibility, error handling, async patterns, predictor interface changes, and testing with pytest and tox.

The skill tells the assistant to skip issues that ruff already catches, such as pycodestyle, Pyflakes, isort, bandit, bugbear and annotation checks. It asks reviewers to confirm that changes to base_predictor.py and types.py stay backward compatible, and to watch for blocking calls inside async functions. It is aimed at reviewers working on the Cog SDK codebase.

Written from the project's SKILL.md and checked against it.

What it can do

  • Type annotation checksChecks that function signatures are annotated and that annotations match runtime behavior.
  • Compatibility checksFlags syntax or stdlib features that need newer Python versions than 3.10.
  • Error handling checksFlags bare except clauses and exceptions without descriptive messages.
  • Async pattern checksLooks for blocking calls in async functions and proper cleanup of async resources.
  • Predictor interface reviewChecks changes to base_predictor.py and types.py for backward compatibility.
  • Server code reviewWatches for request handling bugs in the server code under python/cog/server/.
  • Testing guidanceCovers pytest fixtures, tox runs across Python 3.10 to 3.13, and test isolation.

What you need

  • Python 3.10 to 3.13

Try asking

  • Review this Cog SDK change for backward compatibility in base_predictor.py
  • Check this async function in the Cog server for blocking calls
  • Review my pytest fixtures for global state or ordering issues

Good to know

  • Skips issues that ruff already catches, such as style and import order

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .opencode/skills/python-review/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md2 KB

Alternatives to python-review

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

python-review: common questions

What does python-review check in Cog SDK code?

It checks type annotations, Python 3.10 to 3.13 compatibility, error handling, async patterns, predictor interface changes and tests. The source lists these as review areas.

Does python-review replace ruff?

No. The source says ruff already handles pycodestyle, Pyflakes, isort, warnings, bandit, bugbear and annotations, so the skill skips those.

Which Python versions does the Cog SDK support according to this skill?

The guidelines say the SDK must support Python 3.10 through 3.13, and tox runs tests across that range.

How do I install python-review?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is python-review free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is python-review safe to use?

It scores 81 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to python-review?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

python-review Install

Add to stack

Loading.