01 - Preheat your oven to 400°F (200°C). Line a baking sheet with parchment paper.
02 - On a lightly floured surface, roll out the puff pastry sheet to smooth and slightly enlarge it.
03 - Spread the basil pesto evenly across the entire surface of the puff pastry.
04 - Crumble the goat cheese evenly over the pesto layer.
05 - Fold the pastry sheet in half lengthwise. Press gently to seal the edges.
06 - Using a sharp knife or pizza cutter, cut the folded pastry into 12 equal strips.
07 - Twist each pastry strip several times. Place the twisted strips onto the prepared baking sheet, ensuring they are spaced apart.
08 - Lightly brush the twists with the beaten egg. If desired, sprinkle with grated Parmesan cheese and freshly ground black pepper.
09 - Bake for 16–18 minutes, or until the twists are golden brown and puffed.
10 - Allow the twists to cool slightly before serving warm or at room temperature.