I used boiled eggshells in the vermicomposter, and if I have to, bake raw eggshells in the oven. For outside compost piles and bins, I just drop the two raw halves in the kitchen compostables collection. They might get crushed in the process of dumping in the bin/pile. If they happened to roll out on the ground or are within reach of my compost/manure fork, then I might step on them or attempt to hit them, but that's about it.
Outside, the open piles might be pooped on by birds and critters, slugs and snails (salmonella, right?) as well as all kinds of Arthropods are crawling around, any kind of germs/bacteria/fungi might blow in. I don't worry about it.
Learning never ends because we can share what we've learned. And in sharing our collective experiences, we gain deeper understanding of what we learned.