Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Write reliable Python avoiding mutable defaults, import traps, and common runtime surprises.
Write reliable Python avoiding mutable defaults, import traps, and common runtime surprises.
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
TopicFileDynamic typing, type hints, duck typingtypes.mdList/dict/set gotchas, comprehensionscollections.mdArgs/kwargs, closures, decorators, generatorsfunctions.mdInheritance, descriptors, metaclassesclasses.mdGIL, threading, asyncio, multiprocessingconcurrency.mdCircular imports, packages, init.pyimports.mdPytest, mocking, fixturestesting.md
def f(items=[]) shares list across all calls β use items=None then items = items or [] is checks identity, == checks equality β "a" * 100 is "a" * 100 may be False Modifying list while iterating skips elements β iterate over copy: for x in list(items): GIL prevents true parallel Python threads β use multiprocessing for CPU-bound Bare except: catches SystemExit and KeyboardInterrupt β use except Exception: UnboundLocalError when assigning to outer scope variable β use nonlocal or global open() without context manager leaks handles β always use with open(): Circular imports fail silently or partially β import inside function to break cycle 0.1 + 0.2 != 0.3 β floating point, use decimal.Decimal for money Generator exhausted after one iteration β can't reuse, recreate or use itertools.tee Class attributes with mutables shared across instances β define in __init__ instead __init__ is not constructor β __new__ creates instance, __init__ initializes Default encoding is platform-dependent β always specify encoding='utf-8'
Agent frameworks, memory systems, reasoning layers, and model-native orchestration.
Largest current source with strong distribution and engagement signals.