Import a module

Import a module in JavaScript — 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

+
Import the date utilities from the shared library at src/lib/date-utils.js and use the formatIso…
Import the date utilities from the shared library at src/lib/date-utils.js and use the formatIso function in this module. Add the import statement at the top and replace the existing inline formatter with a call to formatIso(date).

Improve — make it easier to accept

+
Before I open the pull request, make the import and usage review-friendly: show the exact import…
Before I open the pull request, make the import and usage review-friendly: show the exact import line, explain whether formatIso is a named or default export, include the one-line reason we prefer the shared util over the inline formatter, and list any bundle or circular-dependency risks a reviewer should watch for.

Decide — diagnose the stuck moment

+
I replaced an inline formatter with an import from src/lib/date-utils.js and bundle size increased…

I added an import and the app bundle grew unexpectedly

I replaced an inline formatter with an import from src/lib/date-utils.js and bundle size increased by 30KB. I don't know whether formatIso pulls in heavy dependencies. Who on the team decides acceptable bundle growth, what do I ask them, and what immediate steps can I take to check whether the import pulls in extra modules so I can revert or optimize?

Become — change the pattern

+
Across multiple features we keep importing small helpers instead of sharing a single lightweight…

We keep proliferating small imports that bloat bundles

Across multiple features we keep importing small helpers instead of sharing a single lightweight utility, and bundle size creeps up. Where are we losing time and credibility — in local fixes, lack of bundle checks, or unclear ownership — and what policy and tooling change will stop this pattern without blocking everyday work?

Next to this one

Other programming language work people do in JavaScript.

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.