- Never use
python. Useuvinstead ofpythonuv add package-nameuv 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 .anduvx ty check - Look before you leap (check conditions before acting)
Modern Python
Work with Python (`uv` instead of `python`, modern type syntax, linting, formatting, etc.) properly!
Modern Python by majiayu000 · 0001ba1
npx skillmds@latest add majiayu000/modern-python-3 File contents
---name: modern-python-3description: Work with Python (`uv` instead of `python`, modern type syntax, linting, formatting, etc.) properly!---- 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)
majiayu000/claude-skill-registry-data/tree/main/data/modern-python commit 0001ba1314
Frequently asked questions
Run npx skillmds@latest add majiayu000/modern-python-3 in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Work with Python (`uv` instead of `python`, modern type syntax, linting, formatting, etc.) properly! It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. Capability flags: docs only. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
majiayu000 (@majiayu000) published this skill. Their other Agent Skills are listed on their SkillMD profile.