My dog knows some commands, but mainly what I call 'cues' in the sense of me giving information to my dog with the intent that he decides what to do with it.
My dog has an old ACL injury, and he used to follow me off and back up on the couch or bed every time I left for just a short period. I thought if I could let him know that I was just going for a while, he would be able to make his own decisions about if he could make the jumps.
So I taught him 'be back!'.
There's no real way to test if he knows what it means, as the goal isn't that he stays, it's that he decides if he wants to, but since teaching him it, he now usually looks up at me, then rests his head back down on his paws. Sometimes he still gets excited to follow!
Another 'cue' I taught him is 'gimme kiss!', where he might:
-Give me a flurry of licks
-Give me a lick
-Lick the air/his snout
-Poke his tongue out
-Do nothing
I thank him no matter what he does, as that's what he's telling me he's comfortable with in that moment.
He used to be touch-averse, and it took him 3 years to ask to come up on my bed (after trying to show him it was okay before) and 3 years to lean against me.
Now he loves rolling himself in my blankets, and trying to bury my laptop in the covers.
I'm not saying this will work for every dog or person, but I find it works really well for us. Unless there's a safety hazard or emergency, I like knowing that he can say 'no' to me. I know it's a bit strange.
I'd love to hear anyone else who uses similar or completely different training methods!