In the bowl of a stand mixer, combine softened butter, egg yolks, powdered sugar, flour, baking soda, and salt. Beat on medium speed for about 4 minutes, or until the mixture forms a coarse, clumpy dough. If mixing by hand, blend the ingredients in a large bowl using your hands until a thick, pliable dough forms with a slightly crumbly texture.
Scoop out approximately 2 teaspoons of dough and roll it into a small ball. Place the dough ball into the center of your walnut mold and press down with your thumb. Using your fingers, gently spread the dough along the interior, ensuring a very thin, even layer of about 1/5 inch in thickness. Use a small knife or your fingertip to trim off any dough that rises above the mold’s edge.
If working with a Nordic Ware Autumn Cakelet pan, use about 1 tablespoon of dough per cavity. Press and spread the dough thinly and evenly across the mold, ensuring that no metal peeks through. Trim any overhang carefully with a paring knife.
Arrange all filled molds on a baking sheet and bake in a preheated 350°F (175°C) oven. Standard walnut molds should bake for about 10–15 minutes or until light golden in color. The Nordic Ware pan requires a shorter bake time—about 8–10 minutes—since its structure conducts heat more quickly.
Once baked, remove the cookies from the oven. While still warm, gently tap the edge of the molds on a countertop to loosen and release the shells. Allow them to cool completely on a wire rack.
For the Nordic Ware version, place a wire cooling rack over the pan, flip the mold and rack together in one swift motion, and give the mold a few firm taps to release the cookies. Let them cool thoroughly.