python-code-style
Installation
SKILL.md
Python Code Style
Single owner of "what does well-styled Python look like in this stack": ruff (lint + format) and numpydoc docstrings. This skill is explicitly manual — Claude runs ruff on the files it has just touched, no hook involved.
Stop conditions — read before anything else
-
Untouched-file ask (copy this shape). When the user asks to also fix warnings on a file that was not edited this turn (e.g.
evaluate.pywhilepipeline.pywas touched):In-scope this turn: pipeline.py pixi run ruff format pipeline.py pixi run ruff check --fix pipeline.py pixi run ruff check pipeline.py