In the work bowl of a food processor, place flour, sugar, black cocoa, and salt; pulse until combined. Add cold butter and egg, pulsing just until combined and mixture holds together when pressed, 24 to 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.