I like to say that I am a 10x developer 10% of the time. My work tends to be very "bursty" followed by long bouts of low productivity. It probably has more to do with my mental health than anything else. :/
- enough sleep, rather get in bed early than late as the quality of the sleep depends on natural rhythms
- engage with people that are affected by my work - this is important for motivation and to keep track of what actually matters
- operationalize everything, say out loud what to do next
- being honest when I have bad focus, talk about it
- trust my instinct and do the right thing, if I don't I quickly lose focus and motivation, if opinions don't align learn why
Many, many years ago a colleague wrote about the experience of being bipolar and choosing to stop taking the lithium for a temporary productivity boost and subsequent crash.