Cook pasta according to package until al dente.
Heat avocado oil in a large pan over medium-high heat. Add diced onion and sauté until translucent, about 2-3 minutes.
Add mushrooms to pan. Season with garlic, salt, pepper, and red pepper flakes to taste.
When mushrooms are almost brown, add squash, then cook until tender, about 10-12 minutes.
Add pasta sauce to pan with vegetables and simmer for a few minutes until heated through.
Drain & rinse cooked pasta, then add to pan with sauce and vegetables. Toss to coat pasta evenly with sauce.
Serve hot, garnished with fresh cilantro if desired. Enjoy!