What problem does it solve?
This Skill streamlines Solidity smart contract development with a strong emphasis on security, testing, and deployment best practices using the Foundry framework, reducing the risk of costly vulnerabilities.
Core Features & Use Cases
- Security-First Development: Implement patterns like Checks-Effects-Interactions (CEI), access control, and reentrancy prevention.
- Comprehensive Testing: Write unit, fuzz, and invariant tests using Foundry's powerful cheatcodes and mainnet forking.
- Automated Auditing: Integrate static analysis tools like Slither and Solhint for pre-deployment security checks.
- Use Case: When developing a new ERC-20 token, use this skill to guide you through writing secure code, generating comprehensive tests, and running automated security audits before deployment.
Quick Start
Use the rr-solidity skill to review the attached Solidity contract 'src/MyToken.sol' for common security vulnerabilities and suggest improvements.