← All skills
Tencent SkillHub Β· AI

Python

Write reliable Python avoiding mutable defaults, import traps, and common runtime surprises.

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Write reliable Python avoiding mutable defaults, import traps, and common runtime surprises.

⬇ 0 downloads β˜… 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
SKILL.md, classes.md, collections.md, concurrency.md, functions.md, imports.md

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

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.

Upgrade existing

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.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.0.1

Documentation

ClawHub primary doc Primary doc: SKILL.md 2 sections Open source page

Quick Reference

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

Critical Rules

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'

Category context

Agent frameworks, memory systems, reasoning layers, and model-native orchestration.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
6 Docs
  • SKILL.md Primary doc
  • classes.md Docs
  • collections.md Docs
  • concurrency.md Docs
  • functions.md Docs
  • imports.md Docs