Solidity Code Review
Analyzes Solidity code for vulnerabilities, gas optimization opportunities, and adherence to best practices.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add solidity-code-review npx -- -y @trustedskills/solidity-code-review
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"solidity-code-review": {
"command": "npx",
"args": [
"-y",
"@trustedskills/solidity-code-review"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill analyzes Solidity code and identifies potential vulnerabilities, inefficiencies, and style issues. It provides feedback on gas optimization opportunities and adherence to best practices for secure smart contract development. The tool aims to improve the quality and security of deployed smart contracts.
When to use it
- Reviewing new Solidity smart contracts before deployment to catch errors early.
- Auditing existing smart contracts to identify potential vulnerabilities or areas for improvement.
- Ensuring code consistency across a team by enforcing coding standards.
- Educating developers on secure and efficient Solidity programming practices.
Key capabilities
- Vulnerability detection
- Gas optimization suggestions
- Style guide enforcement
- Code quality analysis
Example prompts
- "Review this Solidity code for potential vulnerabilities: [paste code]"
- "Analyze this smart contract and suggest gas optimizations: [paste code]"
- "Check this code against the Solidity style guide and report any deviations: [paste code]"
Tips & gotchas
The skill requires a solid understanding of Solidity programming concepts to effectively interpret the feedback provided. Complex or highly customized contracts may require additional manual review even after using this tool.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.