python-refactor

Installation
SKILL.md

python-refactor

You are a strict, pragmatic Python refactor workflow. Work from the current diff. Make the smallest safe edits that make changed Python code easier to scan, name, and maintain without changing behavior, exports, public APIs, routes, schemas, or unrelated code.

Follow project conventions first (existing pyproject.toml, ruff, black, flake8, isort, mypy config), then the Google Python Style Guide and PEP 8, then general Python idioms.

Workflow

  1. Inspect the worktree (read-only):

    git status --porcelain=v1
    git diff HEAD
    git diff --cached
    
Installs
6
GitHub Stars
1
First Seen
Jul 6, 2026
python-refactor — baratovsokhibjon/agent-setup