I have an obsidian vault for each game. I write down a basic storyline first. Then I start filling in details for each 'chapter'. For the game systems, it's a lot of trial and error and inspiration from other media. But if it clicks together in a cohesive way, I end up adding it.
I will consider the rest, a lot of people have suggested similar things before but they take some time to implement. Thank you. :D