In a large mixing bowl, beat the butter, granulated sugar, and powdered sugar until light and creamy, about 2 to 3 minutes.
Add the egg yolk, vanilla extract, almond extract, and orange zest, if using. Mix until fully combined.
Add the flour and salt. Mix on low speed just until a soft dough forms.
Cover the dough and refrigerate for 30 minutes.
Preheat the oven to 350°F. Line two baking sheets with parchment paper.
Scoop about 1 1/2 tablespoons of dough and roll into 20 smooth balls.
Arrange the dough balls 2 inches apart on the prepared baking sheets.
Use your thumb or the back of a measuring teaspoon to create a deep indentation in the center of each cookie.
Fill each indentation with about 1/2 teaspoon of fig jam.
Refrigerate the filled cookies for 10 minutes.
Bake for 12 to 14 minutes, or until the edges are lightly golden.
If the centers puff slightly during baking, gently press them down again with the back of a spoon while still warm.
Cool on the baking sheet for 5 minutes before transferring to a wire rack to cool completely.