Employee was performing maintenance on the skid steer. The cab of the skid steer was raised. The door was left open when raising the cab. The door closed on the employee's finger. The tip of finger was lacerated and the fingernail came off the finger.