solidity-testing
✓[AUTO-INVOKE] MUST be invoked BEFORE writing or modifying any test files (*.t.sol). Covers test structure, naming conventions, coverage requirements, fuzz testing, and Foundry cheatcodes. Trigger: any task involving creating, editing, or running Solidity tests.
Installation
SKILL.md
| Happy path | Standard input → expected output, correct state changes | | Permission checks | Unauthorized caller → vm.expectRevert with correct error | | Boundary conditions | Zero values, max values (type(uint256).max), off-by-one | | Failure scenarios | Every require / revert / custom error path |
| State changes | Storage updates, balance changes, event emissions (vm.expectEmit) | | Edge cases | Empty arrays, duplicate calls, self-transfers |
| vm.prank(addr) | Next call from addr | | vm.startPrank(addr) | All calls from addr until vm.stopPrank() | | vm.warp(timestamp) | Set block.timestamp | | vm.roll(blockNum) | Set block.number | | vm.deal(addr, amount) | Set ETH balance | | vm.expectRevert(error) | Next call must revert with specific error |
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/0xlayerghost/solidity-agent-kit --skill solidity-testing- Category
- </>Dev Tools
- Verified
- ✓
- First Seen
- 2026-02-17
- Updated
- 2026-02-18
Quick answers
What is solidity-testing?
[AUTO-INVOKE] MUST be invoked BEFORE writing or modifying any test files (*.t.sol). Covers test structure, naming conventions, coverage requirements, fuzz testing, and Foundry cheatcodes. Trigger: any task involving creating, editing, or running Solidity tests. Source: 0xlayerghost/solidity-agent-kit.
How do I install solidity-testing?
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/0xlayerghost/solidity-agent-kit --skill solidity-testing Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Where is the source repository?
https://github.com/0xlayerghost/solidity-agent-kit
Details
- Category
- </>Dev Tools
- Source
- skills.sh
- First Seen
- 2026-02-17