Cream the softened butter with the sugar. Add the egg, then stir in the flour, vanilla, and salt. Mix until a smooth ball forms, being careful not to overwork the dough. Flatten it slightly, cover with plastic wrap, and refrigerate for 1 hour.
Dust the work surface with flour and roll out the dough to a thickness of 4 mm. Cut out pumpkin and ghost shapes using cookie cutters, then cut out the eyes and mouths on half of the cookies.
Place the cookies on a baking sheet lined with parchment paper and refrigerate for 15 to 30 minutes.
Preheat the oven to 180 °C, then bake for 10 to 12 minutes, until lightly browned. Let cool on a wire rack.
Spread the spread on the solid cookies, top with a lace cookie, and decorate with chocolate pens.