Place dry ingredients in a food processor and pulse a couple of times to incorporate all the ingredients. Add the cold butter and pulse a few times until butter becomes the size of peas. Add the egg and vanilla and pulse a 2-3 more times. The dough will look very crumbly, however, if you take some in your hand and it comes together it’s ready.