OneKeyHQ
@OneKeyHQ Organization
Public Skills
1k-platform-requirements
by OneKeyHQ
Minimum SDK/OS version requirements for all OneKey platforms (iOS, Android, Chrome, Electron).
ui-copy
by OneKeyHQ
编写、精简或审查中英文界面文案:按钮、标题、表单、报错、空状态、toast、确认弹窗、设置项和 i18n 源文案,以及给产品内 AI 生成文案写约束。用于“改下文案”“这个报错怎么写”“界面字太多”“去 AI slop”“审一下这些 key”。长段落的 Slack、文档和文章交给 chinese-writing;翻译交给 gemini-translate。
1k-i18n
by OneKeyHQ
OneKey i18n and Lokalise workflow for module copy, full-language translation create/update, bilingual previews, confirmed upload, pull, and verification. Never edit generated translations.
1k-defi-module-integration
by OneKeyHQ
Implement and debug OneKey Earn, Borrow, Staking, and DeFi Portfolio flows, including protocol actions, approval, positions, settlement, and refresh.
1k-trade-swap-market
by OneKeyHQ
Implement and debug OneKey Swap, Bridge, Limit, and Stock/Market trades, including quotes, review, execution, fees, and history. Excludes Perps and chart communication.
1k-performance
by OneKeyHQ
Performance optimization for React/React Native — re-renders, memoization, FlashList, memory leaks, and bundle size.
1k-ui-snapshot-cache
by OneKeyHQ
"UI snapshot cache (display-only, main-thread) + unified startup timing schema — cold-start reads from snapshot namespaces (MMKV on native, IndexedDB on web) and the cross-platform [StartupTiming] log taxonomy. Use when adding or debugging a UI snapshot / SWR cache, debugging startup performance regressions, analyzing cold start timeline, or comparing iOS vs Android startup phases. Triggers on: ui snapshot cache, SnapshotCache, swr cache, usePromiseResult cache, cold start, startup optimization, 启动时间, SSR hydration, Balance displayed regression, contextAtomBase, flushColdStartCache, __ONEKEY_CTX_ATOM_SNAPSHOT__, StartupTiming, main_host.did_start, bg_runner.start."
1k-ui-recipes
by OneKeyHQ
Reference-only catalog of UI workaround recipes. Do NOT auto-load — invoke ONLY when the user explicitly asks for "1k-ui-recipes" or a specific recipe by name (iOS tab bar scroll offset, collapsible tab horizontal scroll, Android bottom tab touch intercept, keyboard avoidance, iOS overlay navigation freeze, web keyboardDismissMode, iOS modal Fabric frame animation, Android background thread timers/microtasks).
1k-patch-package-workflow
by OneKeyHQ
"Create or regenerate patch-package patches, including resolutions failures and build-artifact verification."
1k-worktree-clean
by OneKeyHQ
Use when the user wants to audit local git worktrees against origin/x, choose by number or A, and decide whether stale worktree directories, already-merged worktrees, or no-delta worktrees can be cleaned up. Triggers on "worktree clean", "worktree 合并到 x", "检测哪些 worktree 已进 x".
1k-perps-module
by OneKeyHQ
"Use for OneKey Perps/Hyperliquid development/review: views/Perp, ServiceHyperLiquid, 永续合约, 订单簿, orderbook, TWAP, scale, Chase, Relay/Unifold deposits, signing, charts or layouts. Excludes generic Swap/Market."
1k-dev-commands
by OneKeyHQ
OneKey development commands plus branch, commit, validation, and PR conventions.
1k-ui-verify
by OneKeyHQ
Drive OneKey desktop or mobile apps to verify real visual and interactive behavior using CDP/Playwright or agent-device. Use for UI 验证 or screenshot confirmation.
1k-code-review-pr
by OneKeyHQ
Review OneKey PRs and diffs for security, correctness, concurrency, React/RN pitfalls, and repository-specific regressions. Use for code review or 审查 PR.
1k-code-quality
by OneKeyHQ
Code quality standards — lint (oxlint), format (oxfmt), type check (tsc), pre-commit hooks, and comment conventions. All comments must be in English.
1k-tradingview-communication
by OneKeyHQ
OneKey TradingView bridge communication for WebView/iframe messages, K-line data, marks, Perps symbols/lines, order events, and websocket recovery.
1k-perf-optimizer
by OneKeyHQ
"Diagnose and optimize OneKey iOS startup and Wallet Home performance using timing metrics, call counts, profiling, and regression baselines."
1k-analytics
by OneKeyHQ
OneKey analytics and server event tracking with LogToServer, logger scopes/scenes, and business metrics. Use for 埋点, analytics, or tracking events.
1k-monitor-pr-ci
by OneKeyHQ
Monitor OneKey PR checks and review threads, fix failures, address comments, and continue until the PR is ready.
1k-coding-patterns
by OneKeyHQ
OneKey coding patterns for TypeScript, React, promises, date formatting, and error handling.
1k-sentry
by OneKeyHQ
Configure OneKey Sentry and filter events across desktop, mobile, web, and extension.
1k-startup-profile
by OneKeyHQ
"Deep startup profiling for OneKey mobile — per-module JS factory timings, HBC I/O/parse breakdown, per-segment timings. Gated behind the single env var ONEKEY_STARTUP_PROFILE=1. Zero overhead when disabled (default). Use when diagnosing cold-start regressions, sizing main.bundle parse cost, finding slow modules, measuring segment load, or auditing what a 1.7s require('./App') actually contains. Triggers on: startup profile, 启动性能分析, module timing, HBC parse time, segment timing, require cost, StartupProfile, ONEKEY_STARTUP_PROFILE, __d patcher, inline-requires."
1k-jira-qa-handoff
by OneKeyHQ
Generate Chinese product behavior and QA cases from commits, then sync them to a Jira issue while preserving existing context and Slack links.
1k-debug-logging
by OneKeyHQ
Add or clean temporary OneKey debug console logs with consistent prefixes and safe stringify. Excludes analytics and permanent server logs.