One way I get ideas is I like to think of a small mechanic I want to learn and try to fit a game around that.
Like if I was learning to make enemies shoot and follow the player I could make a action gun game, or if I wanted to learn a level up RPG system I could make a very basic RPG game focusing mainly the leveling up system.