npx skills add sickn33/agentic-awesome-skills --skill python --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Python: Idiomatic Efficiency Reference ## When to Use - Use this skill when the task matches this description: Language-specific super-code guidelines for python. ## Table of Contents 1. [Comprehensions & Generators](#comprehensions) 2. [Unpacking & Destructuring](#unpacking) 3. [Built-ins & stdlib](#builtins) 4. [Functions & Defaults](#functions) 5. [Classes & Dataclasses](#classes) 6. [Error Handling](#errors) 7. [Type Hints](#types) 8. [Anti-patterns specific to Python](#antipatterns) --- ## 1. Comprehensions & Generators {#comprehensions} ```python # ❌ Imperative accumulation result = [] for item in items: if item.active: result.append(item.name.upper()) # ✅ result = [item.name.upper() for item in items if item.active] ``` ```python # ❌ Dict built in a loop d = {} for k, v in pairs: d[k] = v # ✅ d = dict(pairs) # or d = {k: v for k, v in pairs} ``` ```python # ❌ Generator converted to list unnecessarily total = sum(list(x * 2 for x in nums)) # ✅ — generator expression works directly in sum() total = sum(x * 2 for x in nums) ``` **Use generator expressions (not list comprehensions) when the result is consumed once and not stored.** --- ## 2. Unpacking & Destructuring {#unpacki
- When to Use
- Table of Contents
- 1. Comprehensions & Generators {#comprehensions}
- 2. Unpacking & Destructuring {#unpacking}
- 3. Built-ins & stdlib {#builtins}
- 4. Functions & Defaults {#functions}
- 5. Classes & Dataclasses {#classes}
- 6. Error Handling {#errors}
- 7. Type Hints {#types}
- 8. Anti-patterns specific to Python {#antipatterns}
- Limitations
What does the python skill do?
Language-specific super-code guidelines for python.
How do I install it?
Run `npx skills add sickn33/agentic-awesome-skills --skill python --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From sickn33/agentic-awesome-skills, a repository with 44,414 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.