1k-perps-module
Installation
SKILL.md
Perps / Hyperliquid Domain Guide
Use this as a Perps/Hyperliquid domain router for order semantics, realtime subscriptions, and UI/background state races. Choose the owner and proof path; verify anchors with rg before editing.
60-Second Triage
- Gate: use only when OneKey Perps/Hyperliquid is explicit in the prompt or file path.
- Infer scope: asset type (
perp/spot), account/dex, order mode, and platform. Ask only if missing scope blocks correctness or creates trading risk. - Pick owner from the matrix; avoid downstream display shims for trading/realtime contracts.
- Load minimum refs: one matching reference first; add code-map.md / validation-recipes.md only for owner/proof/implementation.
Trigger Boundary
| Prompt/file signal | Use this skill? | First move |
|---|---|---|
views/Perp, ServiceHyperLiquid, Hyperliquid, Perps/永续/合约 trading |
Yes | Pick owner below, then one reference |
| Generic Market K-line, generic TradingView bridge, generic token selector | No | Use adjacent Market/TradingView/token-selector skill or repo search |
| Generic Swap Relay quote/status/pending/requestId | No | Use $1k-trade-swap-market unless Perps deposit is explicit |
Perps deposit, usePerpDeposit, fetchPerpDeposit*, perpsDepositOrderAtom, perp-deposit endpoint |
Yes | Open deposit-relay.md |