assembly-patterns

Community

Advanced inline assembly for Solidity

Authorccashwell
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Yul/inline assembly patterns enable advanced Solidity optimizations by giving developers low-level control to squeeze gas savings in hot paths, while guiding safe usage and clear documentation.

Core Features & Use Cases

  • Memory management and efficient hashing with inline assembly to reduce gas costs in memory-heavy operations.
  • Bitwise packing, custom errors, and low-level calls for precise performance tuning and safer contracts.
  • Best practices, NatSpec documentation, and testing guidelines to ensure maintainable and auditable assembly blocks.

Quick Start

Run a targeted audit of a hot path, implement the appropriate assembly pattern, and verify gas savings with formal tests.

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