tug-refactor

Official

Rename symbols across files with semantic safety.

Authortugtool
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enables semantic refactoring of Python codebases by safely renaming symbols across multiple files while updating all references with correct scoping.

Core Features & Use Cases

  • Multi-file symbol renaming: Update functions, classes, methods, and variables across a codebase with reference integrity.
  • Context-aware updates: Preserve imports, inheritance, and scope so changes remain correct.
  • Deterministic workflow: Provides verified, minimal-diff changes before applying modifications.

Quick Start

Use tug to analyze and then apply a rename across a Python project, for example renaming the function process_data to transform_data.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: tug-refactor
Download link: https://github.com/tugtool/tugtool/archive/main.zip#tug-refactor

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.