Poka-yoke (mistake-proofing) is any mechanism that makes errors impossible or immediately obvious: asymmetric connectors that only fit one way, sensors that halt a machine if a step is skipped, fixtures that won't accept a misoriented part.
It embodies the lean belief that defects come from process design, not careless people. Poka-yoke is a primary countermeasure generated by FMEA and a core element of jidoka.
Three levels, from strongest to weakest. Prevention: the error cannot be made (a pin that blocks the part unless it is oriented correctly). Detection at the point of error: the error is flagged before it moves (a torque tool that will not release the part until the correct torque is reached). Detection downstream: a sensor or check that finds the defect before the next step. Warnings alone (a light, a sign) are the weakest and wear off.
Start from the FMEA or the rework log: the failure mode with the highest frequency gets the first device. Most effective poka-yokes cost under a few hundred dollars: a jig, a counter, a sensor, a colour-coded part. Verify each one by trying to defeat it. The poka-yoke guide has examples by type and the jidoka guide covers the line-stop side.