In the bowl of a stand mixer fitted with the paddle attachment, beat butter, confectioners’ sugar, and salt at medium speed until pale and creamy, 2 to 3 minutes, stopping to scrape bottom and sides of bowl. Add egg, and beat until combined, stopping to scrape paddle and bottom and sides of bowl. With mixer on low speed, gradually add flour, beating until just combined.