What this picture shows is what not to do if you see a skeleton. The best way to kill it is to use a bow, or you can use a shield and sword and use it to block the arrows and kill the skeleton with my sword, but if you do see a cliff then you should do this.