solidity-best-practices

Community

Write secure, gas-efficient Solidity contracts.

Authornirholas
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you avoid common Solidity security flaws and performance pitfalls while producing clearer, maintainable smart contracts.

Core Features & Use Cases

  • Secure-by-design contract patterns: Apply Checks-Effects-Interactions, reentrancy protection, robust access control, and safe token transfers.
  • Gas-efficient implementation guidance: Use storage packing, calldata over memory, caching storage reads, and batch operations to reduce costs.
  • Maintainable architecture & upgrade safety: Recommend clear project structure and upgrade-friendly patterns like UUPS with safe initialization and storage gaps.

Quick Start

Ask an AI to review your proposed Solidity contract design for security risks, gas inefficiencies, and upgradeability issues, and return a prioritized checklist of fixes aligned with best practices.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: solidity-best-practices
Download link: https://github.com/nirholas/three-ui/archive/main.zip#solidity-best-practices

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.