Some hints on writing...

When you "see the light" in how to solve a problem:

Write a one page table of contents for a strong paper that you would like to write

Then do exactly the research needed to fill in the holes in the paper

Then write a detailed outline. In fact, I suggest making slides for a talk and giving the talk to whoever will listen

Refine the slides.

Further refine the slides to make a detailed outline (e.g., one bullet per paper paragraph)

Then write the text. I find that you wind up deviating from the outline in certain local parts

Then put it away and reread it, or give it to colleages to read