一键导入
refactor-bot
Tools for automated refactoring and codebase cleanup. Use when renaming things, moving files, or consolidating logic.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Tools for automated refactoring and codebase cleanup. Use when renaming things, moving files, or consolidating logic.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | refactor-bot |
| description | Tools for automated refactoring and codebase cleanup. Use when renaming things, moving files, or consolidating logic. |
Refactor Bot helps you transform the codebase efficiently and consistently.
scripts/search_replace.sh <search_pattern> <replace_pattern> [ext] to perform a search and replace across the project. Use with caution!scripts/check_naming.sh to find files that don't match common naming conventions (camelCase vs snake_case vs kebab-case).scripts/find_duplicates.sh <min_occurrences> to find lines of code that appear frequently, suggesting potential for extraction into components or utilities.search_replace.sh to update call sites.check_naming.sh to ensure any new files follow project conventions.Advanced git operations including committing, pushing, and branch management. Use this when you need to persist changes to the remote repository.
Build and maintain Excalidraw architecture diagrams. Use this when the user asks to "draw", "diagram", or "visualize" an architecture or process.
Automated code review and quality checks. Use when you need to review changes, find TODOs, or identify complex files.
Hunt for weird, hacky, or funny code snippets and add them to the Hall of Weirdness (MUSEUM.md).
Automated documentation generation and auditing. Use when extracting comments, generating READMEs, or finding undocumented code.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.