Find Traps (revised)
2nd-level divination
Casting Time: 1 action
Range: Self
Components: V, S
Duration: 10 minutes
Your awareness of traps is enhanced. A trap, for the purpose of this spell, includes anything that would inflict a sudden or unexpected effect you consider harmful or undesirable, which was specifically intended as such by its creator. Thus, the spell would aid you in sensing an area affected by the alarm spell, a glyph of warding, or a mechanical pit trap, but would not aid you in finding a natural weakness in the floor or an unstable ceiling.
You have advantage on Intelligence (Investigation) checks to find traps, and add your proficiency bonus when doing so, even if you aren’t proficient.