Rename a file

Rename a file in Visual Studio Code — with the four heights of help laid out: do it now, make it easier for the next person to accept, work out the right move when you are stuck, and learn the pattern so it stops coming back.

4prompt heights
Open it in the interactive atlas →

The four heights

The same task, four distances: today's deadline, the next reviewer, the stuck moment, the pattern.

Execute — do the immediate task

+
Rename the file used by the inventory API: change src/api/oldInventory.js to src/api/inventory.js,…
Rename the file used by the inventory API: change src/api/oldInventory.js to src/api/inventory.js, update any imports in src and tests so they still resolve, and run the unit tests before I push to the feature branch by Monday.

Improve — make it easier to accept

+
Before I rename this module, make the change low-friction for reviewers: rename…
Before I rename this module, make the change low-friction for reviewers: rename src/api/oldInventory.js to src/api/inventory.js, update all project imports, add a short note in the git commit message explaining why, and run tests to show nothing broke so the reviewer can focus on logic changes not refactoring noise.

Decide — diagnose the stuck moment

+
I renamed src/api/oldInventory.js to src/api/inventory.js and now multiple imports fail. The…

I renamed a file and imports started failing across the repo.

I renamed src/api/oldInventory.js to src/api/inventory.js and now multiple imports fail. The release manager needs a green build; I don't know whether some imports reference the old path, if case-sensitivity on the build server is causing it, or if I missed updating index exports. What's the most likely cause and the quickest fix to restore a green build?

Become — change the pattern

+
I keep renaming files by hand and then spend time hunting broken imports and CI failures. What…

I rename files manually and break imports repeatedly.

I keep renaming files by hand and then spend time hunting broken imports and CI failures. What single change to how I rename files or one habit to adopt will prevent these regressions across projects?

Next to this one

Other code editor work people do in Visual Studio Code.

Every task here came from the work, not from a feature list — which is why the prompts name what you want done and never the button that does it. The tool changes; the work does not.
Copyright © LLOS.ai · 2026 — original pedagogy, voice, and design — all rights reserved.

The rest of the map

Same library, five ways in.