Skip to main content
skill CX Codex

python-development · sammcj — Claude Code skill: Python and installation

The python-development skill sets Python coding rules for Claude Code, covering environments, typing, paths, and script dependencies. Use it on Python projects.

Apache-2.0 ★ 173 updated 2026-10-24

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add sammcj/agentic-coding --skill python-development -a claude-code
Open on GitHub

What python-development does

The skill gives Claude Code a set of conventions for Python work. It favours Python 3.14+ features, uses uv to manage .venv, and runs type checks with uvx ty check. Functions should carry type hints; data structures use dataclasses, paths use pathlib, and formatted strings use f-strings.

For small standalone scripts with a few dependencies, the skill uses PEP 723 metadata in a TOML block enclosed by # /// markers. The example declares beautifulsoup4. The concrete constraint is Python 3.14+ with uv handling the virtual environment, so those choices need to fit the project.

What it helps with

  • set conventions for a Python project
  • run type checks with uvx ty check
  • model data with dataclasses
  • replace os.path with pathlib
  • declare script dependencies with PEP 723

Example prompts for the agent

  • Apply the skill’s Python rules to this project and use Python 3.14+ features where appropriate.
  • Run uvx ty check on the project and fix the type errors it reports.
  • Add the script dependencies to a PEP 723 block inside the standalone file.

How to install python-development

1Skills CLI (Vercel)

npx skills add sammcj/agentic-coding --skill python-development -a claude-code

2Manually: put the files in place

~/.claude/skills/python-development/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/python-development/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about python-development

How do I install python-development in Claude Code?

Run npx skills add sammcj/agentic-coding --skill python-development -a claude-code. The skill file will be available at ~/.claude/skills/python-development/SKILL.md.

What does python-development do?

It sets Python conventions for Claude Code, including Python 3.14+, uv, uvx ty check, function type hints, dataclasses, pathlib, and f-strings. It also describes PEP 723 dependency blocks for standalone scripts.

What does python-development require?

The skill uses uv for virtual-environment management and uvx ty check for type checking. Its guidance favours Python 3.14+ features.

Source text

SKILL.md · Apache-2.0
---
name: python-development
description: You MUST activate this skill when working on Python projects
---

# Python

- Favour Python 3.14+ features. Use `uv` for .venv management. Use `uvx ty check` for type checking
- Type hints for all functions. Dataclasses for data structures. Pathlib over os.path. f-strings
- For standalone scripts that have a few dependencies, use PEP 723 to declare dependencies in a TOML block inside `# ///` markers (e.g. `# /// script\n# dependencies = [\n#   "beautifulsoup4",\n# ]\n# ///`)

© sammcj · Apache-2.0 · sammcj/agentic-coding

Similar skills

All skills for Programming languages →

python-development by other authors comes first.

python-development laurigates python-development gives your agent Python 3.10+ idioms: type hints, pattern matching, asyncio. Handy for library code and refactors. CX Codex +1 192installs python-code-quality laurigates python-code-quality — a skill for Claude Code and Codex that coordinates the Python quality stack. It triggers on queries about linting, formatting, code style, or type checking with ruff and ty. CX Codex +1 1,100installs python-uv Mindrally python-uv makes the agent manage Python packages through uv only, no pip or poetry. Useful when the project already runs on uv or when environments keep drifting apart. CX Codex +1 1,000installs python-pro davila7 python-pro — a Claude Code skill that puts the agent into expert mode for modern Python. It covers 3.12+ features, async work, profiling, and the current tooling stack. CX Codex +1 399installs modern-python trailofbits modern-python configures Python projects with a modern tooling stack: uv for dependency management, ruff for linting and formatting, ty for type checking. Use when starting new projects, writing scripts, or migrating from legacy tools. CX Codex +1 9,700installs setup-python-env reflex-dev setup-python-env is a Claude Code skill that creates a Python virtual environment and installs Reflex when starting a project or when the agent finds no .venv directory. CX Codex +1 794installs python-tdd-with-uv spencerpauly python-tdd-with-uv — a skill for Claude Code, Codex, Cursor and other agents that enforces test-first Python development using uv for dependency management. Every cycle: one failing test, the minimum code to pass it, then refactor. CX Codex +1 449installs

From the same set73

The whole set →
writing-documentation-with-diataxis writing-documentation-with-diataxis — a skill that sorts technical documentation into the four Diataxis types and helps you write or review each one. CX Codex +1 648installs creating-development-plans The creating-development-plans skill drafts a phased development plan with task breakdowns, requirements, and QA checklists. It helps set clear checkpoints before writing code. CX Codex +1 338installs typescript-development typescript-development — a skill that enforces strict TypeScript conventions in Claude Code, applying type safety rules and best practices automatically for TypeScript and JavaScript projects. CX Codex +1 ★ 173repo stars rust-development rust-development instructs Claude Code to follow Rust best practices by organizing crates into workspaces, trimming public generics, and cutting build times. CX Codex +1 ★ 173repo stars deeper Rewrites your prompt so the task gets deeper rather than longer. It adds the methods a specialist would use and a way to check the result. CX Codex +1 ★ 173repo stars golang-development golang-development configures build flags, modernize checks, and idiomatic Go practices in Claude Code. Helpful when writing services or tests in Go. CX Codex +1 ★ 173repo stars edit-article edit-article restructures draft articles around heading dependencies and rewrites each section into short paragraphs under 240 characters. CX Codex +1 ★ 173repo stars llm-prompting-guide llm-prompting-guide is a Claude Code skill with prompt format rules for MiniMax H3 and MiniMax Music 3. Consult it when drafting prompts for these models in ComfyUI or other tools. CX Codex +1 ★ 173repo stars

Project sponsors

Companies that keep this analytics open