This is something I'm starting to do. But my ever-evolving process is:
1. I get an idea and let it swirl around in my brain.
2. Record it in some fashion, most likely in the notebook I carry around.
2a. When I get to a computer, I create a GitHub issue in the repo that stores my posts.
3. I make a branch from the issue and create a draft.
4. I make a number of passes at it.
5. Once I'm satisfied, I'll create a Pull Request, and my partner will read and edit.
6. After edits, post.
I use GitHub to hold my drafts, because then I can copy/paste it to Hashnode (where my blog resides), and Dev.to - to get more exposure.
GitHub also has a Project feature that I use to keep track of the ideas and what I'm currently writing.
A community that offers a safe space for people to share their personal lives online (again). Social media doesn't have to be about only showing the best of you, all the time. Find support and community for your struggles – small and big.