Developing a skill can be part of genetics, but it's mostly the matter of yourself improving it.
It also have an effect from your backgrounds, like if you lived in that one place where houses are built on water, You are likely to swim.
I don't know if this is actually true, but during the time when a fetus is still developing and .... let's say mom listens to Classical music, the child will have some kind of talent in music....
maybe true but not sure.