Design method for simple solutions that are not fragile, from the choice of model, state ownership and boundaries down to the order of implementation steps, built on Kent Beck's 'make the change easy, then make the easy change'. Use when a change has more than one reasonable design, when deciding where state, an invariant or a side effect should live, when shaping a module boundary, contract or data model, when preparing code so that a hard change becomes easy, when a design must survive retries, concurrency, partial failure, migration or a hostile caller, or when comparing alternatives and trade-offs. Not for code-level style and refactoring mechanics (code-that-fits-in-your-head), choosing tests (pragmatic-verification), visual or UX design, or a clear local fix.
Design method for simple solutions that are not fragile, from the choice of model, state ownership and boundaries down to the order of implementation steps, built on Kent Beck's 'make the change easy, then make the easy change'. Use when a change has more than one reasonable design, when deciding where state, an invariant or a side effect should live, when shaping a module boundary, contract or data model, when preparing code so that a hard change becomes easy, when a design must survive retries, concurrency, partial failure, migration or a hostile caller, or when comparing alternatives and trade-offs. Not for code-level style and refactoring mechanics (code-that-fits-in-your-head), choosing tests (pragmatic-verification), visual or UX design, or a clear local fix.
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