Grate the smoked ricotta and set it aside.
Wash the zucchini and cherry tomatoes, slice the zucchini into rounds and cut the tomatoes in half, removing the seeds. Brown the garlic in a pan with a drizzle of oil, then remove the garlic clove, add the vegetables, salt, and pepper. Cook over medium heat until the vegetables have softened.
Meanwhile, cook the pasta in plenty of salted water. Drain the pasta when it is al dente, pour it into the pan with a little cooking water and sauté for a minute.
Plate and garnish with smoked ricotta shavings and basil.