Prep the basics. Heat your oven to 350°F (175°C).
Line two baking sheets with parchment paper. Set your butter out to soften if it’s not already room temperature.
Cream butter and sugar. In a large bowl, beat 1 cup (2 sticks) unsalted butter with 2/3 cup granulated sugar until light and fluffy, about 2–3 minutes. This step builds structure and gives you a tender crumb.
Add egg yolk and extracts. Beat in 1 large egg yolk, 1 teaspoon almond extract, and 1 teaspoon vanilla extract until smooth.
Reserve the egg white in a small bowl if you plan to roll the dough in nuts.
Combine dry ingredients. In a separate bowl, whisk 2 cups all-purpose flour with 1/4 teaspoon fine salt. Add the dry mixture to the wet ingredients and mix on low just until a soft dough forms. Do not overmix.
Chill briefly. Cover the bowl and chill the dough for 20–30 minutes. Chilling helps prevent spreading and makes the dough easier to handle.
Portion and shape. Scoop the dough into 1-inch balls (about 1 tablespoon each).
For a nutty finish, dip each ball in the reserved egg white, then roll in finely chopped almonds.
Make the “thumbprint.” Place the balls on the lined sheets about 2 inches apart. Press a deep well in the center of each with your thumb or the back of a 1/2-teaspoon measure. If the dough cracks, just nudge it back together.
Fill with jam. Stir the raspberry jam to loosen it.
Spoon about 1/2 teaspoon into each well, being careful not to overfill. Overfilling can cause overflow and sticky edges.
Bake. Bake for 12–14 minutes, rotating the sheets halfway through. The edges should look set and just turning golden, while the centers remain pale.
Cool properly. Let the cookies rest on the sheet for 5 minutes, then transfer to a wire rack to cool completely. The jam will set as they cool.
Optional glaze. Whisk 1/2 cup powdered sugar with 1–2 teaspoons milk and a drop of almond extract.
Drizzle lightly over cooled cookies for a bakery-style finish.