Read and write a lot of projects. Early career you need to get out there and see things. If you find stuff others are working on too all the better (e.g. OSS but there are other things like charity or public projects too)
Ask them what the original goal was, how that changed, what proved to be important, what was unexpected.