Preheat oven to 400 degrees.
Bring a pot of salted water to a boil. Cook the gnocchi for 3-5 minutes or until they start to float to the surface. Drain well and rinse lightly with water to keep from clumping together.
In the meantime in a deep skillet, heat 3 tbsp of avocado oil over medium heat. Add the sliced sausage, mushrooms and onion to the pan and cook until sausage starts to brown and mushrooms and onion soften, about 5-7 minutes.
Add kosher salt, pepper and red pepper flakes to the sausage mixture. Add the minced garlic and saute until fragrant, about 1 minute.
Add your spinach and cook until soft, about 1 minute longer. Then add your cooked gnocchi and marinara sauce and stir to combine. Add a swirl or blobs of pesto to the top and then top with your sliced marinara.
Bake in the 400 degree oven for 10-12 minutes or until the sauce is bubbling and the cheese is melted. Serve hot.