01 - Preheat the oven to 400°F. Line a baking sheet with parchment paper.
02 - Carefully halve the spaghetti squash lengthwise using a sharp knife. Scoop out and discard the seeds. Optionally brush the cut sides with a light coating of olive oil.
03 - Place the squash halves cut-side down on the prepared baking sheet. Roast for 35 to 40 minutes until the flesh is fork-tender and the strands separate easily when pulled with a fork.
04 - While the squash roasts, melt the butter in a medium saucepan over medium heat. Whisk in the flour and cook for 1 minute, stirring constantly to form a smooth roux.
05 - Slowly pour in the milk while whisking continuously until smooth. Bring the mixture to a gentle simmer and cook for 2 to 3 minutes, stirring constantly, until the sauce thickens enough to coat the back of a spoon.
06 - Remove the saucepan from the heat. Add the shredded cheddar, grated Parmesan, garlic powder, ground mustard, salt, and black pepper. Stir until all the cheese has melted and the sauce is completely smooth.
07 - Use a fork to shred the roasted squash flesh into spaghetti-like strands. Transfer the strands to a large bowl and gently toss with the cheese sauce until evenly coated throughout.
08 - For a golden baked finish, transfer the coated squash mixture to a greased baking dish. In a small bowl, combine the panko breadcrumbs, Parmesan cheese, and melted butter. Sprinkle the topping evenly over the squash. Broil on high for 2 to 3 minutes until the top is golden brown and crispy.
09 - Serve warm, garnished with additional Parmesan or fresh herbs if desired.