My mother in law taught me the best way to do this and I make zero messes. You need a knife and a spoon.
Slice in half.
Twist.
Use spoon or knife to take out pit.
I hit the knife into the pit and twist.
I then use the spoon to scoop out the avocado.
Then throw away the pit and two piece of skin.
Zero mess.