Preheat the oven to 400°F (205°C) and bring a large pot of salted water to a rolling boil.
Cook 8 oz (225 g) ziti for 6 to 7 minutes until just shy of al dente, reserve 1/4 cup (60 ml) pasta water, and drain well.
Heat 1 tbsp (15 ml) olive oil in a 10-inch (25 cm) oven-safe skillet over medium-high heat, then cook 1 lb (454 g) lean ground beef and 1/2 cup (75 g) diced onion for 6 to 7 minutes until browned and no pink remains.
Stir in 3 minced garlic cloves (9 g), 1/2 tsp (1.5 g) Italian seasoning, and 1/4 tsp (0.5 g) red pepper flakes, cooking for 1 minute until fragrant.
Pour in 24 oz (680 g) marinara sauce, simmer for 2 minutes, and fold in the drained ziti along with 1 to 2 tbsp (15 to 30 ml) reserved pasta water if needed.
Dollop 3/4 cup (185 g) ricotta over the pasta, sprinkle with 1 cup (115 g) mozzarella and 1/3 cup (35 g) Parmesan, and bake uncovered at 400°F (205°C) for 10 to 12 minutes until bubbling and golden.
Rest for 5 minutes, garnish with 2 tbsp (8 g) fresh basil or parsley, and serve warm.