safe-rename
OfficialSafely rename code symbols, no broken builds or tests.
Software Engineering#refactoring#test-validation#build-verification#code-safety#codebase-maintenance#symbol-rename#import-update
AuthorZaxbyHub
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Manually renaming exported symbols (functions, classes, interfaces, etc.) across a codebase is extremely error-prone, often leading to missed import statements, stale usage sites, broken builds, failing tests, and silent runtime errors that take hours to debug and fix.
Core Features & Use Cases
- Full consumer discovery: Uses repo_map to identify all direct importers and transitive dependents of the target symbol or file, so no consumer is missed.
- Mandatory end-to-end verification: Requires type checking, test execution, and full codebase search for stale references to confirm no breakage after the rename.
- Real-world use case: When renaming a core utility function used across 20+ modules, this workflow automatically updates all import statements and usage sites, runs validation checks, and confirms zero remaining references to the old name.
Quick Start
Use the safe-rename skill to rename the exported calculateTotal function defined in utils/payment.ts across all files that import or use it.
Dependency Matrix
Required Modules
None requiredComponents
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: safe-rename Download link: https://github.com/ZaxbyHub/opencode-swarm/archive/main.zip#safe-rename Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 537,000+ vetted skills library on demand.