원클릭으로
test-contracts
Run Solidity smart contract tests using Foundry forge
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Run Solidity smart contract tests using Foundry forge
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Build all project components (Solidity contracts and Rust WASM)
Check the health and state of a deployed SmartVault by querying on-chain data
DeFi conventions, decimal handling, and protocol integration patterns used in this project. Load when working with token amounts, price conversions, or protocol interactions.
Deploy smart vault contracts to a local Anvil fork
Run the full end-to-end integration test suite
Run all linting and formatting checks across the project
| name | test-contracts |
| description | Run Solidity smart contract tests using Foundry forge |
| disable-model-invocation | true |
| argument-hint | [test-name or file-path] |
Run the Solidity smart contract tests.
If arguments are provided, run a targeted test:
$ARGUMENTS looks like a test name: forge test --match-test $ARGUMENTS -vvv$ARGUMENTS looks like a file path: forge test --match-path $ARGUMENTS -vvvforge test -vvvTest files in contracts/test/:
SmartVault.t.sol — Core unit tests (deposit, withdraw, LP, hedge)SmartVault.delta.t.sol — Delta rebalancing testsSmartVault.invariant.t.sol — Stateful invariant testsSmartVault.oicap.t.sol — Open interest cap / ReduceLiability testsSmartVault.race.t.sol — WAVS race condition / cooldown testsIf tests fail, analyze the output, identify the root cause, and suggest a fix.