What security measure, in any domain, is 100% effective?
Correctly escaping untrusted markup in your HTML to avoid XSS attacks.
Both of those are 100% effective... unless you make a mistake in applying those fixes.
That is why prompt injection is different: we do not know what the 100% reliable fixes for it are.