OneKey App Earn, Borrow, Staking, and DeFi Portfolio implementation or debugging. Use for protocol data, action visibility, claim/withdraw/repay, transactions, pending/history, refresh, and Earn routes.
75
92%
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
Use this skill as an owner and contract router. Ground every decision in the current code, payload, and owning service; do not treat an old issue or implementation snapshot as product truth.
rg; reuse it only where its
identity and operation semantics match.| Symptom or change | Start with | Load |
|---|---|---|
| Earn home, list, recommendation, or detail | Earn view/state owner and its service request | app-architecture.md, code-map.md |
| Borrow market, reserve, collateral, or health factor | Borrow view/hooks plus current lending contract | operation-flow.md |
| Portfolio action missing or failing | Position metadata, supported actions, then transaction builder | portfolio-actions-guide.md |
| Claim, withdraw, repay, approval, permit, or order status | Operation sequence and terminal ownership | operation-flow.md |
| Native route, modal, restart, event, or account switch | Platform host and runtime ownership | app-architecture.md |
| External protocol website | Discovery/browser until a chain RPC enters the App | app-architecture.md |
| Funding or conversion after a handoff to Swap | DeFi owns the prefill; Swap owns execution after quoting starts | $1k-trade-swap-market |
Load only what the task needs:
$1k-i18n.The owner and contract are explicit, the change is scoped to that owner, focused tests pass, the affected route/platform demonstrates the intended terminal state, and any unverified runtime or server dependency is disclosed.
$1k-trade-swap-market for Swap execution after a DeFi handoff.$1k-state-management for Jotai ownership.$1k-cross-platform for platform-specific UI and routing.$1k-coding-patterns for TypeScript, React, and error handling.d71e6b7
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.