Skip to content
Goatfied

Guides

Multi-file refactors

How to plan, propose, and review repo-wide changes.

The pattern

  1. Open Composer (⌘K) and describe the goal.
  2. @-mention the directories or symbols that matter.
  3. Ask for a plan before edits ("plan first, then apply").
  4. Approve or revise the plan.
  5. Apply per-file; run tests; iterate.

Tips

  • Keep refactors small enough to land in one PR.
  • Attach @git so the model can see what you’ve already changed and stay consistent.
  • Use rules to lock in conventions across iterations.
Goatfied — The AI code editor