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
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 -yInstalls 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:
- Search the user's project for existing contracts (
Globfor**/*.sol,**/*.cairo,**/*.rs,**/*.move, etc.) - Read the relevant contract files to understand what already exists
- 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 5Similar to Develop Secure Contracts
More Web3 & Cryptoethereummindrally/skills788 installsExpert Solidity guidance covering security patterns, OpenZeppelin integration, gas optimization, and Hardhat testing workflows.
soliditymindrally/skills771 installsSecurity-focused Solidity guidance that covers gas optimization, testing tooling, and React wallet integration.
upgrade-solidity-contractsopenzeppelin/openzeppelin-skills530 installsUpgrade Solidity contracts with OpenZeppelin UUPS, Transparent, or Beacon proxies, including storage safety rules.
setup-solidity-contractsopenzeppelin/openzeppelin-skills631 installsSetup guide for Solidity projects with OpenZeppelin Contracts across Hardhat and Foundry, including upgradeable variants.
use-smart-contract-platformcirclefin/skills1K installsDeploy, import, call, and monitor smart contracts through Circle Smart Contract Platform APIs and SDKs.
solidity-securitysickn33/agentic-awesome-skills226 installsSecurity-focused guidance for writing, auditing, and hardening Solidity smart contracts against common vulnerabilities.