This gets you swapping tokens via Uniswap across frontends, backends, and smart contracts. The skill covers three integration paths: the Trading API for most use cases (with a clean three-step flow: check approval, get quote, execute swap), the Universal Router SDK when you need direct control over transaction construction, and on-chain integration for DeFi composability. It includes proper input validation rules, routing type tables (CLASSIC, DUTCH_V2, PRIORITY, etc.), and handles the weirdness of UniswapX responses versus standard AMM quotes. The prerequisites assume you know viem basics, so this isn't a beginner entry point. Good if you're building anything that needs programmatic token swaps and don't want to figure out Uniswap's evolving API surface yourself.
npx skills add https://github.com/uniswap/uniswap-ai --skill swap-integration