Refactor

From I-Synergy/I-Synergy.Framework · View interactive version

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

How to use this skill

Skill file

Bulk Refactor Skill

  1. Read the reference file the user provides to understand the target pattern
  2. Use Grep to find ALL files matching the old pattern across the entire solution
  3. Apply the transformation to every file found
  4. 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)
  5. If any remain, fix them
  6. Delete any obsolete files that were replaced
  7. 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.