Install any skill in seconds. Free to start, no credit card required.
Get Started Free →microck/smart-contract-generator
Generates Solidity smart contracts with security best practices (ERC-20, ERC-721, ERC-1155, custom).
Passed 19 of 22 test cases with the skill, and 18 of 22 without it.
1 fixed18 passed either way3 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
A test case the skill fixed. Same model, same prompt, with and without the skill.
I need to build a standard fungible token on Ethereum for a loyalty rewards program. Please generate the full Solidity smart contract code along with a Hardhat JavaScript testing script to verify initial deployment balances and token transfers.
| Checked | Without skill | With skill |
|---|---|---|
| The Solidity contract imports OpenZeppelin's ERC20Permit extension. | Missed | Passed |
| The Solidity contract overrides the internal _update function. | Missed | Passed |
| The constructor accepts an initialOwner address parameter passed to the Ownable constructor. | Missed | Passed |
The instructions your model reads when the skill loads.
Generates secure Solidity smart contracts following OpenZeppelin standards and best practices.
Ask user which type:
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Permit.sol";
contract MyToken is ERC20, ERC20Burnable, ERC20Pausable, Ownable, ERC20Permit {
constructor(address initialOwner)
ERC20("MyToken", "MTK")
test cases passed, vs 18 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.