python-conventions
PEP 8 style, import ordering, docstrings, virtual environment, and packaging conventions for Python projects
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
PEP 8 style, import ordering, docstrings, virtual environment, and packaging conventions for Python projects
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Health check procedures D1–D14 for the Audit agent — structural validation, attention budget, version checks, workspace integrity, and static audit
Configure and manage Model Context Protocol servers for external tool access
Review a UI for accessibility — WCAG 2.1 AA compliance, semantic HTML, ARIA usage, keyboard navigation, focus management, colour contrast, and screen reader compatibility
Design or review a REST or GraphQL API — resource modeling, versioning strategy, error contract, OpenAPI/schema-first workflow, and security baseline
Generate a CHANGELOG.md entry from staged changes, a commit range, or a PR diff — following Keep a Changelog format with conventional commit classification
Set up and audit environment variable management — create .env.example, add startup validation, separate secrets from config, and document every variable
| name | python-conventions |
| description | PEP 8 style, import ordering, docstrings, virtual environment, and packaging conventions for Python projects |
| compatibility | >=1.4 |
Skill metadata: version "1.0"; license MIT; tags [python, pep8, conventions, packaging]; recommended tools [codebase, editFiles].
Applies to: **/*.py
isort or ruff to enforce.pathlib.Path over os.path for file system operations.with) for resource management (files, connections, locks).dataclasses or pydantic for structured data — avoid raw dictionaries for domain objects.map()/filter() for simple transformations.logging module instead of print() for application output.venv, poetry, or uv — never install into the system Python.poetry.lock, uv.lock, requirements.txt with hashes).