In a medium bowl, whisk together flour, baking soda, and salt. Set aside.
In a large mixing bowl, combine melted butter, brown sugar, and granulated sugar. Whisk until smooth and glossy.
Add the egg, egg yolk, and vanilla extract. Stir until well blended.
Gradually fold in the dry ingredients. The dough will be thick but soft. Do not overmix.
Gently stir in chocolate chips (and nuts if using).
Cover the bowl with plastic wrap and chill the dough for at least 1 hour. This step helps prevent spreading and enhances flavor.
Preheat oven to 350°F. Line two baking sheets with parchment paper.
Scoop dough into 2-tablespoon mounds and place 2 inches apart on the prepared sheets.
Bake for 10–12 minutes, until edges are golden but centers still look slightly soft.
Let cookies cool on the pan for 5 minutes before transferring to a wire rack.