Without some sort of short-term (1-4 years) goal, whatever you do won't makes sense.
Once you know more what you like and what you want to pursue, then the pieces like specializing/generalizing will start to make sense.
Generally speaking, having a particular strong area is a good idea since teams need these type of people to fill in specific roles (even startups).
Don't rabbit hole into and stay curious to other things is also crucial ofcourse.