python-mastery

Installation
SKILL.md

Python Mastery

How to use this skill

Read SKILL.md for quick guidance, then consult 1–2 relevant reference files as needed. Do NOT read all reference files at once. For simple tasks, the quick principles below may suffice.

Reference files — when to read each one

Reference Read when...
references/pythonic-idioms.md Writing any Python. PEP 8, unpacking, comprehensions, walrus operator, match, regex, anti-patterns.
references/data-structures.md Lists, tuples, dicts, sets, containers, dates/times, file I/O, pathlib, JSON/CSV/TOML/YAML, databases.
references/functions-and-generators.md Functions, closures, decorators, generators, comprehensions, recursion, memoization, backtracking.
references/classes-and-design.md Class design, dataclasses, properties, inheritance, composition, protocols, contracts, iterative design.
references/design-patterns.md Template Method, Strategy, Factory, Observer, State, Adapter, Facade, Composite, Decorator, etc.
references/error-handling.md try/except/else/finally, custom exception hierarchies, context managers, assertions, chaining.
references/concurrency.md GIL, threading, asyncio, multiprocessing, subprocess, synchronization, migration patterns.
references/testing-and-quality.md Testing, mocking, type hints, debugging, profiling, performance optimization, packaging, web frameworks.
Related skills
Installs
1
First Seen
Mar 2, 2026