一键导入
test-rust
Run Rust WASM component tests and formatting checks
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run Rust WASM component tests and formatting checks
用 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-rust |
| description | Run Rust WASM component tests and formatting checks |
| disable-model-invocation | true |
| argument-hint | [test-name] |
Run the Rust component tests.
Steps:
cargo test --workspace (or cargo test --workspace -- $ARGUMENTS if a test name is provided)cargo fmt --all --check to verify formattingIf tests fail, analyze the output and identify the failing test(s). If formatting fails, show what needs to change.
Components:
components/delta_neutral_strategy/ — Strategy logic, adapters, mathcomponents/aggregator/ — Signature collection, gas oracle, submission