Heat the oven to 375°F and line two baking sheets with parchment paper.
Whisk the flour, baking powder, baking soda, and salt in a medium bowl.
Beat the softened butter, granulated sugar, and brown sugar in a large bowl with an electric mixer on medium speed for 2 to 3 minutes, until light and fluffy.
Beat in the egg and vanilla until the mixture is smooth.
Add the flour mixture on low speed and mix just until a soft dough forms. Do not overmix, or the cookies will be tough.
Fold in the farkleberries gently with a wooden spoon or spatula, so the berries stay whole. If you used frozen berries, thaw and drain them first and pat them dry.
Scoop the dough into 1 1/2-tablespoon balls and place them 2 inches apart on the baking sheets. You should have about 24 cookies.
Bake for 10 to 12 minutes, until the edges look set and lightly golden and the centers still look a little soft. Let the cookies cool on the baking sheets for 5 minutes, then move them to a wire rack.