一键导入
smart-contract-dev
Provides best practices, patterns, and security workflows for writing, testing, and deploying Solidity smart contracts using Foundry or Hardhat.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Provides best practices, patterns, and security workflows for writing, testing, and deploying Solidity smart contracts using Foundry or Hardhat.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
WHEN users express dissatisfaction with visual appearance or behavior; use Playwright MCP to capture screenshots and collaborate on UI fixes with a structured feedback loop.
Provides core architecture and best practices for building Web3 decentralised applications (dApps) using React, Next.js, Wagmi, Viem, and RainbowKit.
Provides best practices for Web3 full-stack development. Automatically activates when writing Solidity smart contracts, deploying DApps, using Wagmi/RainbowKit, or interacting with Ethers/Viem.
Creates, refines, and validates Claude Code skills following amplihack philosophy and official best practices. Automatically activates when building, creating, generating, or designing new skills.
| name | smart-contract-dev |
| version | 1.0.0 |
| description | Provides best practices, patterns, and security workflows for writing, testing, and deploying Solidity smart contracts using Foundry or Hardhat. |
Enforces Web3 smart contract standards and security best practices for developers. Ensures contracts are built securely, gas-optimized, and thoroughly tested before deployment to mainnet architectures.
I automatically load when you mention:
Ownable or AccessControl).require() string reverts.Before testing or finalizing a Solidity contract, verify:
✅ Pragmas: Use recent Solidity versions (^0.8.20 or higher) to avoid legacy math underflows and utilize modern features like Custom Errors.
✅ Reentrancy Safe: Use nonReentrant or strictly adhere to CEI.
✅ Visibility: Do not use public when external is sufficient.
✅ Events: Confirm all updates to sensitive state variables emit an event for off-chain indexers.
Note: Use this skill specifically for backend Web3 infrastructure. If writing frontend React or integrating wallets, refer to the dapp-dev skill instead.