Board vision and material safety
Check the exit before taking the pawn
Before you take a wing pawn with your queen, picture the board after the opponent’s quickest attack on her. Scan all exits from the capture square, including squares where she could take the attacker.
Worked example
Position in text
White to move. White: queen a5, pawn a4, king h1. Black: rook c8, pawn a7, pawn b7, king c7, knight b6.
FEN: 2r5/ppk5/1n6/Q7/P7/8/8/7K w - - 0 1
After 1.Qxa7, the queen can’t get below a5 because of her own a4 pawn. Black’s b7 pawn attacks a6. The black king guards b6, b7 and b8, while the knight on b6 guards a8. Before Black replies, a5 is the queen’s one exit that does not lose her immediately to a capture.
Now 1...Ra8! removes it. The rook controls every open square on the a-file and the knight protects it from capture. The queen can take that rook with 2.Qxa8 Nxa8, but it costs a queen for a rook and the original pawn. Spot the position after the rook swing before taking on a7.
A plausible mistake
Remembering that your queen came from a5 is not enough. The return path is empty, but the arrival square is attacked after the rook move. Occupancy and safety are two separate checks.
Try it yourself
Position in text
White to move. White: knight g6, queen h5, pawn h4, king a1. Black: rook f8, king f7, pawn g7, pawn h7.
FEN: 5r2/5kpp/6N1/7Q/7P/8/8/K7 w - - 0 1
Test 1.Qxh7 Rh8. The queen’s old square h5 is now on the rook’s file. What specific exit makes this rook attack different?