system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: How can dogs be born with specific skill set as instinct, like herding?

I bought my Sheltie when she was only a couple of weeks old. She was barely walking when i bought her. She had never herded or been to a farm, but she loves herding kids and tried, for awhile, to herd me when i took her on runs. How can instinct like this be breed through generations? Does it occur in humans?
gpt
All dogs have a natural instinct to herd, from a time when wolves would drive their prey into ambushes.

In some individuals, the instinct was a little stronger.  Those dogs were bred with other strong herding dogs until there were entire breeds with highly developed herding instinct.