Claude Code plugin

Solidity Style Guide

AI-ready Solidity style guide for Solidity 0.8.30 — naming, layout, NatSpec, custom errors, ERC-7201 storage, transient storage, Foundry tests, gas & security. Ships Solhint + Prettier configs, Claude Code skill, AGENTS.md.

Install

From source
git clone https://github.com/Aboudjem/solidity-style-guide.git

From the README

Solidity Style Guide

  Consistent. Safe. Gas-aware.
  A practical style guide for modern Solidity, tracking 0.8.34, ERC-7201 namespaced storage, EIP-1153 transient storage, and current Foundry conventions.

Why this guide

Solidity gives you enough rope to ship fast or to lose funds. The official style guide covers formatting; this one covers the patterns that prevent audit findings and waste gas.

- One canonical source. Every rule has a ✅ Yes and a ❌ No example.
- Modern Solidity. Pinned to 0.8.34. Covers transient storage, custom errors in require, ERC-7201, and Pectra-era defaults.
- Copy-paste tooling. A matching Solhint config, a Prettier config, an EditorConfig, and a GitHub Actions workflow.
- Foundry-first testing. Naming matrix, invariants, fuzz, fork tests.
- Editor integrations. Context files for Cursor, Claude Code, and any agent that reads AGENTS.md or llms.txt.

At a glance

Quick start

Drop the configs into your project, install two dev dependencies, and you're linting and formatting in under a minute.

Editor integrations (click to expand)

Claude Code — drop the bundled skill into .claude/skills/, then call it by name.

Cursor, Codex, Aider — they pick up AGENTS.md and .cursorrules automatically once the files sit at the repo root.

Any LLM-backed tool — point it at llms.txt for a token-efficient index of the rules and configs.

Table of contents

- Solidity Style Guide
  - At a glance
  - Quick start
  - Introduction
    - Purpose and Scope
    - Evolution of the Guide
    - Consistency over Correctness
  - General Coding Conventions
    - Indentation and Spacing
      - Indentation Rules
      - Tabs or Spaces
      - Blank Lines
      - Maximum Line Length
      - Source File Encoding
    - Use the Latest Version of Solidity
    - Imports
  -…
Read the full README on GitHub

How plugins work

  • A plugin bundles slash commands, subagents, skills, hooks, MCP servers and status lines so they install together.
  • Add the marketplace inside Claude Code with /plugin marketplace add Aboudjem/solidity-style-guide, then run /plugin to pick what to install.
  • You can turn a plugin off again from /plugin without deleting anything.
Claude Code docs

Details

License
MIT
Last updated
17 April 2026
Topics
agents-mdai-readybest-practicesclaude-codecoding-conventionserc-7201ethereumfoundry-testinggas-optimizationllms-txtprettier-plugin-soliditysecurity-best-practices

FAQ

What is Solidity Style Guide?

AI-ready Solidity style guide for Solidity 0.8.30 — naming, layout, NatSpec, custom errors, ERC-7201 storage, transient storage, Foundry tests, gas & security. Ships Solhint + Prettier configs, Claude Code skill, AGENTS.md. It is a plugin for Claude Code, from Aboudjem/solidity-style-guide on GitHub.

How do I install Solidity Style Guide?

Clone Aboudjem/solidity-style-guide from GitHub and follow the setup steps in its README.

Is Solidity Style Guide popular?

Aboudjem/solidity-style-guide has 32 GitHub stars and 21 forks. It was last updated on 17 April 2026.

More plugins & marketplaces

Browse the most popular Claude Code mods, all plugins & marketplaces, or the skills and MCP server directories.