--- name: python description: You MUST activate this skill when working on Python projects --- # Python - Favour Python 3.14+ features. Use `uv` for .venv management. Use `uvx ty check` for type checking - Type hints for all functions. Dataclasses for data structures. Pathlib over os.path. f-strings - For standalone scripts that have a few dependencies, use PEP 723 to declare dependencies in a TOML block inside `# ///` markers (e.g. `# /// script\n# dependencies = [\n# "beautifulsoup4",\n# ]\n# ///`)