solidity-style-modern

Official

Enforce modern Solidity style and safe patterns.

Authoridchain-world
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Solidity projects often suffer from inconsistent style and overlooked best practices, leading to harder audits and avoidable bugs. This Skill codifies a modern set of conventions and checks to ensure code meets engineering standards across a codebase.

Core Features & Use Cases

  • Pinned compiler version and explicit SPDX headers to avoid drift and licensing confusion.
  • Enforcement of modern patterns: custom errors over string-based requires, Checks-Effects-Interactions, NatSpec on external surfaces, and disciplined naming and storage layout.
  • Use Case: Teams adopting a shared Solidity style guide across contracts and audits.

Quick Start

Review your Solidity files and update them to pin the compiler version, add SPDX headers, replace legacy require strings with custom errors, apply Checks-Effects-Interactions, and add NatSpec on public surfaces.

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-style-modern
Download link: https://github.com/idchain-world/id-agents/archive/main.zip#solidity-style-modern

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.