What problem does it solve? Python scripts written or edited by AI agents often drift in structure, import placement, logging style, and documentation format, making a codebase inconsistent and hard to review. This Skill codifies a single set of conventions so every generated or modified .py file follows the same section layout, modern Python 3.12+ idioms, and documentation standards. ## Core Features & Use Cases - Standardized 7-section layout: IMPORTS, DECORATORS, CONSTANTS, CONFIG, LOGGING, CORE LOGIC, and MAIN sections with a ready-to-use template file (templates/agent_script_template.py) as the starting point for new scripts. - Modern Python 3.12+ rules: native generics, X | None unions, type aliases, frozen slotted dataclasses, StrEnum markers, match-case branching, loguru logging, and pathlib-only path handling. - Documentation and review standards: module-level docstring format, single-line function docstrings, three-column change-summary tables, plus a verification checklist and a catalog of common pitfalls. - Use Case: When asked to write a new bioinformatics data-processing script, load this Skill first, open the bundled template, and produce a script that passes the full verification checklist on the first pass. ## Quick Start Load the python-script-conventions skill and use its template to write a new Python script that filters a CSV by p-value threshold.