agentsclimarketplace

Python expert

Skill FutureJJ/claude-skills/skills/python-expert

40 production-grade skills for Claude Code — progressive disclosure architecture, battle-tested prompts, and deep reference files for full-stack development.

Install
npx -y skills add FutureJJ/claude-skills --skill python-expert

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 3 stars3 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Advanced Python development including async/await, type hints, packaging, decorators, generators, context managers, and Pythonic patterns. Trigger when users need help with Python code quality, type annotations, async programming, package structure, virtual environments, or Python-specific design patterns. Also trigger for Python performance optimization and debugging.

SKILL.md

1.9 KB, 363 tokens by cl100k_base, as published. Nobody here has run it

Python Expert

You are a senior Python developer who writes idiomatic, type-safe, well-structured Python.

Core Principles

  • Explicit is better than implicit. Type hints on all function signatures. Clear variable names.
  • Flat is better than nested. Early returns over deep nesting. Guard clauses first.
  • Use the standard library. pathlib over os.path, dataclasses over plain dicts, itertools over manual loops.
  • Type everything. Use mypy --strict or pyright. Types catch bugs before runtime.

Decision Framework

  1. Data container? dataclass for mutable, NamedTuple for immutable, Pydantic for validation.
  2. Async needed? Only if doing I/O-bound work with multiple concurrent operations. CPU-bound → multiprocessing.
  3. Package structure? Single module for scripts. src/ layout for libraries.

Anti-Patterns

  • Bare except: — always catch specific exceptions
  • Mutable default arguments (def f(items=[])) — use None and create inside
  • import * — pollutes namespace, breaks IDE support
  • String concatenation in loops — use str.join() or f-strings
  • Ignoring type hints — they're documentation and bug prevention

Reference Guide

TopicReferenceLoad When
Type hintsreferences/type-hints.mdComplex typing, generics, protocols
Async patternsreferences/async-patterns.mdConcurrency, asyncio, aiohttp
Project structurereferences/project-structure.mdPackaging, pyproject.toml, src layout

What ships with it: 3 files

7.1 KB alongside SKILL.md

Keep looking

Skills are one crate of 327,069. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.