What problem does it solve? Writing Foundry tests that match an existing codebase's conventions is slow and error-prone: directory layout, inheritance chains, naming rules, and interface-only imports all vary per repository. This Skill generates unit tests for OUSD/OETH contracts that conform exactly to this repository's established structure and style. ## Core Features & Use Cases - Convention-compliant test generation: Produces concrete and fuzz tests with the correct directory layout (unit/<category>/<Contract>/concrete|fuzz), inheritance chain (Base → Unit_Shared_Test → concrete/fuzz test contracts), and naming patterns (test_<fn>_RevertWhen_<condition>, testFuzz_<fn>_<property>). - Interface-only testing enforcement: Ensures tests import interfaces (IVault, IOToken, IWOToken, IProxy) instead of concrete contracts, deploy via vm.deployCode with artifact paths from tests/utils/Artifacts.sol, and emit events from interfaces. - Shared setup scaffolding: Generates Shared.sol with the canonical setup order (mocks, deployments, configuration, funding, labels) and proxy initialization patterns. - Use Case: You added a new rebaseOptIn function to a vault contract and need both concrete revert-path tests and fuzz coverage of its arithmetic properties, matching the repo's existing test suite style. ## Quick Start Ask the AI to generate Foundry unit tests, including concrete and fuzz coverage, for a specific contract function following this repository's test conventions.