If you wanted to go from good to great - electrician, plumber, bricklayer - what would you do?
It's not magic. Take yourself seriously as a tradesperson, continually read about the field, and work for companies that provide you with high quality experiences.
I don't know that I'd call myself a 'great' programmer, but I am quite a bit better than I was ten years ago. And the reason for that largely comes from using that ten years of experience to improve my understanding of the field.
There isn't a silver bullet beyond putting the work in.