solidity-testing
✓[AUTO-INVOKE] は、テスト ファイル (*.t.sol) を作成または変更する前に呼び出す必要があります。テスト構造、命名規則、カバレッジ要件、ファズテスト、Foundry チートコードについて説明します。トリガー: Solidity テストの作成、編集、または実行を伴うタスク。
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 |
引用可能な情報
AI/検索での引用用の安定したフィールドとコマンド。
- インストールコマンド
npx skills add https://github.com/0xlayerghost/solidity-agent-kit --skill solidity-testing- カテゴリ
- </>開発ツール
- 認証済み
- ✓
- 初回登録
- 2026-02-17
- 更新日
- 2026-02-18
クイックアンサー
solidity-testing とは?
[AUTO-INVOKE] は、テスト ファイル (*.t.sol) を作成または変更する前に呼び出す必要があります。テスト構造、命名規則、カバレッジ要件、ファズテスト、Foundry チートコードについて説明します。トリガー: Solidity テストの作成、編集、または実行を伴うタスク。 ソース: 0xlayerghost/solidity-agent-kit。
solidity-testing のインストール方法は?
ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/0xlayerghost/solidity-agent-kit --skill solidity-testing インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code や Cursor で使用できるようになります
ソースリポジトリはどこですか?
https://github.com/0xlayerghost/solidity-agent-kit
詳細
- カテゴリ
- </>開発ツール
- ソース
- skills.sh
- 初回登録
- 2026-02-17