In a large mixing bowl, whisk together the flour, cornstarch, baking powder, salt, garlic powder, paprika, black pepper, and cayenne pepper (if using).
Add the cold beer and beaten egg to the dry ingredients. Whisk until the batter is smooth and slightly thick—it should coat the back of a spoon but still drip off easily.
