pf2e.fyi
From Pathfinder Kingmaker, which isn't enabled.

Ambush Tactics

FEAT 4
Prerequisites trained in Lore about a specific terrain

You've made a study of the best practices for laying ambushes in terrains you've spent time learning about, be it the best way to ambush foes or the best methods of reacting to surprise attacks in those terrains. In any combat during which an enemy rolls Stealth to determine initiative, you can choose to roll initiative using a Lore check that's appropriate for the encounter's terrain, if you're trained in the appropriate Lore skill.

Pathfinder KingmakerOGL