Claude-skill-registry modern-python

Work with Python (`uv` instead of `python`, modern type syntax, linting, formatting, etc.) properly!

install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/other/modern-python" ~/.claude/skills/majiayu000-claude-skill-registry-modern-python && rm -rf "$T"
manifest: skills/other/modern-python/SKILL.md
source content
  • Never use
    python
    . Use
    uv
    instead of
    python
    • uv add package-name
    • uv run script.py
  • Don't use
    from __future__ import annotations
  • Use modern type syntax (
    list[str], str | None
    )
  • Format with
    uvx ruff format .
  • Lint with
    uvx ruff check .
    and
    uvx ty check
  • Look before you leap (check conditions before acting)