Skip to content
openzeppelin avatar

Develop Secure Contracts

Secure smart contract development with OpenZeppelin libraries covering tokens, access control, governance, and accounts across five ecosystems.

CCM score
66 of 100
skills.sh installs
624
GitHub stars
226
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers pattern discovery from installed library source, plus CLI generator output used as a reference integration
  • Includes integration guidance for ERC20, ERC721, ERC1155, Ownable, AccessControl, AccessManager, Pausable, ReentrancyGuard, and Governor
  • Enforces a library-first rule: import and extend existing components rather than copying library source or hand-writing equivalent logic
  • Designed for Solidity, Cairo, Stylus, Stellar, and Sui Move projects that must stay current with upstream security updates

Install

$ npx -y skills add openzeppelin/openzeppelin-skills --skill develop-secure-contracts -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Develop Secure Smart Contracts with OpenZeppelin

Core Workflow

Understand the Request Before Responding

For conceptual questions ("How does Ownable work?"), explain without generating code. For implementation requests, proceed with the workflow below.

CRITICAL: Always Read the Project First

Before generating code or suggesting changes:

  1. Search the user's project for existing contracts (Glob for **/*.sol, **/*.cairo, **/*.rs, **/*.move, etc.)
  2. Read the relevant contract files to understand what already exists
  3. Default to integration, not replacement — when users say "add pausability" or "make it upgradeable", they mean modify their existing code, not generate something new. Only replace if explicitly requested ("start fresh", "replace this").

If a file cannot be read, surface the failure explicitly — report the path attempted and the reason. Ask whether the path is correct. Never silently fall back to a generic response as if the file does not exist.

Fundamental Rule: Prefer Library Components Over Custom Code

Before writing ANY logic, search the OpenZeppelin library for an existing component:

Details

Repository
github.com/openzeppelin/openzeppelin-skills
Categories
Web3 & Crypto, Backend & APIs, Security
First seen
Jun 3, 2026

Questions

What does the develop-secure-contracts skill do?

develop-secure-contracts helps an agent build smart contracts from OpenZeppelin Contracts library components such as ERC20, ERC721, ERC1155, AccessControl, Pausable, ReentrancyGuard and Governor. It discovers patterns by reading library source code and can use CLI generators as reference output. It supports Solidity, Cairo, Stylus, Stellar and Sui Move.

How do I install develop-secure-contracts?

Run npx -y skills add openzeppelin/openzeppelin-skills --skill develop-secure-contracts -y inside your project. After that, develop-secure-contracts lets the agent import OpenZeppelin components into your existing or new contracts instead of writing custom logic.

Who should use develop-secure-contracts?

develop-secure-contracts is for developers who need to add token standards, access control, security primitives or governance to smart contracts. It reads your project's existing contracts first and defaults to integrating library components rather than replacing your code. It also suits developers who want an agent to avoid hand-written security code.

Where does develop-secure-contracts sit in the Web3 and Crypto category?

develop-secure-contracts is listed in the Web3 and Crypto category on Claude Marketplaces, alongside solana-dev, binance-agentic-wallet, okx-dex-market, gmgn-market and gmgn-token. Unlike those wallet and market skills, develop-secure-contracts focuses on writing secure contract code from OpenZeppelin libraries.

More from openzeppelin/openzeppelin-skills

All 5

Similar to Develop Secure Contracts

More Web3 & Crypto