Start cooking your pasta by instructions, when it’s done, drain it but absolutely save some starchy water that pasta was cooking in.
Then add cream cheese and basil pesto to the pasta and stir it up while slowly adding in starchy water to turn it into the creamy consistency you want. Taste it then season with salt and black pepper accordantly. Sprinkle with grated cheese on top and serve straight away.