A comprehensive performance reference for Python 3.11+ that gives Claude 42 specific optimization rules across eight categories, from critical async patterns and data structure selection down to micro-optimizations. Most useful when you're writing I/O-heavy code or need to make smart choices about collections, memory usage, and concurrency patterns. Each rule includes concrete performance impact metrics (like "2-5× faster" or "O(n) to O(1)"), so Claude can prioritize what actually matters. The focus on asyncio, connection pooling, and proper data structure selection makes this especially good for backend services and API work. It's opinionated about modern Python idioms, which means you'll get consistent recommendations but might clash if you're stuck on older patterns.

skills.sh installs
323
GitHub stars
222
last updated
Aug 21, 2026

Install

$ npx -y skills add pproenca/dot-skills --skill python --agent claude-code

Installs into .claude/skills of the current project.

Files

Python 3.11 Best Practices

Comprehensive performance optimization guide for Python 3.11+ applications. Contains 42 rules across 8 categories, prioritized by impact to guide automated refactoring and code generation.

When to Apply

Reference these guidelines when:

  • Writing new Python async I/O code
  • Choosing data structures for collections
  • Optimizing memory usage in data-intensive applications
  • Implementing concurrent or parallel processing
  • Reviewing Python code for performance issues

Rule Categories by Priority

PriorityCategoryImpactPrefix
1I/O & Async PatternsCRITICALio-
2Data Structure SelectionCRITICALds-
3Memory OptimizationHIGHmem-
4Concurrency & ParallelismHIGHconc-
5Loop & IterationMEDIUMloop-
6String OperationsMEDIUMstr-
7Function & Call OverheadLOW-MEDIUMfunc-
8Python Idioms & MicroLOWpy-

Table of Contents

Sponsors

Details

Repository
github.com/pproenca/dot-skills
Categories
Documentation, Code Review & Quality, Debugging, Python
First seen
Jun 3, 2026

More from pproenca/dot-skills

All 100
1webflow avatarbulk-cms-updatewebflow/webflow-skillsCreate or update multiple CMS items in a Webflow collection with validation and diff preview. Use when adding multiple blog posts, products, or updating fields 323skills.sh installs
2gentleman-programming avatarangular-architecturegentleman-programming/gentleman-skillsAngular architecture: Scope Rule, project structure, file naming, style guide. Trigger: When structuring Angular projects or deciding where to place components.322skills.sh installs
3onewave-ai avatarpodcast-to-content-suiteonewave-ai/claude-skillsTransform podcast transcripts into comprehensive content marketing suites including blog posts, social media content, newsletters, SEO-optimized articles, and t321skills.sh installs
4onewave-ai avatarwebinar-to-content-multiplieronewave-ai/claude-skillsConvert webinar recordings into blog posts, social snippets, email series. Extract key quotes, statistics, and soundbites.321skills.sh installs
5giuseppe-trisciuoglio avatarclaude-md-managementgiuseppe-trisciuoglio/developer-kitProvides comprehensive CLAUDE.md file management capabilities including auditing, quality assessment, and targeted improvements. Use when user asks to check, au320skills.sh installs
6proelias7 avatarfivem-developmentproelias7/fivem-skillFiveM development best practices for any framework (vRP, QBCore, Qbox, ESX). Covers performance, security, client/server communication, cache (cacheaside + clie319skills.sh installs