From a cell away from the edge, a straight word can begin in eight neighboring directions: left, right, up, down, and the four diagonals. A standard eight-direction word search allows a repeated step in any one of those directions.
Represent the step as a change in row and column. Right is (0,+1), down is (+1,0), and down-right is (+1,+1). Each new letter repeats the same step. A changing step would make the path bend and would violate the straight-line rule.
Edges remove possible paths. A starting cell in the upper left corner cannot support a leftward or upward word because the next cell would be outside the grid. A longer word needs enough room for all its steps, not merely the first one.
The number eight describes the available geometry, not a universal instruction. Some puzzles prohibit backward words or diagonals. Read the directions, then restrict your search to the allowed steps. A word that appears in the filler along a forbidden direction does not count as a valid listed answer under those rules.
You can use the step idea to check an answer key. Compare the row and column changes between its endpoints. A horizontal path has no row change; a vertical path has no column change; a diagonal has equal absolute changes. This turns a vague highlighted shape into a precise, repeatable route through the letters.
Sources & notes
Original puzzle teaching and explanation by Evan Tessell.