Refactor

From vchelaru/FlatRedBall · View interactive version

Refactor is an AI agent skill from the GitHub repository vchelaru/FlatRedBall. This skill should be used when the user asks to refactor code, do a refactor pass, clean up code, extract a class or service, inject a dependency, or make incremental improvements to existing code structure.

How to use this skill

Skill file

Refactoring in Glue

See REFACTORING.md for the full philosophy, checklist, and status of ongoing refactoring efforts.

Core principle

Incremental is good. A small step in the right direction — even if it doesn't finish the job — is valuable. You do not need to complete an entire refactor in one pass. Leave the code measurably better without rewriting everything at once.

What this means in practice

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.