Personally, I think the best way to give your cat a pill is…have your wife, husband, partner…do it!
In all seriousness, I have worked in many animal shelters (and, of course have way too many cats at home) the best way to give your cat a pill is to scruff and stuff. A cat is generally, okay with being scruff-ed. His/Her mother would haul them around by the scruff of the neck…and, the kitten finds it nurturing. Once you have scruff-ed, you stuff the pill to the back of the throat. Less dry effect of a pill stuck in the throat and your pet will appreciate (in the end) not gagging on an antibiotic.