We keep a stockpile of pantry essentials
Since Covid we keep a backup of the pantry staples we use, and we add each item to the shopping list when we open it, so dinner rarely waits on a store run.
https://www.afterpickup.com/pantry-essentials-stockpile/
During Covid we started keeping a stockpile of pantry essentials, the non-perishable food items we reach for all the time, and we have kept that habit ever since, which means we almost never run out of those staples anymore.
Whenever we move something from the pantry into the fridge, we add it to the shopping list so the backup gets replaced before the bottle on the shelf is the last one. It is a small loop, but it is the whole system: use from the stock, restock the stock, and keep the fridge and the meals moving without a scramble.
We hardly run out of any pantry item in a given year, maybe every other year, and even then it is rare, which matters with three kids who often change their minds last minute about what they want to eat. That buffer lets dinner pivot without someone having to dash out for a single bottle of ketchup.
The stockpile is not fancy. It is just the boring essentials kept deep enough that the house stays ready when the plan changes after pickup, the same way warm tap water thaws a pound of ground beef when we forgot to pull anything that morning.