Refactor is an AI agent skill from the GitHub repository I-Synergy/I-Synergy.Framework. Bulk refactor specialist. Use for large-scale find-and-replace transformations, renaming patterns across the entire solution, or systematically migrating from one pattern to another. Trigger whenever the user says "rename X to Y everywhere", "change all X to Y", "migrate from X to Y", or needs to ap
Claude Code: save it as .claude/skills/refactor/SKILL.md
Cursor: save it as .cursor/rules/refactor.md
Codex: save it as .agents/skills/refactor/SKILL.md
ChatGPT, Gemini and other assistants: paste it into custom or project instructions
Skill file
Bulk Refactor Skill
Read the reference file the user provides to understand the target pattern
Use Grep to find ALL files matching the old pattern across the entire solution
Apply the transformation to every file found
After all edits, grep again to verify ZERO remaining instances of the old pattern (check string literals, logger calls, exception messages, and all other contexts)
If any remain, fix them
Delete any obsolete files that were replaced
Run dotnet build to verify no compilation errors
Use this skill with your AI agent:Open on Skill Issue to copy, download, or add to your library.
Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.