Warm the olive oil in a large frying pan set over medium–high heat; add the courgettes, garlic and a pinch of salt. Cook for 15–20 minutes, until jammy and golden.
Meanwhile, bring a large saucepan of salted water to the boil, add the green beans and the gnocchi; cook for 3–4 minutes until tender, adding the peas for the final minute. Drain and set aside.
Once the courgettes are cooked, set the heat to low; then tip the green beans and gnocchi into the frying pan. Add the butter beans, basil, coconut yoghurt (if using), lemon juice, chilli flakes (if using), a generous pinch of salt and plenty of black pepper; stir until combined.
Divide the gnocchi between bowls, scatter over the lemon zest and drizzle generously with olive oil.
