diff --git a/submissions/uniswap-swap-integration/LICENSE b/submissions/uniswap-swap-integration/LICENSE new file mode 100644 index 0000000..fb60be1 --- /dev/null +++ b/submissions/uniswap-swap-integration/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 Uniswap Labs + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/submissions/uniswap-swap-integration/README.md b/submissions/uniswap-swap-integration/README.md new file mode 100644 index 0000000..709b860 --- /dev/null +++ b/submissions/uniswap-swap-integration/README.md @@ -0,0 +1,25 @@ +# uniswap-swap-integration + +Integrate Uniswap swaps into frontends, backends, and smart contracts via Trading API, Universal Router SDK, or direct contract calls + +## Source + +This skill is maintained by Uniswap Labs in the [uniswap-ai](https://github.com/uniswap/uniswap-ai) monorepo. + +The canonical source is at [`packages/plugins/uniswap-trading/skills/swap-integration/`](https://github.com/uniswap/uniswap-ai/tree/main/packages/plugins/uniswap-trading/skills/swap-integration). + +### What It Does + +- Guides AI agents through integrating Uniswap swaps using the Trading API, Universal Router SDK, or direct smart contract calls +- Covers frontend hooks, backend scripts, Solidity integrations, Permit2 patterns, and L2 WETH handling +- Provides decision matrices for choosing the right integration method + +### Related Skills + +- **uniswap-swap-planner**: Plan swaps and generate Uniswap deep links +- **uniswap-viem-integration**: Foundational EVM blockchain integration +- **uniswap-pay-with-any-token**: Pay HTTP 402 challenges using any token + +## License + +MIT diff --git a/submissions/uniswap-swap-integration/plugin.yaml b/submissions/uniswap-swap-integration/plugin.yaml new file mode 100644 index 0000000..ea6970f --- /dev/null +++ b/submissions/uniswap-swap-integration/plugin.yaml @@ -0,0 +1,24 @@ +schema_version: 1 +name: uniswap-swap-integration +version: "1.3.0" +description: "Integrate Uniswap swaps into frontends, backends, and smart contracts via Trading API, Universal Router SDK, or direct contract calls" +author: + name: "Uniswap Labs" + github: "wkoutre" +license: MIT +category: defi-protocol +tags: + - uniswap + - swap + - defi + - trading-api + - universal-router + - permit2 + - ethereum + +components: + skill: + dir: skills/uniswap-swap-integration + +api_calls: + - "trade-api.gateway.uniswap.org" diff --git a/submissions/uniswap-swap-integration/skills/uniswap-swap-integration/SKILL.md b/submissions/uniswap-swap-integration/skills/uniswap-swap-integration/SKILL.md new file mode 100644 index 0000000..6cb11a8 --- /dev/null +++ b/submissions/uniswap-swap-integration/skills/uniswap-swap-integration/SKILL.md @@ -0,0 +1,25 @@ +--- +name: uniswap-swap-integration +description: "Integrate Uniswap swaps into applications via Trading API, Universal Router SDK, or direct smart contract calls" +version: "1.3.0" +author: "Uniswap Labs" +tags: + - uniswap + - defi +--- + +# uniswap-swap-integration + +This skill is maintained by Uniswap Labs. Install the full version: + +``` +npx skills add Uniswap/uniswap-ai +``` + +Or install just this plugin: + +``` +claude plugin add @uniswap/uniswap-trading +``` + +Source: [uniswap-ai/packages/plugins/uniswap-trading/skills/swap-integration](https://github.com/uniswap/uniswap-ai/tree/main/packages/plugins/uniswap-trading/skills/swap-integration)