I've been in that funk before, several times actually, and I've found that just forcing myself to skate for the sake of skating works for me.
Basically, I when someone asks me "when was the last time you skated?" I can say "yesterday" or "just a few minutes ago."
One other thing is that I stopped pushing myself too hard... I mean, I still skate to progress, but not every session. Sometimes it's nice to just grab my board, step out of the house, and skate to the end of the street and back... just enjoying the act of rolling, not sweating any tricks or complications. On top of that, not feeling like skating emotionally actually makes me make it a point to go skate... sort of like the equivalent to grudge-fucking a chick you don't particularly like.
I'm off my board for a few weeks right now because of a sprain, but all I want to do is roll... partially because I'm not in a slump mentally, and partially because every time I'm off my board due to circumstances beyond my control, it makes me afraid of the eventual day that will one day come around... the day that I simply won't be able to skate at all, for good.
Having said that, when I don't feel like skating, I make an attempt to skate anyway... because on the days that I don't, I won't have those days to remember when I can't.