You make money by being able to do things other people can't do, or won't do. Most programmers won't or can't learn to do these well, so those that do get a very big leg up. When execs and owners try to figure out who should become dev leads, managers, CTOs, etc, they will be looking for these skills in addition to technical chops.
I can't stress this point enough. Learn to write product plans. Documentation that delights people being onboarded to new systems is always appreciated, often by yourself months -- or years -- later. Well written bug reports, feature request, and such can easily cut developer turn-around time in half.
And to add one more thing: humility. Be the type of person nobody >needs< to listen to because they can so clearly follow you by example.
To people downvoting this, think back when you were last annoyed by bad or even missing documentation. I bet this was very recently, if not today.
I completely agree with you but it seems pretty hard to hone that skill if there's no one to give you feedback.
e.g. you write some internal docs but then no one lets you know how could they be more useful/understandable, until someone else comes and re-writes the docs.
Also write. Write a lot. And ask for help. If you work with/know someone who is considered a good tech writer, I bet they will help you.
[this comment is coming from someone who writes mostly technical design documents needing to communicate a technical solution to a problem while also considering multiple alternatives]
write a blog post about stupid pointless problems you solved. and make that blog post useful for anyone who came accross that problem.
It is useless. But it is good practice for you, because being able to write technical documents that are easy to follow is highly valuable.
Oh and get everyone you know to criticize it like a code review :)
There is an art to writing concise, accurate text that someone can easily follow. Very few people are capable of this, and those that can have a serious advantage in their career trajectory.
It doesn't matter what you know, if you can't explain it to someone else.