create-test-pool
SKILL.md
Create Test Pool
Overview
Deploys a custom Uniswap pool on the local testnet with exact parameters you specify. This lets you create controlled test environments -- thin liquidity pools, extreme price ranges, specific fee tiers -- to test how agents behave under edge conditions.
Why this is 10x better than doing it manually:
- No Solidity scripting: Creating a V3 pool manually requires calling
createAndInitializePoolIfNecessary, computingsqrtPriceX96, calculating tick ranges, approving tokens, and callingmint. This does it all with natural language. - Token resolution: Say "WETH/USDC" and it resolves addresses, decimals, and sorts tokens correctly. No need to look up contract addresses.
- Automatic funding: If the deployer account doesn't have enough tokens, the tool handles whale impersonation to fund the deployment.
- Price-to-tick conversion: Specify a price like "2000" (USDC per WETH) and the tool computes the correct
sqrtPriceX96and tick range. - Edge case testing: Create pools with $100 liquidity to test thin-market behavior, or pools at extreme prices to test boundary conditions.
- Verification: After deployment, you can immediately query the pool with
get_pool_infoto confirm state.
When to Use
Activate when the user says anything like: