一键导入
tdd
Test-driven development loop for Solidity smart contracts. unit-test-engineer writes failing tests, contract-developer implements, loop until green.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Test-driven development loop for Solidity smart contracts. unit-test-engineer writes failing tests, contract-developer implements, loop until green.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
End-to-end protocol build pipeline — contract development, testing, auditing, gas optimization, deployment, and dApp integration. Hybrid sequential/parallel execution.
Shows all available eth-agents skills with trigger phrases and usage examples.
Extracts a reusable skill pattern from the current session and saves it to user scope for automatic activation in future sessions.
Security vulnerability analysis for Solidity smart contracts. Runs static analysis, optional dynamic testing and formal verification.
Full contract build pipeline — write → TDD loop → static audit → gas optimization. Produces a production-ready contract.
Multichain smart contract deployment with Etherscan verification. Requires explicit user confirmation before mainnet execution.
| name | tdd |
| description | Test-driven development loop for Solidity smart contracts. unit-test-engineer writes failing tests, contract-developer implements, loop until green. |
| triggers | ["write tests first","tdd","test-driven","write unit tests for","test-first development","write failing tests"] |
| agent | orchestrator |
| model | sonnet |
Implements a strict TDD loop for contract development. Ensures every line of implementation code is covered by a test written before the implementation. Maximum 5 iterations before halting.
eth_skill_start({ skill: "tdd", totalPhases: 1 })unit-test-engineer with the contract specificationunit-test-engineer writes failing tests and runs them to confirm failurecontract-developer with the failing testscontract-developer writes minimal implementation to pass the testsunit-test-engineer again to verify tests pass + coverageeth_reset()"write tests first for an ERC20 vault"
"tdd a staking contract"
"write unit tests for the Auction contract before implementing"
# Output:
- test/[ContractName].t.sol (Foundry) or test/[ContractName].test.ts (Hardhat)
- src/[ContractName].sol with minimal implementation
- Coverage report