I think the only thing that is needed is understanding boss/company/co-workers etc, who understand the way that you work.
Working like this seems natural to me, big explosive bouts of high productivity, churning out cool stuff, and then days of nothing. I think part of it is that the days of 'nothing' seem like nothing, when in reality they are often 'thinking' days, where you solve problems, but just don't happen to produce code.