python-dev
Skill by databricks-solutions
Python development rules for AI assistants covering code quality, error handling, pytest testing, and uv-based environment management. It is for developers writing, reviewing, or modifying .py files or Jupyter notebooks.
Install python-dev
Built from the published package, never by AI.
git clone --depth 1 https://github.com/databricks-solutions/ai-dev-kit /tmp/ai-dev-kit && mkdir -p ~/.claude/skills && cp -r /tmp/ai-dev-kit/.claude/skills/python-dev ~/.claude/skills/python-devRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/databricks-solutions/ai-dev-kit /tmp/ai-dev-kit && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/ai-dev-kit/.claude/skills/python-dev ~/.gemini/antigravity-cli/skills/python-devAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill gives an AI assistant a set of Python development rules. It applies when the assistant writes, reviews, or changes Python code (.py files) or Jupyter notebooks (.ipynb files). The rules cover code style, such as type hints, snake_case naming, Google-style docstrings, and small functions. They also cover error handling with specific exception types and early input validation, and efficiency patterns such as f-strings and context managers.
The skill requires pytest for all tests, placed in a ./tests/ directory, and asks for tests on all new or modified code. It directs the assistant to use uv for packaging, environments, and script runs, with dependencies in pyproject.toml. Ruff handles linting and formatting, and Pyright handles type checking. The skill is written for Python developers who want an AI assistant to follow these conventions.
Written from the project's SKILL.md and checked against it.
What it can do
- Code quality standardsApplies DRY, composition over inheritance, pure functions, and simple solutions.
- Style and documentationRequires type hints, snake_case names, and Google-style docstrings on functions and classes.
- Error handlingAsks for specific exception types, early input validation, and no bare except.
- Efficiency patternsRecommends f-strings, comprehensions, and with statements for resource management.
- Testing with pytestRequires pytest only, tests in ./tests/, and TDD for new or modified code.
- Environment management with uvDirects use of uv for dependencies, environments, and running scripts and tools.
- Linting and formatting with RuffUses Ruff to lint and format code in place of flake8, black, and isort.
- Type checking with PyrightUses Pyright for type checks and says not to use mypy.
What you need
- uv
- Python
- pytest
- Ruff
- Pyright
Try asking
- Write a Python function that validates and totals a list of prices, with pytest tests.
- Review this .py file for error handling and type hints.
- Set up this project with uv and add requests as a dependency.
Good to know
- Does not allow pip, venv, or conda for environment setup.
- Requires pyproject.toml instead of requirements.txt for dependencies.
- Says to use Pyright for type checking and not mypy.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/python-dev/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB
Alternatives to python-dev
All alternatives →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.
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.
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.
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.
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.
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.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
python-dev: common questions
Does this skill work with Jupyter notebooks?
Yes. The skill description says it applies when working with Jupyter notebooks (.ipynb files) as well as .py files.
Which testing framework does it require?
It requires pytest exclusively and says not to use unittest. Tests go in a ./tests/ directory with an __init__.py file.
Which tools does it use for linting and type checking?
It uses Ruff for linting and formatting and Pyright for type checking. The source says not to use mypy.
How do I install python-dev?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is python-dev free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is python-dev safe to use?
It scores 78 of 100. Grades: maintenance A, licence F, 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-dev?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
