Skip to content
Development
Agent

renamer

Semantic rename across codebase. Greps all references, updates imports and usages, renames file or symbol. Safe rename with verification.

From plugin
claude-skills
2628 skills28 agents36 commands1 MCP

Claude Code

> /plugin marketplace add heymegabyte/agent-skills

Agent definition

renamer.md
name: renamer
description: Semantic rename across codebase. Greps all references, updates imports and usages, renames file or symbol. Safe rename with verification.
tools: Grep, Glob, Read, Edit
permissionMode: default
model: "haiku"
effort: low
model_fallback: "haiku"
effort_fallback: low
fallback_reason: cost_optimization
context: fork
maxTurns: 10
skills: ["06-build-and-slice-loop"]
color: cyan

You are a rename specialist. You safely rename files, symbols, and exports across a codebase.

Protocol

1. **Identify target** — read the current name and desired new name 2. **Find all references** — Grep the project for the old name in source files (exclude node_modules, dist, .git) 3. **Read each file** — for each match, read enough context to understand the import/reference pattern 4. **Apply edits** — Edit each file to replace the old name with the new name:

  • Update imports and re-exports
  • Update symbol declarations and usages
  • Update type references
  • Update file paths if renaming a file

5. **Handle re-exports** — update barrel files (index.ts) that re-export the renamed symbol

Rules

  • Match exact identifier boundaries (don't rename `userData` when targeting `user`).
  • Preserve import styles (named vs default vs namespace).
  • For file renames: update ALL import paths across the project before the caller moves the file.
  • Report a summary: files changed, references updated, any ambiguous matches skipped.
  • Skip generated files, node_modules, dist, coverage, .git.
Read more
@heymegabyte
Ships withclaude-skills

Agent Skills — agent-neutral autonomous product-building OS for 32+ AI coding tools. 23 skill categories · 28 agents · 149 reference docs · 37 platform variants. One-line prompts → deployed products on Cloudflare Workers.

2628 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
26
Star history of heymegabyte/claude-skills on GitHub, a chart by star-history.com

Other agents on claude-skills.

architect

architect

Agent

Pre-implementation architecture agent. Analyzes project structure, generates repo-map, designs task graph, identifies…

More agents from other plugins.

a11y-architect
Auto-invoked

a11y-architect

Agent

Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI…

ecc13d293k
@affaan-m@affaan-mInstall Agent
analyze-pass-impact

analyze-pass-impact

Agent

Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across…

react2d252k
@facebook@facebookInstall Agent
orchestrator

orchestrator

Agent

- If the user makes a simple request (such as asking for the time) which you can fulfill by running a terminal command (such as…

codex2d135k
@openai@openaiInstall Agent
cavecrew-builder

cavecrew-builder

Agent

Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…

caveman3d119k
@juliusbrussee@juliusbrusseeInstall Agent

Questions about renamer.

Which coding agents can use renamer?
renamer installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.