Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Python?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/dongduong2001-python)
---
name: python-code
description: Python development best practices, PEP 8, and modern Python features
---
# Python Code Skill
This skill is specialized for Python development, focusing on idiomatic Python (Pythonic code), performance, and typing.
## When to use this skill
- When writing or refactoring Python code (Django, FastAPI, Flask, Pandas, etc.).
- When utilizing Python's specific features like list comprehensions, generators, context managers.
- When integrating PEP 8 standards or type hints (mypy/pydantic).
## Guidelines
- Write "Pythonic" code. Use built-in functions and standard libraries where appropriate.
- Use explicit type hints for better Developer Experience (DX) and tooling support.
- Handle exceptions specifically rather than using bare `except:` clauses.
- Use virtual environments (venv, poerty, conda) for dependency management.