True, villagers don't just magically learn things, but... sometimes a villager will think a hut needs repair and will try to fix it. If he is successful, he'll gain skill and be that much more likely to try and do it again in the future. Just chalk it down to the villagers' curiosity and leave it at that. ^^