Lenses and Patterns for Motivational Game Design
About
Motivations
Mechanics
Fiction Interface
Just start by having a look at the editing guidelines.
Or explore some examples, like the Lens of Juicy Feedback or the Juicy Feedback pattern.