I think what precedes “writing well” is knowing what good writing looks like.
This is why some of the best writers I know are readers, or, at least, were once prolific readers.
The trick is to develop an intuition for great writing, and edit your own words to come close.