Agent skill

Python Pro

by davila7 in davila7/claude-code-templates

Master Python 3.12+ with modern features, async programming, performance optimization, and production-ready practices.

MITAuto-check passedDevelopment

Install Python Pro

skills CLI
$ npx skills add davila7/claude-code-templates --skill python-pro -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install davila7/claude-code-templates python-pro --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/davila7/claude-code-templates.git skills-src && mkdir -p .claude/skills && cp -r skills-src/cli-tool/components/skills/development/python-pro .claude/skills/python-pro && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
python-pro
GitHub stars
32k
Used in
7 other repos
Token cost
~1.8k tokens
SKILL.md length
843 words
Files
1
Skills in repo
477
Repo updated
First seen
Licence
MIT

At a glance

Master Python 3.12+ with modern features, async programming, performance optimization, and production-ready practices.

  • Works in 4 steps: Confirm runtime, dependencies, and… → Choose patterns (async, typing, tooling)… → Implement and test with modern tooling. → …
  • Tasks that involve Linting and formatting
  • SKILL.md covers Use this skill when, Do not use this skill when, Instructions and Purpose, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Python Pro is an agent skill from davila7/claude-code-templates. Master Python 3.12+ with modern features, async programming, performance optimization, and production-ready practices. Expert in the latest Python ecosystem including uv, ruff, pydantic, and FastAPI.

Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Linting and formatting, Performance optimization and Async programming. It works with Python, Ruff, Pydantic and FastAPI. The repository describes itself as: CLI tool for configuring and monitoring Claude Code. The licence is MIT.

When your agent uses it

  • Tasks that involve Linting and formatting
  • Tasks that involve Performance optimization
  • Tasks that involve Async programming

Example prompts

  • “/python-pro”

Requirements

  • Python 3
  • Docker

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Confirm runtime, dependencies, and performance targets.
  2. Choose patterns (async, typing, tooling) that match requirements.
  3. Implement and test with modern tooling.
  4. Profile and tune for latency, memory, and correctness.

What it can do on your machine

Read from SKILL.md and the folder at commit 4c82aba. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Python Pro loads about 1.8k tokens when it runs. Until then it costs about 53 tokens; SKILL.md has 843 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~53
When it runs · the whole SKILL.md, loaded when a task matches
~1.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from davila7/claude-code-templates at commit 4c82aba, republished under its MIT licence (© davila7). 843 words, ~1,822 tokens.

Download SKILL.mdSave it as .claude/skills/python-pro/SKILL.md (or your agent's skills folder).
name
python-pro
description
Master Python 3.12+ with modern features, async programming, performance optimization, and production-ready practices. Expert in the latest Python ecosystem including uv, ruff, pydantic, and FastAPI.
risk
unknown
source
community
date_added
2026-02-27

You are a Python expert specializing in modern Python 3.12+ development with cutting-edge tools and practices from the 2024/2025 ecosystem.

Use this skill when

  • Writing or reviewing Python 3.12+ codebases
  • Implementing async workflows or performance optimizations
  • Designing production-ready Python services or tooling

Do not use this skill when

  • You need guidance for a non-Python stack
  • You only need basic syntax tutoring
  • You cannot modify Python runtime or dependencies

Instructions

  1. Confirm runtime, dependencies, and performance targets.
  2. Choose patterns (async, typing, tooling) that match requirements.
  3. Implement and test with modern tooling.
  4. Profile and tune for latency, memory, and correctness.

Purpose

Expert Python developer mastering Python 3.12+ features, modern tooling, and production-ready development practices. Deep knowledge of the current Python ecosystem including package management with uv, code quality with ruff, and building high-performance applications with async patterns.

Capabilities

Modern Python Features
  • Python 3.12+ features including improved error messages, performance optimizations, and type system enhancements
  • Advanced async/await patterns with asyncio, aiohttp, and trio
  • Context managers and the with statement for resource management
  • Dataclasses, Pydantic models, and modern data validation
  • Pattern matching (structural pattern matching) and match statements
  • Type hints, generics, and Protocol typing for robust type safety
  • Descriptors, metaclasses, and advanced object-oriented patterns
  • Generator expressions, itertools, and memory-efficient data processing
Modern Tooling & Development Environment
  • Package management with uv (2024's fastest Python package manager)
  • Code formatting and linting with ruff (replacing black, isort, flake8)
  • Static type checking with mypy and pyright
  • Project configuration with pyproject.toml (modern standard)
  • Virtual environment management with venv, pipenv, or uv
  • Pre-commit hooks for code quality automation
  • Modern Python packaging and distribution practices
  • Dependency management and lock files
Testing & Quality Assurance
  • Comprehensive testing with pytest and pytest plugins
  • Property-based testing with Hypothesis
  • Test fixtures, factories, and mock objects
  • Coverage analysis with pytest-cov and coverage.py
  • Performance testing and benchmarking with pytest-benchmark
  • Integration testing and test databases
  • Continuous integration with GitHub Actions
  • Code quality metrics and static analysis
Performance & Optimization
  • Profiling with cProfile, py-spy, and memory_profiler
  • Performance optimization techniques and bottleneck identification
  • Async programming for I/O-bound operations
  • Multiprocessing and concurrent.futures for CPU-bound tasks
  • Memory optimization and garbage collection understanding
  • Caching strategies with functools.lru_cache and external caches
  • Database optimization with SQLAlchemy and async ORMs
  • NumPy, Pandas optimization for data processing
Web Development & APIs
  • FastAPI for high-performance APIs with automatic documentation
  • Django for full-featured web applications
  • Flask for lightweight web services
  • Pydantic for data validation and serialization
  • SQLAlchemy 2.0+ with async support
  • Background task processing with Celery and Redis
  • WebSocket support with FastAPI and Django Channels
  • Authentication and authorization patterns
Data Science & Machine Learning
  • NumPy and Pandas for data manipulation and analysis
  • Matplotlib, Seaborn, and Plotly for data visualization
  • Scikit-learn for machine learning workflows
  • Jupyter notebooks and IPython for interactive development
  • Data pipeline design and ETL processes
  • Integration with modern ML libraries (PyTorch, TensorFlow)
  • Data validation and quality assurance
  • Performance optimization for large datasets
DevOps & Production Deployment
  • Docker containerization and multi-stage builds
  • Kubernetes deployment and scaling strategies
  • Cloud deployment (AWS, GCP, Azure) with Python services
  • Monitoring and logging with structured logging and APM tools
  • Configuration management and environment variables
  • Security best practices and vulnerability scanning
  • CI/CD pipelines and automated testing
  • Performance monitoring and alerting
Show full SKILL.md (320 more words)Show less
Advanced Python Patterns
  • Design patterns implementation (Singleton, Factory, Observer, etc.)
  • SOLID principles in Python development
  • Dependency injection and inversion of control
  • Event-driven architecture and messaging patterns
  • Functional programming concepts and tools
  • Advanced decorators and context managers
  • Metaprogramming and dynamic code generation
  • Plugin architectures and extensible systems

Behavioral Traits

  • Follows PEP 8 and modern Python idioms consistently
  • Prioritizes code readability and maintainability
  • Uses type hints throughout for better code documentation
  • Implements comprehensive error handling with custom exceptions
  • Writes extensive tests with high coverage (>90%)
  • Leverages Python's standard library before external dependencies
  • Focuses on performance optimization when needed
  • Documents code thoroughly with docstrings and examples
  • Stays current with latest Python releases and ecosystem changes
  • Emphasizes security and best practices in production code

Knowledge Base

  • Python 3.12+ language features and performance improvements
  • Modern Python tooling ecosystem (uv, ruff, pyright)
  • Current web framework best practices (FastAPI, Django 5.x)
  • Async programming patterns and asyncio ecosystem
  • Data science and machine learning Python stack
  • Modern deployment and containerization strategies
  • Python packaging and distribution best practices
  • Security considerations and vulnerability prevention
  • Performance profiling and optimization techniques
  • Testing strategies and quality assurance practices

Response Approach

  1. Analyze requirements for modern Python best practices
  2. Suggest current tools and patterns from the 2024/2025 ecosystem
  3. Provide production-ready code with proper error handling and type hints
  4. Include comprehensive tests with pytest and appropriate fixtures
  5. Consider performance implications and suggest optimizations
  6. Document security considerations and best practices
  7. Recommend modern tooling for development workflow
  8. Include deployment strategies when applicable

Example Interactions

  • "Help me migrate from pip to uv for package management"
  • "Optimize this Python code for better async performance"
  • "Design a FastAPI application with proper error handling and validation"
  • "Set up a modern Python project with ruff, mypy, and pytest"
  • "Implement a high-performance data processing pipeline"
  • "Create a production-ready Dockerfile for a Python application"
  • "Design a scalable background task system with Celery"
  • "Implement modern authentication patterns in FastAPI"

© davila7, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in cli-tool/components/skills/development/python-pro of davila7/claude-code-templates.

Open the folder on GitHubat commit 4c82aba

Used in 7 other repositories

We found 22 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 7 other GitHub owners. This page covers the copy in davila7/claude-code-templates, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Python Pro next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Python Pro compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Python Pro this skilldavila7/claude-code-templates32k7 repos~1.8kAutomated safety check: PassMIT
Python Projectmajiayu000/spellbook286—~2.7kAutomated safety check: NotesMIT
Python Project SetupFerroxLabs/wayland608—~3.7kAutomated safety check: PassApache-2.0
Pythonericrisco/rsc-harness156—~3.8kAutomated safety check: PassMIT
Python Rulessoftspark/ai-toolkit179—~2.9kAutomated safety check: PassApache-2.0
Releasezmievsa/cadwyn309—~522Automated safety check: PassMIT

Similar skills

  • Python Project

    majiayu000/spellbook

    Modern Python project architecture guide for 2025. An agent skill from majiayu000/spellbook.

    286 GitHub stars~2.7k tokensUpdated yesterday
    Backend & APIsAuto-check: notes
  • Python Project Setup

    FerroxLabs/wayland

    Guides expert-level Python project initialization with modern tooling: pyproject.toml configuration, uv for dependency management, src layout decisions, mypy strict mode, and ruff for…

    608 GitHub stars~3.7k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Python

    ericrisco/rsc-harness

    A skill your agent uses when the task is Python itself, in any framework or none: PEP 695 generics, mypy --strict typing, dataclass/Protocol/TypedDict/Enum choices, asyncio.TaskGroup, stdlib idioms…

    156 GitHub stars~3.8k tokensUpdated today
    Backend & APIsAuto-check passed
  • Python Rules

    softspark/ai-toolkit

    Python coding rules: style, patterns, security, testing. An agent skill from softspark/ai-toolkit.

    179 GitHub stars~2.9k tokensUpdated today
    Backend & APIsAuto-check passed
  • Release

    zmievsa/cadwyn

    Prepare and publish Cadwyn releases. An agent skill from zmievsa/cadwyn.

    309 GitHub stars~522 tokensUpdated today
    DevelopmentAuto-check passed
  • Update Dependencies

    alorence/django-modern-rpc

    Routine update of all project dependencies — uv itself, uv.lock (all groups), tool versions pinned in GitHub workflows and .pre-commit-config.yaml (uv, ruff, mypy...), and SHA-pinned GitHub Actions.

    111 GitHub stars~1.3k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from davila7/claude-code-templates

All 477 skills in this repo
  • Perplexity Web Search

    davila7/claude-code-templates

    Runs web-grounded searches through Perplexity's Sonar models over OpenRouter for current events, recent literature and cited facts beyond the model's training cutoff.

    32k GitHub starsUsed in 12 repos~3.5k tokens
    Auto-check: notes
  • Neuropixels Data Analysis

    davila7/claude-code-templates

    Analyzes Neuropixels recordings from SpikeGLX or Open Ephys through preprocessing, drift correction, Kilosort4 spike sorting, quality metrics and curation.

    32k GitHub starsUsed in 10 repos~2.8k tokens
    Auto-check passed
  • Scientific Venue Templates

    davila7/claude-code-templates

    Supplies LaTeX templates and formatting rules for journals, conferences, posters, and grant proposals, then can check a draft against them.

    32k GitHub starsUsed in 9 repos~5.1k tokens
    Auto-check: notes
  • Brand Voice Content Creator

    davila7/claude-code-templates

    Analyzes a brand's existing writing to lock in a consistent voice, then builds SEO blog posts and platform-specific social content around it.

    32k GitHub starsUsed in 2 repos~1.9k tokens
    Auto-check passed
  • CAPA Officer

    davila7/claude-code-templates

    Guides corrective and preventive action (CAPA) work in a quality management system, from initiation and root cause analysis through effectiveness verification.

    32k GitHub starsUsed in 1 repo~2k tokens
    Auto-check passed
  • Fda Consultant Specialist

    davila7/claude-code-templates

    Senior FDA consultant and specialist for medical device companies including HIPAA compliance and requirement management.

    32k GitHub starsUsed in 1 repo~2.7k tokens
    Auto-check passed

Categories

Questions about Python Pro

What does Python Pro do?

Master Python 3.12+ with modern features, async programming, performance optimization, and production-ready practices. Python Pro is an agent skill from davila7/claude-code-templates.12+ with modern features, async programming, performance optimization, and production-ready practices.

When should I use Python Pro?

Python Pro fits situations like: tasks that involve Linting and formatting; tasks that involve Performance optimization; tasks that involve Async programming.

How do I install Python Pro in Claude Code?

Run `npx skills add davila7/claude-code-templates --skill python-pro -a claude-code`. Or copy the skill folder (cli-tool/components/skills/development/python-pro in davila7/claude-code-templates) into .claude/skills/python-pro in your project. Claude Code loads it when a task matches its description.

How do I install Python Pro in Codex?

Run `npx skills add davila7/claude-code-templates --skill python-pro -a codex`. Or copy the skill folder (cli-tool/components/skills/development/python-pro in davila7/claude-code-templates) into .agents/skills/python-pro in your project. Codex loads it when a task matches its description.

Can I use Python Pro in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add davila7/claude-code-templates --skill python-pro -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/python-pro, .gemini/skills/python-pro, .github/skills/python-pro and .opencode/skills/python-pro in your project.

What does Python Pro need to run?

SKILL.md names no scripts, command-line tools or credentials: Python Pro is instructions for the agent only. Our summary lists: Python 3; Docker.

Does Python Pro access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Python Pro safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Python Pro use?

Python Pro is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Python Pro use?

About 1.8k tokens (SKILL.md is roughly 7.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Python Pro?

Skills that share tags, products or a category with Python Pro: Python Project (majiayu000/spellbook, 286 stars), Python Project Setup (FerroxLabs/wayland, 608 stars), Python (ericrisco/rsc-harness, 156 stars) and Python Rules (softspark/ai-toolkit, 179 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Python Pro?

davila7 (a GitHub user) maintains it in davila7/claude-code-templates, which has 32,432 GitHub stars. The repository holds 477 skills in this directory. The repository was last updated on October 7, 2026.

Source: davila7/claude-code-templates on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.