If this is for a project to be used in an automotive electrical environment (or similar with very large voltage spikes), then the TVS diode should be used to protect the entire circuit, not just the gate of the transistor.
If this is for a project to be used in an automotive electrical environment (or similar with very large voltage spikes), then the TVS diode should be used to protect the entire circuit, not just the gate of the transistor.