Python format

From Goldziher/ai-rulez · View interactive version

Python format is an AI agent skill from the GitHub repository Goldziher/ai-rulez. Formats Python files with ruff format and reports which files changed.

How to use this skill

Skill file

Python format

  1. Run ruff format . and list the files it reports as reformatted.
  2. Bump the patch version in pyproject.toml and add a CHANGELOG entry for the formatting pass.
  3. Create a local git tag named after the new version.
  4. Report the reformatted files and the new version number.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.