Preheat your oven to 375°F (190°C). Now you can't back out of making dinner.
Cook the pasta shells according to package directions, but aim for al dente (they'll cook more in the oven). Pro tip: Add a splash of olive oil to the water to help prevent sticking.
Drain the shells and rinse with cold water to stop the cooking process. Lay them out on a baking sheet so they don't stick together while you make the filling. (Yes, they look like little mouths waiting to be fed. Try not to anthropomorphize your dinner.)
In a large mixing bowl, combine the ricotta, 1 cup of the mozzarella, all the Parmesan, eggs, garlic, basil, oregano, and red pepper flakes if using. Mix well.
If using fresh spinach, wilt it in a pan with a tiny splash of water for 1-2 minutes, then squeeze out excess moisture. Fold the spinach into your cheese mixture. Season with salt and pepper to taste.
Spread 1 cup of marinara sauce across the bottom of your baking dish. Think of it as creating a little sauce jacuzzi for your shells to relax in.
Fill each shell with a generous spoonful of the ricotta-spinach mixture. Don't be stingy—really stuff those shells! They should look like they hit an all-you-can-eat buffet.
Arrange the filled shells in the baking dish, open side up. Pack them in cozily, but don't squish them.
Top with the remaining marinara sauce, making sure each shell gets some saucy love.
Sprinkle the remaining cup of mozzarella over the top. Remember, this is where the Instagram-worthy cheese pull comes from.
Cover the dish with foil and bake for 25 minutes. Then remove the foil and bake for another 5-10 minutes until the cheese is bubbly and slightly golden.
Let it rest for 5 minutes before serving. Garnish with fresh basil if you're feeling fancy.