GRBL limit switch alarm problem

Can you show me circuit picture or drawing how to install Capacitator on CNC shiels but I don’t get clear
Switches wiring system with noise prevent and it only show me Arduino without CNC shield.