- Preheat the oven to 400°F . Line a baking sheet with parchment paper or a silicone baking mat. Place the two halves of the squash on the baking sheet, cut side up. Lightly spray the top with olive oil and sprinkle with salt and pepper.
- Bake for 35 to 45 minutes, until the flesh is easily pulled apart with a fork. Remove from the oven and set aside to cool.
- While the squash is roasting, make the pesto : Combine all the ingredients in a food processor and process until mostly smooth (teeny chunks or pieces are okay), pausing to scrape the sides as needed. Set aside until ready to use.
- Once the squash is cool enough to touch, use a fork to tear the flesh into spaghetti-like strands.
- Heat the olive oil in a large shallow saucepan over medium heat. Add the shallot and cook until just translucent. Add the kale, peas, and squash strands and cook, stirring occasionally, until the kale begins to wilt. Stir in the pesto sauce.
- Taste and add salt and pepper if necessary. Serve immediately, topped with Pepita Parmesan, if desired. Keep leftovers in an airtight container in the fridge for up to 2 days.