All Skills

Across Protocol Skill

The entry point. Decision tree, opinionated defaults, and operating procedure for all crosschain integrations.

Edit

Across Protocol Development Skill

What this Skill is for

Use this Skill when the user asks for:

Route type abbreviations

The Swap API classifies routes using a shorthand based on whether each token is directly bridgeable (B) or requires a swap to/from a bridgeable token (A = Any):

AbbreviationMeaningExample
B2BBridgeable → BridgeableUSDC on Arbitrum → USDC on Base (no swaps, bridge only)
A2BAny → BridgeableWBTC on Arbitrum → USDC on Base (origin swap + bridge)
B2ABridgeable → AnyUSDC on Arbitrum → WBTC on Base (bridge + destination swap)
A2AAny → AnyWBTC on Arbitrum → DAI on Base (origin swap + bridge + destination swap)

These abbreviations appear in crossSwapType responses and in refund behavior defaults.

Default stack decisions (opinionated)

1. Swap API first (recommended for most integrators)

2. Suggested-fees API: legacy only

3. Trade type selection

4. Slippage

5. Refund behavior

Operating procedure (how to execute tasks)

1. Classify the task

2. Pick the right integration path

TaskUse
Crosschain swap (any token to any token)Swap API GET /swap/approval
Bridge + destination action (mint, stake)Swap API POST /swap/approval with actions body
Programmatic TypeScript integrationApp SDK createAcrossClient()
Bridge-only with custom swap routing/suggested-fees + manual depositV3
Direct on-chain intent (ERC-7683)AcrossOriginSettler.open() on supported chains
Track a depositGET /deposit/status with depositTxnRef or originChainId + depositId

3. Implement with Across-specific correctness

Always be explicit about:

4. Test on testnet, ship on mainnet

5. Deliverable expectations

When implementing changes, provide:

Progressive disclosure (read when needed)