·setup-solidity-contracts
!

setup-solidity-contracts

Set up a Solidity smart contract project with OpenZeppelin Contracts. Use when users need to: (1) create a new Hardhat or Foundry project, (2) install OpenZeppelin Contracts dependencies for Solidity, (3) configure remappings for Foundry, or (4) understand Solidity import conventions for OpenZeppelin.

67Installs·8Trend·@openzeppelin

Installation

$npx skills add https://github.com/openzeppelin/openzeppelin-skills --skill setup-solidity-contracts

How to Install setup-solidity-contracts

Quickly install setup-solidity-contracts AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/openzeppelin/openzeppelin-skills --skill setup-solidity-contracts
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: openzeppelin/openzeppelin-skills.

SKILL.md

View raw

For existing projects, detect the framework by looking for hardhat.config. (Hardhat) or foundry.toml (Foundry). For new projects, ask the user which framework they prefer.

Look up the current version from https://github.com/OpenZeppelin/openzeppelin-contracts/releases. Pin to a release tag — without one, forge install pulls the default branch, which may be unstable.

The above remappings mean that both @openzeppelin/contracts/ (including proxy contracts) and @openzeppelin/contracts-upgradeable/ come from the openzeppelin-contracts-upgradeable submodule and its subdirectories, which includes its own transitive copy of openzeppelin-contracts of the same release version number. This format is needed for Etherscan verification to work. Particularly, any copies of openzeppelin-cont...

Set up a Solidity smart contract project with OpenZeppelin Contracts. Use when users need to: (1) create a new Hardhat or Foundry project, (2) install OpenZeppelin Contracts dependencies for Solidity, (3) configure remappings for Foundry, or (4) understand Solidity import conventions for OpenZeppelin. Source: openzeppelin/openzeppelin-skills.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/openzeppelin/openzeppelin-skills --skill setup-solidity-contracts
Category
!Security
Verified
First Seen
2026-03-06
Updated
2026-03-10

Browse more skills from openzeppelin/openzeppelin-skills

Quick answers

What is setup-solidity-contracts?

Set up a Solidity smart contract project with OpenZeppelin Contracts. Use when users need to: (1) create a new Hardhat or Foundry project, (2) install OpenZeppelin Contracts dependencies for Solidity, (3) configure remappings for Foundry, or (4) understand Solidity import conventions for OpenZeppelin. Source: openzeppelin/openzeppelin-skills.

How do I install setup-solidity-contracts?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/openzeppelin/openzeppelin-skills --skill setup-solidity-contracts Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/openzeppelin/openzeppelin-skills