continuedev/refactor-hotspot-files icon
public
Published on 11/4/2025
Refactor Hotspot Files

Finds frequently edited files, suggests refactors to split into smaller files.

Agents

Model

Continue Default (Claude Sonnet 4.5)

Tools

All built-in tools (default)

Prompt

Prompt to kick off agents. Additional user input is appended to this.

Run `node scripts/analyze-file-hotspots.js` to find the most frequently edited files in our codebase. Choose one and make a single tasteful refactor so that we can begin to split it into smaller files and avoid the file becoming a hotspot.

How to use this agent

Use this agent from Mission Control or Continue CLI. The agent prompt will be combined with your input to create the agent task.