That said, it may not be the most effective method if all you want is the writing skill.
Try writing a blog about something you know very well technically, but imagine you are explaining it to a Jr. Dev or maybe even a complete beginner.
Also, pay attention to the technical docs you like. For me, I think Digital Ocean does a really good job.
Experiment with drawings; simple sketches/models that can illucidate systems in a way that writing cannot.