onekeyhq
- 64 skills
- 0 followers
- 14 hours ago last updated
- ▌ Onekey Recorder 2 · onekeyhqRecorder - CDP 录制器。捕获用户在 OneKey 上的操作,生成操作清单。 Triggers on: /onekey-recorder, "录制", "record", "开始录制".
- ▌ Onekey QA Review 2 · onekeyhqQA Review - 提交前 QA 专项审查。检查用例、规则、脚本、Skill 的规范性、一致性、安全性。 生成审查报告到 shared/reports/。 Triggers on: /onekey-qa-review, /qa-review, "审查用例", "review 用例", "检查提交".
- ▌
- ▌ Onekey Test Designer 2 · onekeyhqTest Designer - 从 PRD 到可执行测试。分析用例 → 引导录制 → 生成测试脚本。 Triggers on: /onekey-test-designer, "设计用例", "写用例", "新增测试".
- ▌ Onekey Swap · onekeyhq bundleUse when the user asks to swap tokens, trade ETH for USDC, buy tokens, sell tokens, exchange crypto, get a swap quote, check swap status, perform a cross-chain swap or bridge, swap SOL/SPL, swap BTC/TBTC, sign a BTC PSBT, 换币, 买币, 卖币, 兑换, 交易, or 跨链. Do NOT use for token research or prices — use onekey-market. Do NOT use for security audits — use onekey-security. Do NOT use for wallet balances or transfers — use onekey-wallet.
- ▌ Onekey Market · onekeyhq bundleUse when the user asks about token price, BTC/SOL market questions, trending tokens, search token, kline chart, candlestick data, trading volume, top holders, liquidity, token info, 代币价格, 热门代币, K线, BTC 行情, SOL 行情, or 搜索代币. Do NOT use for swap execution — use onekey-swap. Do NOT use for security audits — use onekey-security. Do NOT use for wallet balances or transfers — use onekey-wallet.
- ▌ Onekey Wallet · onekeyhq bundleUse when the user asks to log in with OneKey App Transfer/App Transport Bot Wallet or hardware wallet, check balance/assets, receive or derive BTC/Solana addresses, send/transfer BTC/SOL/tokens, view history, check wallet status, 查余额, 登录钱包, 硬件钱包, 转账, 发送, 收款, 导入钱包, or 交易记录. Do NOT use for swap execution — use onekey-swap. Do NOT use for token prices or research — use onekey-market. Do NOT use for security audits — use onekey-security.
- ▌ Onekey Security · onekeyhq bundleUse when the user asks is this token safe, wants a honeypot check, security scan, simulate transaction, risk assessment, hardware wallet safety, App Transfer/App Transport Bot Wallet secret safety, seed/private-key exposure requests, 代币安全, 蜜罐检测, 安全审计, 硬件钱包安全, or 模拟交易. Do NOT use for token prices — use onekey-market. Do NOT use for swap execution — use onekey-swap. Do NOT use for wallet balances or transfers — use onekey-wallet.
- ▌ Hardware Release · onekeyhq bundlePrepare an explicitly authorized Hardware JS SDK version, package build, compatibility check, npm publication, release notes, or release PR. Never invoke implicitly.
- ▌ Hardware Create Pr · onekeyhq bundleCreate a Hardware JS SDK Pull Request from current changes, including scoped staging, validation, commit, push, and an evidence-based PR description. Invoke only when the user explicitly asks to create or submit a PR.
- ▌ Hardware Change Plan · onekeyhq bundleCreate or review an implementation plan, technical plan, task breakdown, acceptance criteria, or validation matrix for a Hardware JS SDK change.
- ▌ Hardware Architecture · onekeyhq bundleAnalyze or change Hardware JS SDK package ownership, Core/transport boundaries, public API compatibility, Device lifecycle, or legacy hd-* versus hwk-* architecture.
- ▌ Hardware Dev Commands · onekeyhq bundleChoose Hardware JS SDK setup, development, build, test, protobuf, example, validation, branch, or commit commands. Use when asked how to run, build, test, validate, or develop this repository.
- ▌ Hardware Error Handling · onekeyhq bundleAnalyze, add, map, serialize, test, or review Hardware JS SDK errors within either the independent hd-core or hwk error system, including public codes, transport/vendor mapping, cross-runtime failures, retry and cleanup semantics, and user recovery.
- ▌ Hardware Security Review · onekeyhq bundlePerform an explicit security review of hardware-wallet signing, derivation, wallet sessions, PIN/passphrase, unlock, secure channels, firmware updates, logging, dependencies, or sensitive-data boundaries.
- ▌ Hardware Chain Integration · onekeyhq bundleImplement or review hardware-wallet chain support, address derivation, signing methods, derivation paths, transaction serialization, message signing, or device capability checks.
- ▌ Hardware Firmware Protobuf · onekeyhq bundleUpdate or review firmware-pro2 submodules, Protocol V2 protobuf sources, generated schemas/types, firmware messages, or SDK/firmware compatibility. Use explicitly because it can move submodule pointers or regenerate artifacts.
- ▌ Hardware Transport Protocol · onekeyhq bundleDiagnose or implement WebUSB, Electron BLE, React Native BLE, Node USB, low-level, emulator, Protocol V1/V2 probing, framing, timeout, reconnect, sequence, or link-lifecycle changes.
- ▌
- ▌
- ▌ Onekey Qatest · onekeyhqQATest - 一键准备执行环境:检查/启动 OneKey CDP(9222) + 启动 Dashboard 执行面板(5050),并引导在面板勾选用例开始执行。 Triggers on: /qatest, "/qatest 开始执行", "qatest/开始执行", "打开执行面板", "开始执行用例".
- ▌ Onekey Runner · onekeyhqRunner - 测试执行。通过 Dashboard 或 CLI 执行用例。 Triggers on: /onekey-runner, "执行测试", "run case", "run test".
- ▌ Onekey Recorder · onekeyhqRecorder - CDP 录制器。捕获用户在 OneKey 上的操作,生成操作清单。 Triggers on: /onekey-recorder, "录制", "record", "开始录制".
- ▌ Onekey Reporter · onekeyhqReporter - 测试报告生成、趋势分析。 Triggers on: /onekey-reporter, "生成报告", "测试报告", "quality report".
- ▌ Onekey QA Review · onekeyhqQA Review - 提交前 QA 专项审查。检查用例、规则、脚本、Skill 的规范性、一致性、安全性。 生成审查报告到 shared/reports/。 Triggers on: /onekey-qa-review, /qa-review, "审查用例", "review 用例", "检查提交".
- ▌
- ▌ Onekey QA Manager · onekeyhqQA Manager - 失败诊断、根因分类、修复建议。只诊断不改代码。 Triggers on: /onekey-qa-manager, "诊断失败", "分析结果", "为什么失败".
- ▌
- ▌ Onekey QA Director · onekeyhqQA Director - 测试总调度。启动执行、检查前置条件、汇总结果、失败时协调诊断修复。 Triggers on: /onekey-qa-director, /onekey-test, "跑测试", "执行用例", "回归测试".
- ▌
- ▌ Onekey Test Designer · onekeyhqTest Designer - 从 PRD 到可执行测试。分析用例 → 引导录制 → 生成测试脚本。 Triggers on: /onekey-test-designer, "设计用例", "写用例", "新增测试".
- ▌ Onekey Record To Test · onekeyhqRecord-to-Test - Android 录制 → 确认操作清单 → 生成 Midscene 测试 → 执行验证。 完整的端到端流程,从手机操作录制到可执行测试脚本。 Triggers on: /onekey-record-to-test, "录制测试", "record and test", "录制到测试".
- ▌
- ▌ Onekey Record From File · onekeyhqRecord From File - 读取用例文件(@引用)→ 重编排为连续场景流(intent-only)→ 启动/检查 CDP + Recorder → 引导录制并输出步骤清单确认。 Triggers on: /onekey-record-from-file, /onekey-record-file, "发文件开始录制", "用例开始录制".
- ▌ Onekey Knowledge Builder · onekeyhqKnowledge Builder - 选择器修复、UI 映射维护、前置条件更新。 Triggers on: /onekey-knowledge-builder, "更新选择器", "修复选择器", "update ui-map".
- ▌ 1k I18N · onekeyhq bundleOneKey i18n and Lokalise workflow for module copy, full-language translation create/update, bilingual previews, confirmed upload, pull, and verification. Never edit generated translations.
- ▌ 1k Sentry · onekeyhq bundleConfigure OneKey Sentry and filter events across desktop, mobile, web, and extension.
- ▌ 1k Analytics · onekeyhq bundleOneKey analytics and server event tracking with LogToServer, logger scopes/scenes, and business metrics. Use for 埋点, analytics, or tracking events.
- ▌ 1k Create Pr · onekeyhq bundleCreates a Pull Request from current changes for OneKey app-monorepo. Use when user wants to create PR, submit changes, or merge feature branch. Handles branch creation, commit, push, and PR creation with conversation context extraction for code review AI.
- ▌ 1k UI Verify · onekeyhq bundleDrive 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 UI Recipes · onekeyhq bundleReference-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, startViewTransition, 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 Performance · onekeyhq bundlePerformance optimization for React/React Native — re-renders, memoization, FlashList, memory leaks, and bundle size.
- ▌ 1k Code Quality · onekeyhq bundleCode quality standards — lint (oxlint), format (oxfmt), type check (tsc), pre-commit hooks, and comment conventions. All comments must be in English.
- ▌ 1k Dev Commands · onekeyhq bundleOneKey development commands plus branch, commit, validation, and PR conventions.
- ▌ 1k Perps Module · onekeyhq bundleOneKey Perps/Hyperliquid development for views/Perp, orders, orderbook, charts, Relay deposits, positions, funding, margin, and liquidation. Excludes generic Swap/Market work.
- ▌ 1k Debug Logging · onekeyhqAdd or clean temporary OneKey debug console logs with consistent prefixes and safe stringify. Excludes analytics and permanent server logs.
- ▌ 1k Monitor Pr CI · onekeyhq bundleMonitor OneKey PR checks and review threads, fix failures, address comments, and continue until the PR is ready.
- ▌ 1k Browser Module · onekeyhq bundleOneKey Browser/Discovery development for WebView tabs, bookmarks, history, search, URL risk checks, DApp connections, and JSBridge behavior.
- ▌ 1k Bundle Release · onekeyhq bundleBundle release workflow — checkout, prepare, pr, diff-check, audit, publish, sync.
- ▌ 1k Cold Start Ssr · onekeyhq bundleJotai Cold Start SSR + unified startup timing schema — cold start optimization via MMKV snapshot hydration and the cross-platform `[StartupTiming]` log taxonomy for OneKey native app. Use when debugging startup performance regressions, analyzing cold start timeline, comparing iOS vs Android startup phases, or modifying the snapshot hydration pipeline. Triggers on: cold start, startup optimization, 启动时间, SSR hydration, Balance displayed regression, MMKV snapshot, contextAtomBase, flushColdStartCache, __ONEKEY_CTX_ATOM_SNAPSHOT__, StartupTiming, main_host.did_start, bg_runner.start, ios.main_entry.evaluated, android.app.on_create, android.activity.on_create.
- ▌ 1k Cross Platform · onekeyhq bundleOneKey cross-platform patterns, platform files, platformEnv, and supported OS/SDK requirements.
- ▌ 1k Perf Optimizer · onekeyhq bundleDiagnose and optimize OneKey iOS startup and Wallet Home performance using timing metrics, call counts, profiling, and regression baselines.
- ▌ 1k Worktree Clean · onekeyhq bundleUse 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 Coding Patterns · onekeyhq bundleOneKey coding patterns for TypeScript, React, promises, date formatting, and error handling.
- ▌ 1k Jira QA Handoff · onekeyhq bundleGenerate Chinese product behavior and QA cases from commits, then sync them to a Jira issue while preserving existing context and Slack links.
- ▌ 1k Startup Profile · onekeyhq bundleDeep 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 App Upgrade Test · onekeyhq bundleCreate test versions to verify app auto-update functionality and version migration.
- ▌ 1k Trade Swap Market · onekeyhq bundleNavigate 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.
- ▌ 1k Patch Package Workflow · onekeyhqCreate or regenerate patch-package patches, including resolutions failures and build-artifact verification.
- ▌ 1k Defi Module Integration · onekeyhq bundleNavigate and implement OneKey App Earn, Borrow, Staking, and DeFi Portfolio flows. Use for protocol data, portfolio actions, transactions, pending/history, refresh, and Earn routes.
- ▌ 1k Tradingview Communication · onekeyhqOneKey TradingView bridge communication for WebView/iframe messages, K-line data, marks, Perps symbols/lines, order events, and websocket recovery.
- ▌ 1k Implementing Figma Designs · onekeyhqImplements Figma designs 1:1 using OneKey component library (还原设计稿).
- ▌ 1k Code Review Pr · onekeyhqStructured PR code review checklist for OneKey monorepo. Use when reviewing PRs to identify build issues, script problems, CI workflow gaps, and documentation inconsistencies. Focuses on actionable feedback with priority levels and specific fix suggestions. 代码审查. Code Review PR.
- ▌ 1k Git Workflow · onekeyhqGit workflow and conventions for OneKey development. Use when creating branches, committing code, or creating PRs. Triggers on git, branch, commit, PR, pull request, merge, workflow.