Back to Skills

smart-contract-generator

Generates Solidity smart contracts with security best practices (ERC-20, ERC-721, ERC-1155, custom). Use when user asks to "create smart contract", "solidity contract", "erc20 token", "nft contract", or "web3 contract".

133stars17forksUpdated 3/7/2026

Security Assessment

Medium Risk(50/100)

Detected risks:

Secret Exposure([SKILL.md] Token =, [SKILL.md] token =, [SKILL.md] PRIVATE_KEY)
Sensitive File Access([SKILL.md] .env)
Security Score50/100

About smart-contract-generator

The 'smart-contract-generator' skill enables the generation of secure Solidity smart contracts tailored to specific use cases such as ERC-20, ERC-721, ERC-1155, ERC-4626, and custom contracts. By following OpenZeppelin standards, it ensures that smart contracts are designed with security best practices in mind. This tool is ideal for anyone looking to quickly create robust contracts for decentralized applications (dApps) or blockchain projects, saving time while ensuring compliance with industry standards.

FAQ

How do I specify the type of smart contract I need?

You can specify the contract type by selecting one of the following options: ERC-20 (fungible token), ERC-721 (NFT), ERC-1155 (multi-token), ERC-4626 (tokenized vault), or a custom contract.

Can I customize the generated smart contracts?

Yes, the skill allows the generation of custom contracts. You can modify contract details or extend functionality according to your specific needs.

What security measures are included in the generated contracts?

The generated contracts follow OpenZeppelin standards and include features like ownership, pausing, burning, minting, and permit functionality to ensure secure and reliable contract behavior.

Are these contracts compatible with all Ethereum-based networks?

Yes, the generated contracts are compatible with Ethereum and other networks that support Solidity, such as Binance Smart Chain, Polygon, and Avalanche.

All Files

2 files
SKILL.md10.8 KB
View
metadata.json0.7 KB
View

Install smart-contract-generator

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill