Isn’t keeping the right question(s) in one’s head crucial ?
Can we spot the coins that did this on coinmarketcap ?
Can we then trace back and see what happened and spot some kind of pattern ?
It's not possible to do it , just take time to research a project/devteam/roadmap and when you find a good one that you like buy it.
Even then there is no way to be sure , a lot of things can happen to make a coin fail even with good devs.