rr-solidity

Review Solidity smart contracts for security vulnerabilities using Foundry.

54|9|Updated Aug 13, 2025
One-click install
npx skills add https://github.com/roderik/ai-rules --skill rr-solidity
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rr-solidity
Source: https://github.com/roderik/ai-rules/tree/main/.claude/skills/rr-solidity
Command: npx skills add https://github.com/roderik/ai-rules --skill rr-solidity

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires foundry, slither, solhint, @openzeppelin/contracts, and includes references (resource) components.

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.