Navigate OneKey App Swap, Bridge, Limit, and Stock/Market flows. Use for token selection, quotes, review/build/send, providers, cold start, and history/status; use the Perps skill for Hyperliquid.
66
79%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Medium
Suggest reviewing before use
Fix and improve this skill with Tessl
tessl review fix ./.skillshare/skills/1k-trade-swap-market/SKILL.mdUse this skill to preserve trade ownership and lifecycle boundaries. Start from the current code, payloads, and runtime; do not treat this skill as a path catalog or an implementation snapshot.
Market's embedded token/stock trade is an entry adapter, not a second trade implementation. Once the embedded route mounts, reuse Swap's provider, quote, timer, manual-refresh, review, build/send, fallback, and history owners. Keep only Market-owned context (for example K-line/detail layout, stock variant selection, speed config, sizing data, or header slots) at the boundary and pass it through typed Swap extensions. Do not recreate a Market quote effect, review dialog, action state, or input state beside the shared Swap ticket.
When a stock variant or network changes, migrate the full trade identity and network-scoped pay-token state atomically. Keep the ticket mounted for partial refresh, but reuse in-flight/detail/pay-token state only for the same complete identity; clear incompatible selections before the next network's candidates arrive. Treat transient config/quote readiness separately from terminal unsupported/unavailable states so a fallback or explicit unavailable surface is not hidden behind an endless skeleton or disabled action.
entry -> selection -> quote -> review -> execution -> history/status.Locate the current owner in the live source before editing, then load only the reference that matches the failure class:
State the entry, first wrong owner, and identities that matter. Run nearby tests and the repository-required checks, then prove the affected route and payload on the owning platform. Report any runtime or provider evidence you could not get.
Related skills: $1k-perps-module, $1k-tradingview-communication,
$1k-state-management, $1k-cross-platform, $1k-defi-module-integration.
356c24e
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.