PY

A development skill for writing modern, high-performance Python 3.12+ applications.

Install

mkdir -p .claude/skills/python-pro && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/677" && unzip -o skill.zip -d .claude/skills/python-pro && rm skill.zip

Installs to .claude/skills/python-pro

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

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.
199 charsno explicit “when” trigger
Advanced

Key capabilities

  • Write and review Python 3.12+ codebases
  • Implement advanced async/await patterns
  • Optimize Python application performance
  • Design production-ready Python services with FastAPI
  • Manage packages with uv and ensure code quality with ruff
  • Implement complete testing with pytest

How it works

The skill analyzes requirements, suggests modern tools and patterns from the Python ecosystem, provides production-ready code with type hints and error handling, and includes complete tests and performance considerations.

Inputs & outputs

You give it
Python development task or code for review
You get back
Production-ready Python code, optimized solutions, or architectural recommendations

When to use python-pro

  • Writing production-ready Python 3.12+ code
  • Implementing async workflows
  • Optimizing Python application performance
  • Designing services with FastAPI

About this skill

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

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"

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

When not to use it

  • Guidance for a non-Python stack is needed
  • Only basic Python syntax tutoring is required
  • Python runtime or dependencies cannot be modified

Limitations

  • The task must clearly match the described scope

How it compares

This skill provides expert guidance on Python 3.12+ development using the latest ecosystem tools and practices, offering a more current and optimized approach compared to general Python development.

Compared to similar skills

python-pro side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
python-pro (this skill)234moNo flagsAdvanced
fastapi-templates5202moNo flagsIntermediate
fastapi-pro794moNo flagsAdvanced
python-configuration52moReviewBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

mobile-design

sickn33

Mobile-first design and engineering doctrine for iOS and Android apps. Covers touch interaction, performance, platform conventions, offline behavior, and mobile-specific decision-making. Teaches principles and constraints, not fixed layouts. Use for React Native, Flutter, or native mobile apps.

149231

unity-developer

sickn33

Build Unity games with optimized C# scripts, efficient rendering, and proper asset management. Masters Unity 6 LTS, URP/HDRP pipelines, and cross-platform deployment. Handles gameplay systems, UI implementation, and platform optimization. Use PROACTIVELY for Unity performance issues, game mechanics, or cross-platform builds.

142357

architect-review

sickn33

Master software architect specializing in modern architecture patterns, clean architecture, microservices, event-driven systems, and DDD. Reviews system designs and code changes for architectural integrity, scalability, and maintainability. Use PROACTIVELY for architectural decisions.

109320

angular

sickn33

Modern Angular (v20+) expert with deep knowledge of Signals, Standalone Components, Zoneless applications, SSR/Hydration, and reactive patterns. Use PROACTIVELY for Angular development, component architecture, state management, performance optimization, and migration to modern patterns.

100129

frontend-slides

sickn33

Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to build a presentation, convert a PPT/PPTX to web, or create slides for a talk/pitch. Helps non-designers discover their aesthetic through visual exploration rather than abstract choices.

95195

minecraft-bukkit-pro

sickn33

Master Minecraft server plugin development with Bukkit, Spigot, and Paper APIs. Specializes in event-driven architecture, command systems, world manipulation, player management, and performance optimization. Use PROACTIVELY for plugin architecture, gameplay mechanics, server-side features, or cross-version compatibility.

9078

You might also like

fastapi-templates

wshobson

Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.

5201,086

fastapi-pro

sickn33

Build high-performance async APIs with FastAPI, SQLAlchemy 2.0, and Pydantic V2. Master microservices, WebSockets, and modern Python async patterns. Use PROACTIVELY for FastAPI development, async optimization, or API architecture.

79181

python-configuration

wshobson

Python configuration management via environment variables and typed settings. Use when externalizing config, setting up pydantic-settings, managing secrets, or implementing environment-specific behavior.

542

fastapi-router-py

microsoft

Create FastAPI routers with CRUD operations, authentication dependencies, and proper response models. Use when building REST API endpoints, creating new routes, implementing CRUD operations, or adding authenticated endpoints in FastAPI applications.

525

pydantic-models-py

microsoft

Create Pydantic models following the multi-model pattern with Base, Create, Update, Response, and InDB variants. Use when defining API request/response schemas, database models, or data validation in Python applications using Pydantic v2.

325

backend-architect

sickn33

Expert backend architect specializing in scalable API design, microservices architecture, and distributed systems. Masters REST/GraphQL/gRPC APIs, event-driven architectures, service mesh patterns, and modern backend frameworks. Handles service boundary definition, inter-service communication, resilience patterns, and observability. Use PROACTIVELY when creating new backend services or APIs.

1014

Search skills

Search the agent skills registry