Because peanut butter is salty and you'll add a pinch of salt to the dough, use unsalted butter. Soften it first.
Sugar - Granulated and brown sugars balance sweetness and caramelization.
Egg – Holds it together.
Vanilla extract adds complexity to peanut butter.