solidity-patterns

Community

Safer Solidity with battle-tested patterns.

Authorccashwell
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Solidity developers often struggle to implement safe and reusable architectural patterns across complex contracts. This Skill provides a consolidated reference of proven design patterns to improve security, readability, and maintainability.

Core Features & Use Cases

  • CEI (Checks-Effects-Interactions) to prevent reentrancy and unsafe external calls.
  • Pull-Over-Push and Guard Checks to reduce failure cascades and centralize validation.
  • State Machines and Access Restriction for robust multi-phase and permissioned systems.
  • Commit-Reveal patterns to mitigate front-running risks in interactive protocols.

Quick Start

Apply the patterns to your contract design and reviews.

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-patterns
Download link: https://github.com/ccashwell/evm-cortex/archive/main.zip#solidity-patterns

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.