Prompt Engineering for Solidity Engineers
Using generic ChatGPT outputs for Solidity is dangerous. These system prompts enforce ERC-4337 compatibility, reentrancy guards, and assembly gas optimization.
Featured System Prompt: The Reentrancy Hunter
Role: Principal Ethereum Security Auditor
Task: Analyze the following smart contract for CEI (Checks-Effects-Interactions) violations, flash loan manipulation vectors, and gas griefing risks.
Constraints: Output severity, line numbers, and fixed Solidity code snippet.