with one click
python
Always use this skill when writing or editing python code!
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Always use this skill when writing or editing python code!
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | python |
| description | Always use this skill when writing or editing python code! |
uv tool install ruff if not already installed.| over Union[] and | None over Optional.__future__, just use the latest Python features and require a modern Python version.logging in libraries; leave that to the application using the library.@validator decorators.
number: Annotated[int, AfterValidator(is_even)]from ..schemas import ...).pyproject.toml, requirements.txt, or equivalent.uv pip install -e ./path.
UPPER_SNAKE_CASE for constants and regex patternslog = logging.getLogger(__name__)unit unless explicitly @pytest.mark.integration.Never do this:
var1 = 1
my_other_var = 2
Always prefer accessing attributes directly over something like this:
def get_my_items(self) -> list[MyItem]:
return self.my_items
Explore and search previous Claude Code conversations stored in ~/.claude/projects/
Use this skill when working with software installed or run from local source checkouts that use git worktree hubs.
Always use this skill when writing or editing markdown files!
Always use this skill when writing or editing webscrapers!
Extracting text and tables, merging/splitting documents. Use when needing to convert PDFs while preserving structure.
Always use this skill when writing or editing software tests!