global-ref-sync

Rename a global reference across a codebase and list affected files.

22|5|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/logic-math/rick --skill global-ref-sync
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: global-ref-sync
Source: https://github.com/logic-math/rick/tree/main/.rick/skills/global_ref_sync_skill
Command: npx skills add https://github.com/logic-math/rick --skill global-ref-sync

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps to automate the synchronization of references across a codebase when renaming a core element, ensuring no files are overlooked.

Core Features & Use Cases

  • Global Search and Replace: Automates the process of finding and replacing a core variable or function name across multiple files.
  • Preventive Refactoring: Ensures that renaming an element in one file triggers a systematic check and update across all relevant files.
  • Use Case: When renaming a critical function or variable used throughout a project, this Skill identifies all files that need to be updated and guides the refactoring process.

Quick Start

Run the skill to synchronize all references for the variable 'old_name' to 'new_name'.

Frequently Asked Questions about global-ref-sync

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

FAQPage Schema
How do I automate global reference renaming across a codebase?

To automate global reference renaming across a codebase, this Skill identifies and lists all files containing the old reference, then guides you through the refactoring process to ensure consistent naming.

What is the best way to prevent missing files during code refactoring?

Preventing missing files during code refactoring involves using an automated synchronization tool that systematically checks and lists all relevant files containing the target reference before applying updates.

Can I use this for global variable and function name synchronization in software development?

Yes, you can use this for global variable and function name synchronization in software development projects where consistent naming is crucial for maintaining codebase integrity.

How do I start synchronizing all references for a variable?

To start synchronizing all references for a variable, run the Skill to change a specified old name to a new name, which triggers a systematic search and update across your project files.

Does this codebase management tool require any dependencies?

No, this codebase management tool does not require any dependencies, allowing you to directly run the provided scripts to automate your global search and replace refactoring tasks.