From vechain-ai
Develops Solidity smart contracts on VeChainThor with Hardhat: ERC-20/721 patterns, upgradeable contracts, gas optimization, Thor Solo testing, security audits, ABI codegen.
npx claudepluginhub vechain/vechain-ai-skills --plugin secure-github-actionsThis skill uses the workspace's default tool permissions.
1. **Read reference files FIRST.** When the user's request involves any topic in the reference table below, read those files before doing anything else — before writing code, before making decisions. Briefly mention which files you are reading so the user can confirm the skill is active (e.g., "Reading smart contracts reference...").
Suggests manual /compact at logical task boundaries in long Claude Code sessions and multi-phase tasks to avoid arbitrary auto-compaction losses.
Share bugs, ideas, or general feedback.
@vechain/mcp-server for on-chain data, transaction building, and live network queries; use Kapa AI MCP for VeChain documentation lookups. (c) Web search — only as a last resort, and only for topics NOT covered in the reference files.Use this Skill for Solidity smart contract development on VeChainThor:
@vechain/sdk-hardhat-plugin| Layer | Default | Alternative |
|---|---|---|
| Contracts | Solidity + Hardhat + @vechain/sdk-hardhat-plugin | -- |
| EVM target | paris (mandatory) | -- |
| Testing | Hardhat + Thor Solo (--on-demand) | -- |
| Types | TypeChain (@typechain/ethers-v6) | @vechain/vechain-contract-types (pre-built) |
| Node | Node 20 LTS (managed via nvm) | -- |
Before installing dependencies or running any command:
.nvmrc exists in the project root. If yes, run nvm use to switch to the required version..nvmrc does not exist, create one with 20 (Node 20 LTS) and run nvm use.turbo.json present → follow Turborepo conventions (packages/contracts, packages/*)When the user's request is ambiguous or could be solved multiple ways, ask before building. Separate research from implementation.
mainnet/testnet/solo)parisA task is not complete until all applicable gates pass:
Read the matching files BEFORE doing anything else. See Critical Rules above.
| Topic | File | Read when user mentions... |
|---|---|---|
| Smart contracts | references/smart-contracts.md | Solidity, Hardhat, ERC-20, ERC-721, deploy, contract interaction, libraries, contract size, upgradeable, proxy, upgrade, reinitializer, version pattern, deploy helpers, NatSpec, Slither |
| Gas optimization | references/smart-contracts-optimization.md | gas, optimize, storage packing, assembly, unchecked |
| Testing | references/testing.md | test, Thor Solo, Docker, CI, fixtures |
| ABI / codegen | references/abi-codegen.md | TypeChain, ABI, typechain-types, code generation |
| Security | references/security.md | security, audit, vulnerability, reentrancy, access control, invariant, balance check, path symmetry, adversarial, edge cases, what could go wrong |