For things that require focus, I do pomodoros. Knowing I have a break of X minutes coming up in Y minutes lets me focus on the task. It also provides a mini-deadline so I'm more likely to get the task done. Just before the break, I spend a minute or two deciding which micro-task I'm going to tackle during the next pomodoro, and do what I need to close up the current micro-task and prep for the next one so I can hit the ground running. This helps motivate me to start the next pomodoro at the end of those X minutes as well as make the best use of that time.