python
Installation
SKILL.md
Python
Workflow
- Confirm Python version and project layout.
- Enforce typing and static analysis (strict).
- Format and lint consistently (Black + Ruff).
- Apply logging, error handling, async, and security rules.
- Add/update tests and validate (pytest; regression coverage).
Preflight (Ask/Check First)
- Python version target (prefer 3.10+; align with CI/runtime).
- Packaging layout (
src/layout vs flat;pyproject.tomlconventions). - Existing toolchain config:
pyproject.tomlsections for Black/Ruff/Mypy/Pyright.- Existing CI steps (lint/typecheck/test).
- Framework context (FastAPI/Django/CLI/batch job) and async usage.