setup-solidity-contracts

Official

Quickly scaffold OpenZeppelin Solidity projects

AuthorOpenZeppelin
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Helps developers create or configure Solidity projects that use OpenZeppelin Contracts by reducing friction around framework detection, dependency installation, remapping configuration, and import conventions for upgradeable versus standard contracts.

Core Features & Use Cases

  • Framework detection and initialization: Guides whether to initialize Hardhat or Foundry projects and what to check in existing repositories.
  • Dependency installation: Explains how to add @openzeppelin contracts packages for npm and Foundry, and when to include upgradeable variants.
  • Remappings and import guidance: Provides the remappings format and import conventions needed for correct compilation and Etherscan verification when using Foundry and upgradeable layouts.
  • Use Case: Set up a new Foundry repository, install OpenZeppelin contracts, and configure remappings so proxy and upgradeable imports resolve correctly for verification.

Quick Start

Create a new Hardhat or Foundry project, install the appropriate @openzeppelin contracts packages including upgradeable variants when deploying behind proxies, and add the recommended remappings so imports resolve for local builds and verification.

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: setup-solidity-contracts
Download link: https://github.com/OpenZeppelin/openzeppelin-skills/archive/main.zip#setup-solidity-contracts

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 223,000+ vetted skills library on demand.