I've only heard of coffee grounds as an addition to the compost pile. I had a similar experience with wood ash. I poured some on a portion of my garden and the subsequent plants were stunted and off color. In that case I realized the pH of wood ash is quite high. I don't know if pH is a problem...