/blockchain-web3-engineering:threat-model-protocol [the situation, e.g. the metric / segment / matter in question]from blockchain-web3-engineering
Builds a protocol threat model covering code, oracle, flash-loan, MEV, and upgrade surfaces with named mitigations.
Ships in blockchain-web3-engineering. Installing the plugin adds it to Claude Code.
What the command file sets; muted values are Claude Code's defaults
You are running /blockchain-web3-engineering:threat-model-protocol for $ARGUMENTS. Run it the way the team's specialists would — applying the house opinions in ../CLAUDE.md §3.
A threat model covering code, oracle, flash-loan, MEV, and upgrade surface, with mitigations named. Traverse Tree 3 in the decision-trees file. See ../skills/threat-model-protocol/SKILL.md.
7-day visitors to each command page
5 commands in this plugin
/audit-before-deployAudit before deployGate deploy on a security audit and invariant tests across the top vuln classes — deploy is irreversible. Reach for this before any mainnet go-live./model-staking-yieldModel staking yieldModel an illustrative net staking APR and annual reward — clearly NOT financial advice. Reach for this on a yield or reward question./optimize-gasOptimize gasProfile gas and cut the dominant costs — storage writes and loops — then estimate the user-facing cost. Reach for this on a cost or UX-cost question./split-on-off-chainSplit on/off-chain dataDecide deliberately what lives on-chain vs off-chain on cost and privacy grounds. Reach for this on any data-placement question.npx claudepluginhub mcorbett51090/ravenclaude --plugin blockchain-web3-engineering