rename-symbol

Rename identifiers like variables and functions across multiple code files with scope-aware validation.

Updated Apr 20, 2026
One-click install
npx skills add https://github.com/silva2kand/silva-ide --skill rename-symbol-silva2kand
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rename-symbol
Source: https://github.com/silva2kand/silva-ide/tree/main/_cowork_os_pack/package/resources/skills/rename-symbol
Command: npx skills add https://github.com/silva2kand/silva-ide --skill rename-symbol-silva2kand

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the process of renaming programming symbols like variables and functions throughout multiple files, eliminating manual edits and ensuring consistency.

Core Features & Use Cases

  • Large-scale Refactoring: Safely rename symbols across a codebase to improve clarity or adapt to new naming conventions.
  • Scope-aware Replacements: Ensures only relevant symbol references are updated without affecting unrelated text.
  • Use Case: When refactoring a codebase to change a function name from 'calculateTotal' to 'computeTotal', this Skill updates all instances in the project, maintaining import/export integrity.

Quick Start

Provide the current symbol name and the desired new name, then run the renaming process on your project files.

Frequently Asked Questions about rename-symbol

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I rename a function across multiple files in a codebase?

To rename a function across multiple code files, you provide the current symbol name and the desired new name to trigger an automated refactoring process that updates all instances consistently throughout your project.

What is scope-aware symbol replacement in code refactoring?

Scope-aware symbol replacement ensures that only relevant variable and function references are updated during refactoring, validating scope correctness to prevent unrelated text or similarly named identifiers from being accidentally modified.

Can I use automated renaming to update import and export statements?

Yes, automated renaming updates all instances of a symbol across a project, maintaining import and export integrity so that refactoring a function name like 'calculateTotal' to 'computeTotal' preserves all module dependencies.

What's the best way to apply new naming conventions to a large software project?

The best way to apply new naming conventions to a large software project is using multi-file symbol replacement to safely rename variables and functions comprehensively, improving code maintainability without manual edits.

Do I need to manually validate scope correctness after multi-file refactoring?

No, you do not need to manually validate scope correctness after multi-file refactoring, because the renaming process includes built-in scope validation to ensure only the targeted symbol references are updated without affecting unrelated text.