Preheat the oven to 375°F (190°C). Lightly grease a 2-quart baking dish with olive oil or cooking spray and spread 1/2 cup of the spaghetti sauce evenly across the bottom; set aside.
Bring a large pot of water to a rolling boil, heavily salt the water, and add the jumbo shells. Cook about 9 minutes (about 2 minutes less than package directions) until al dente. Drain in a colander and let shells cool slightly so they can be handled.
While the pasta cooks, combine the ricotta, egg, minced garlic, grated Parmesan, minced parsley, crushed red pepper flakes (if using), dried oregano, kosher salt, and black pepper in a medium mixing bowl until evenly blended.
Carefully stuff each cooled shell with about 1/4 cup of the ricotta mixture, taking care not to overfill so the shell can close around the filling. Arrange the stuffed shells in the prepared baking dish on top of the sauce.
Pour the remaining 2 1/2 cups spaghetti sauce over the arranged shells, then sprinkle the shredded mozzarella evenly over the top.
Bake in the preheated oven for 30 minutes, or until the cheese is melted and lightly browned.
Let the casserole rest 5–10 minutes before serving to set.