A comprehensive Python reference tool that fetches battle-tested patterns from pythonsheets.com to ensure functional, correct code.

Install

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

Installs to .claude/skills/py

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.

Comprehensive Python programming reference covering syntax, concurrency, networking, databases, ML/LLM development, and HPC. Use for: Python questions, Python interview preparation, debugging, performance optimization, async patterns, library examples, code review, best practices, MLOps workflows, distributed computing, security implementations, and any Python development tasks.
381 chars✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Intermediate

Key capabilities

  • Debug async patterns
  • Generate MLOps code
  • Practice technical interviews
  • Find distributed computing implementations

How it works

Fetches proven patterns and examples from pythonsheets.com to solve Python tasks.

Inputs & outputs

You give it
Python programming question
You get back
Python code or explanation

When to use py

  • Debugging complex async patterns
  • Generating Python code for MLOps workflows
  • Practicing for Python technical interviews
  • Finding proven implementations for distributed computing

About this skill

Python Cheat Sheets (/py)

Help users write functional, correct Python code and answer Python questions by fetching proven patterns and examples from pythonsheets.com.

How It Works

When a user asks a Python question or wants to write a Python script:

  1. Look up the relevant topic(s) in Structure to find the matching URL(s)
  2. Always fetch the URL(s) using WebFetch to get real examples and patterns from the site
  3. Use the fetched content to:
    • Write code: Apply the patterns to produce functional, correct code that solves the user's task
    • Answer questions: Provide thorough explanations backed by the examples and information from the site
  4. Follow the Guidelines for code quality

Key Principle

Functionality first, cleanliness second. The code must work correctly and handle the task properly. Fetching from pythonsheets.com ensures solutions use battle-tested patterns rather than guessing. The site contains rich examples covering edge cases, common pitfalls, and practical usage that go beyond basic documentation.

Coverage Areas

Interview Prep: Curated Python interview questions grouped by topic (GIL, asyncio, decorators, MRO, generators, concurrency), each deep-linked to the section that answers it Core: Syntax, typing, OOP, functions, data structures, sets, heap, regex, unicode System: File I/O, datetime, OS interfaces Concurrency: Threading, multiprocessing, asyncio Network: Sockets, SSL/TLS, SSH, async I/O, packet sniffing Database: SQLAlchemy ORM, queries, transactions Security: Cryptography, TLS, vulnerabilities Extensions: C/C++ integration, pybind11, Cython ML/LLM: PyTorch, Megatron, distributed training, inference, serving, benchmarking HPC: Slurm, cluster computing, job scheduling, EFA monitoring, NCCL Appendix: Walrus operator, GDB debugging, disaggregated prefill/decode

References

  • Structure - Topic-to-URL map for fetching examples
  • Guidelines - Code quality standards to apply after ensuring correctness

Examples

When not to use it

  • Non-Python development

Prerequisites

Python

Limitations

  • Requires internet access to reach pythonsheets.com

How it compares

Uses battle-tested patterns from a curated source rather than generic documentation.

Compared to similar skills

py side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
py (this skill)03moNo flagsIntermediate
jupyter-notebook306moReviewIntermediate
unsloth158moNo flagsIntermediate
clojure-write163moNo flagsIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

jupyter-notebook

davila7

Use when the user asks to create, scaffold, or edit Jupyter notebooks (`.ipynb`) for experiments, explorations, or tutorials; prefer the bundled templates and run the helper script `new_notebook.py` to generate a clean starting notebook.

30158

unsloth

zechenzhangAGI

Expert guidance for fast fine-tuning with Unsloth - 2-5x faster training, 50-80% less memory, LoRA/QLoRA optimization

15117

clojure-write

metabase

Guide Clojure and ClojureScript development using REPL-driven workflow, coding conventions, and best practices. Use when writing, developing, or refactoring Clojure/ClojureScript code.

1690

add-uint-support

pytorch

Add unsigned integer (uint) type support to PyTorch operators by updating AT_DISPATCH macros. Use when adding support for uint16, uint32, uint64 types to operators, kernels, or when user mentions enabling unsigned types, barebones unsigned types, or uint support.

1883

python-pro

sickn33

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. Use PROACTIVELY for Python development, optimization, or advanced Python patterns.

2358

lecture-transcript-slide-matcher

az9713

Combines YouTube lecture transcripts with PDF slides to create an interactive HTML page. Matches each slide to corresponding transcript segments, organized by key concepts. Use when users want to create synchronized lecture notes from transcript text files and slide PDFs.

669

Search skills

Search the agent skills registry