mdsiaofficial/folderly — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a simple command line file organizer called folderly. I want to run it in a folder and have it move loose files into clean category folders like documents, images, music, videos, code, archives, data, fonts, logs, and others based on the file extension.

Keep it predictable and safe. It should only organize the folder I point it at, not scan subfolders, and it should leave existing folders alone. Unknown file types should go into an others folder. I also want to be able to organize only certain categories when I ask for them, like just code and images, and it should stop with a clear error if I type an invalid category or give a missing directory.

Add a clear help screen that shows how to use it and lists the valid categories. Make extension matching case insensitive. For files ending in ts, treat small ones as code and large ones as videos. Make it easy to run from npm or npx.

Want more depth? Deep Reverse