{"repo":"brian-yu/python-rope-refactor","free":true,"listed":false,"github":"https://github.com/brian-yu/python-rope-refactor","clone":"git clone https://github.com/brian-yu/python-rope-refactor.git","description":"A skill that teaches LLM agents how to use rope for python codebase refactors","language":"Python","stars":42,"topics":["claude-code","codex","codex-cli","python","refactoring","rope","skills"],"license":null,"category":"ai-agents","readme_excerpt":"python-rope-refactor A small Codex CLI skill that nudges the agent to use rope (via a wrapper script) for mechanical Python refactors: renames, moves, import updates, etc. Disclaimer This skill is under development! - it is intentionally pragmatic - it may have sharp edges - please treat it like a helpful power tool, not a polished library Prerequisites Make sure uv is installed and available. What's in here - SKILL.md : the skill instructions Codex reads (includes a rope-first workflow + examples) - scripts/rope refactor.py : a small CLI wrapper around common Rope refactorings The wrapper is designed around a safer loop: 1) run with --dry-run 2) review the diff-like output 3) re-run with --apply 4) review git diff and run tests/typechecks What it can do (via scripts/rope refactor.py ) - Move a module into another package ( move-module ) - Rename a module file ( rename-module ) - Rename a symbol (class/function/variable) ( rename-symbol ) - Extract function / method ( extract-function , extract-method ) - Inline variable / method ( inline-variable , inline-method ) - Organize imports ( organize-imports ) - Run a JSON-driven batch of operations ( batch ) Run uv run scripts/rope refactor.py --help for the full command list. Installing / using as a Codex skill This repo is meant to be copied into your Codex skills directory. Typical location: - /.codex/skills/python-rope-refactor/ Minimum required files: - SKILL.md - scripts/rope refactor.py Once installed, Codex will discover i","default_branch":null,"files":null,"tree":[],"storefront":"/r/brian-yu","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/brian-yu/python-rope-refactor/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}