Plan and execute safe refactors — break down a big file, untangle architecture — without breaking behavior.
Refactoring is risky when you do it blind. These prompts produce a step-by-step plan for breaking down a large file or untangling an architecture, with behavior-preserving changes ordered so you can ship them incrementally. They focus on a safe sequence and clear checkpoints rather than a single risky rewrite. Each is attached to a real project and runs on your own key.
Point it at a README and file tree and get a map: what the repo really does, the files that matter most, and a sane first task.
Paste an overgrown file. Get a safe, incremental refactor plan — seams to cut, the order to cut them, and how to keep it green at every step. No rewrite-from-scratch advice.