Preheat the oven: Set to 375°F (190°C). Lightly grease a 9x13-inch baking dish.
Sauté aromatics: Warm olive oil in a skillet over medium heat.
Add onion and cook 3–4 minutes until translucent. Stir in garlic for 30 seconds until fragrant.
Season the base: Add green chiles, cumin, chili powder (if using), salt, and pepper. Cook 1 minute to bloom the spices.
Make the creamy filling: Reduce heat to low.
Stir in cream cheese until melted and smooth. Add sour cream and 1/2 cup salsa verde, stirring until combined.
Add chicken and cheese: Fold in shredded chicken and 1 cup of the cheese. If using cilantro, stir it in now.
Taste and adjust salt.
Warm the tortillas: For flour, wrap in a damp paper towel and microwave 20–30 seconds. For corn, lightly toast in a dry skillet 10–15 seconds per side to prevent cracking.
Assemble: Spread 1/2 cup salsa verde on the bottom of the baking dish. Spoon 1/3–1/2 cup filling down the center of each tortilla, roll snugly, and place seam-side down in the dish.
Sauce and cheese: Pour the remaining salsa verde evenly over the enchiladas.
Top with the remaining 1 cup cheese.
Bake: Cover loosely with foil and bake 15 minutes. Remove foil and bake another 10–12 minutes, until the cheese is melted and bubbly with light golden spots.
Rest and serve: Let sit 5 minutes. Top with fresh cilantro, avocado, or crema if you like.
Serve with lime wedges.