一键导入
rename-symbol
Safely renames a function, variable, type, or class across the entire codebase
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Safely renames a function, variable, type, or class across the entire codebase
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Analyzes the current session's token usage, pinpoints where tokens were wasted, and produces concrete optimization actions
Generates API documentation from route definitions (Express, Fastify, Hono, etc.)
Adds caching to expensive operations - Redis, in-memory, HTTP cache headers
Staged değişiklikleri analiz edip Conventional Commits formatında commit mesajı oluşturur
Reports cyclomatic complexity hotspots and refactoring suggestions
Finds unused functions, variables, exports, and dependencies across the codebase
基于 SOC 职业分类
| name | rename-symbol |
| description | Safely renames a function, variable, type, or class across the entire codebase |
| argument-hint | <old-name> <new-name> |
| user-invocable | true |
| allowed-tools | Bash Grep Read Edit |
| effort | low |
Old name: $1 New name: $2
grep -rn "\b$1\b" . --include="*.ts" --include="*.tsx" --include="*.js" --include="*.jsx" --exclude-dir=node_modules --exclude-dir=dist
Categorize occurrences:
Show the full list. Flag any in string literals or external-facing API contracts as risky.
Ask for confirmation, then rename all (except flagged ones).
Run type check to verify:
npx tsc --noEmit
Report any errors introduced.