Having said that, let me be clear that it will not cure things overnight. It takes a year or three to recreate a balanced soil ecology. There are no instant cures in the garden and those who promise a magic bullet are selling snake oil. The more compost you use, the faster the soil will regenerate but it isn't an overnight affair. Compost in the garden is like a true love - you keep feeding the romance and the romance warms your life.
Good romance takes time to develop just like a good garden soil.
Mulch your gardens. Mulch preserves soil moisture and as our summers seem to be getting hotter and drier, mulch will keep our gardens healthier and reduce our water bills. Mulch not only maintains an even soil moisture, it moderates soil temperatures. Once the soil and air temperatures start to rise above good growth levels, crop yields go down. Pests such as earwigs that like to eat rotting organic matter live below the mulch and don't bother the flowers and fruit.