Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Implement NFT standards (ERC-721, ERC-1155) with proper metadata handling, minting strategies, and marketplace integration. Use when creating NFT contracts, building NFT marketplaces, or implementing digital asset systems.
.claude/skills/dokhacgiakhoa-nft-standards/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-16 | ✗→✓ | ▲ Improved | 74% | 0% |
| case-20 | ✗→✓ | ▲ Improved | 58% | 0% |
| case-04 | ✓→✓ | = Same ✓ | 49% | 0% |
| case-05 | ✓→✓ | = Same ✓ | 20% | 0% |
| case-06 | ✓→✓ | = Same ✓ | 55% | 0% |
Master ERC-721 and ERC-1155 NFT standards, metadata best practices, and advanced NFT features.
resources/implementation-playbook.md.solidity// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; contract MyNFT is ERC721URIStorage, ERC721Enumerable, Ownable { using Counters for Counters.Counter; Counters.Counter private _tokenIds; uint256 public constant MAX_SUPPLY = 10000; uint256 public constant MINT_PRICE = 0.08 ether; uint256 public constant MAX_PER_MINT = 20; constructor() ERC721("MyNFT", "MNFT") {} function mint(uint256 quantity) external payable { require(quantity > 0 && quantity <= MAX_PER_MINT, "Invalid quantity"); require(_tokenIds.current() + quantity <= MAX_SUPPLY, "Exceeds max supply"); require(msg.value >= MINT_PRICE * quantity, "Insufficient payment"); for (uint256 i = 0; i < quantity; i++) { _tokenIds.increment(); uint256 newTokenId = _tokenIds.current(); _safeMint(msg.sender, newTokenId); _setTokenURI(newTokenId, generateTokenURI(newTokenId)); } } function generateTokenURI(uint256 tokenId) internal pure returns (string memory) { // Return IPFS URI or on-chain metadata return string(abi.encodePacked("ipfs://QmHash/", Strings.toString(tokenId), ".json")); } // Required overrides function _beforeTokenTransfer( address from, address to, uint256 tokenId, uint256 batchSize ) internal override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId, batchSize); } function _burn(uint256 tokenId) internal override(ERC721, ERC721URIStorage) { super._burn(tokenId); } function tokenURI(uint256 tokenId) public view override(ERC721, ERC721URIStorage) returns (string memory) { return super.tokenURI(tokenId); } function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } function withdraw() external onlyOwner { payable(owner()).transfer(address(this).balance); } }
solidity// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract GameItems is ERC1155, Ownable { uint256 public constant SWORD = 1; uint256 public constant SHIELD = 2; uint256 public constant POTION = 3; mapping(uint256 => uint256) public tokenSupply; mapping(uint256 => uint256) public maxSupply; constructor() ERC1155("ipfs://QmBaseHash/{id}.json") { maxSupply[SWORD] = 1000; maxSupply[SHIELD] = 500; maxSupply[POTION] = 10000; } function mint( address to, uint256 id, uint256 amount ) external onlyOwner { require(tokenSupply[id] + amount <= maxSupply[id], "Exceeds max supply"); _mint(to, id, amount, ""); tokenSupply[id] += amount; } function mintBatch( address to, uint256[] memory ids, uint256[] memory amounts ) external onlyOwner { for (uint256 i = 0; i < ids.length; i++) { require(tokenSupply[ids[i]] + amounts[i] <= maxSupply[ids[i]], "Exceeds max supply"); tokenSupply[ids[i]] += amounts[i]; } _mintBatch(to, ids, amounts, ""); } function burn( address from, uint256 id, uint256 amount ) external { require(from == msg.sender || isApprovedForAll(from, msg.sender), "Not authorized"); _burn(from, id, amount); tokenSupply[id] -= amount; } }
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→fail | 21,421 | 24,780 | +16% | 1 | 1 | 0% | 4,826 | 4,468 | -7% | 0 | 0 | — |
case-02 | fail→fail | 20,956 | 20,872 | -0% | 1 | 1 | 0% | 4,690 | 6,025 | +28% | 0 | 0 | — |
case-03 | fail→fail | 19,037 | 20,005 | +5% | 1 | 1 | 0% | 3,841 | 4,786 | +25% | 0 | 0 | — |
case-04 | pass→pass | 17,008 | 18,271 | +7% | 1 | 1 | 0% | 3,580 | 5,344 | +49% | 0 | 0 | — |
case-05 | pass→pass | 26,267 | 22,295 | -15% | 1 | 1 | 0% | 5,591 | 6,718 | +20% | 0 | 0 | — |
case-06 | pass→pass | 17,425 | 19,861 | +14% | 1 | 1 | 0% | 3,662 | 5,682 | +55% | 0 | 0 | — |
case-07 | pass→pass | 10,924 | 10,890 | -0% | 1 | 1 | 0% | 2,172 | 3,661 | +69% | 0 | 0 | — |
case-08 | pass→pass | 13,425 | 10,472 | -22% | 1 | 1 | 0% | 2,217 | 3,199 | +44% | 0 | 0 | — |
case-09 | pass→pass | 15,022 | 18,140 | +21% | 1 | 1 | 0% | 2,791 | 4,814 | +72% | 0 | 0 | — |
case-10 | pass→pass | 10,516 | 9,400 | -11% | 1 | 1 | 0% | 2,095 | 3,248 | +55% | 0 | 0 | — |
case-11 | pass→pass | 15,566 | 15,030 | -3% | 1 | 1 | 0% | 3,113 | 4,551 | +46% | 0 | 0 | — |
case-12 | pass→pass | 13,441 | 9,783 | -27% | 1 | 1 | 0% | 2,496 | 3,327 | +33% | 0 | 0 | — |
case-13 | pass→pass | 8,053 | 7,072 | -12% | 1 | 1 | 0% | 1,592 | 2,859 | +80% | 0 | 0 | — |
case-14 | pass→pass | 13,925 | 13,367 | -4% | 1 | 1 | 0% | 2,943 | 4,129 | +40% | 0 | 0 | — |
case-15 | pass→pass | 12,089 | 13,690 | +13% | 1 | 1 | 0% | 2,581 | 4,190 | +62% | 0 | 0 | — |
case-16 | fail→pass | 17,773 | 21,960 | +24% | 1 | 1 | 0% | 3,300 | 5,746 | +74% | 0 | 0 | — |
case-17 | pass→pass | 10,370 | 10,196 | -2% | 1 | 1 | 0% | 1,955 | 3,231 | +65% | 0 | 0 | — |
case-18 | pass→pass | 11,149 | 15,646 | +40% | 1 | 1 | 0% | 2,244 | 4,700 | +109% | 0 | 0 | — |
case-19 | pass→pass | 16,540 | 14,936 | -10% | 1 | 1 | 0% | 2,995 | 4,302 | +44% | 0 | 0 | — |
case-20 | fail→pass | 10,360 | 9,076 | -12% | 1 | 1 | 0% | 1,785 | 2,825 | +58% | 0 | 0 | — |
case-21 | pass→pass | 11,616 | 10,392 | -11% | 1 | 1 | 0% | 2,178 | 3,490 | +60% | 0 | 0 | — |
case-22 | pass→pass | 31,455 | 13,167 | -58% | 1 | 1 | 0% | 2,706 | 3,642 | +35% | 0 | 0 | — |
case-23 | pass→pass | 11,951 | 6,598 | -45% | 1 | 1 | 0% | 2,188 | 2,661 | +22% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 23 cases were attempted. The headline lift of +9 percentage points is the difference between those two pass rates over the 23 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.