The conditional-edge routing that turns a validate node into a bounded
self-correcting loop (Ch5 Loop Pipeline + Error-handling strategies, Examples
5-6/5-9). Consumes a validation result, an error severity (correctable vs
fundamental), and a retry budget, and returns exactly one of: proceed,
refine (loop back with a remaining retry), fallback (alternative strategy
once retries are exhausted), or terminate-with-partial (fundamental error).
The finite retry budget is the explicit bound that prevents infinite loops.
Use when first-attempt success is unrealistic and validation can identify
correctable errors — plan refinement, documentation-gap re-requests,
transient-failure recovery. NOT for strict sequential pipelines with no
feedback (use a sequential pipeline), NOT for parallel branch reconciliation
(that is a merge/tree concern), NOT as a substitute for the validator itself
(this routes on the validator's output; it does not validate).
The conditional-edge routing that turns a validate node into a bounded
self-correcting loop (Ch5 Loop Pipeline + Error-handling strategies, Examples
5-6/5-9). Consumes a validation result, an error severity (correctable vs
fundamental), and a retry budget, and returns exactly one of: proceed,
refine (loop back with a remaining retry), fallback (alternative strategy
once retries are exhausted), or terminate-with-partial (fundamental error).
The finite retry budget is the explicit bound that prevents infinite loops.
Use when first-attempt success is unrealistic and validation can identify
correctable errors — plan refinement, documentation-gap re-requests,
transient-failure recovery. NOT for strict sequential pipelines with no
feedback (use a sequential pipeline), NOT for parallel branch reconciliation
(that is a merge/tree concern), NOT as a substitute for the validator itself
(this routes on the validator's output; it does not validate).
Installation & variants
Download the repository, including the skill’s supporting files.
Define, review, or update SECURITY_MODEL.md files that tell security review tools a repository's threat model, trust boundaries, invariants, reportable finding classes, and exclusions. Use when asked to "write a security model", "threat model this repo for…
External research synthesis from Trail of Bits, SlowMist, ConsenSys, Immunefi, and Cyfrin. Use this for advanced audit methodology, Echidna/Medusa fuzzing setup, Slither custom detector writing, attack pattern deep dives, or the 4-phase learning roadmap.
Tests LLM applications for prompt injection vulnerabilities per OWASP LLM01:2025. Covers direct injection (user input manipulating model behavior) and indirect injection (external content containing hidden instructions). Auto-invoked when reviewing LLM applications that process external content, build…
skills/ai-security/prompt-injection/SKILL.md
Share a useful AI product
Tell people what it does. Our editors review each submission before publishing.
No comments yet