In the work bowl of a food processor, place flour, sugar, black cocoa, and salt; pulse until combined. Add cold butter and egg, pulsing until combined and mixture holds together when pressed, about 24 to 30 pulses. Turn out dough onto a lightly floured surface, and shape into a disk. Wrap in plastic wrap, and refrigerate for at least 1 hour.