OneKeyHQ

OneKeyHQ

@OneKeyHQ Organization

GitHub
73 Skills
176806 Total Stars
February 2026 Joined

Public Skills

1k-defi-module-integration

by OneKeyHQ

App-side OneKey DeFi guide for Earn, native Discovery-hosted Earn, Borrow, Staking, DeFi Portfolio actions, vaults, lending, protocol integrations, ABI-backed operations, native/provider-backed operations, pending transactions, history, route handoffs, risk display, and DeFi regression review.

i18n 2.4K 1mo ago

1k-trade-swap-market

by OneKeyHQ

App-side OneKey Trade/Swap/Market guide for Swap core, Swap Pro, Wallet Home and Home Token entries, Send/Earn/Market/Buy handoffs, native/mobile host differences, K-line/chart, token selectors, cold-start frame-by-frame validation, quote/build/send flows, history/status, provider channels, PrivateSend-like channels, stock-trading channels, limit/order flows, fees, slippage, ETA, and cross-module funding handoffs.

Code Review 2.4K 1mo ago

1k-code-quality

by OneKeyHQ

Code quality standards — lint (eslint/oxlint), type check (tsc), pre-commit hooks, and comment conventions. All comments must be in English.

Comments 2.4K 2mo ago

1k-create-pr

by OneKeyHQ

Creates 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.

Code Review 2.4K 2mo ago

1k-dev-commands

by OneKeyHQ

Development commands — yarn scripts for dev servers, building, linting, testing, and troubleshooting.

CI/CD 2.4K 2mo ago

1k-git-workflow

by OneKeyHQ

Git workflow and conventions — branching, commit messages, and PR creation.

CLI Tools 2.4K 2mo ago

1k-monitor-pr-ci

by OneKeyHQ

Monitors a PR's CI checks and review comments until all pass and issues are resolved. Auto-fixes CI failures, addresses inline review comments, replies, and resolves threads. Use when watching CI status, waiting for checks to pass, fixing CI errors, or resolving review feedback on a pull request.

Comments 2.4K 2mo ago

1k-tradingview-communication

by OneKeyHQ

OneKey TradingView app bridge guide. Use when changing or debugging TradingView/WebView/iframe communication, chart URL params, kline/history/realtime messages, marks, Hyperliquid price scale, Perps SYMBOL_CHANGE, chart lines, order draft/cancel/drag-amend messages, FORCE_RECOVER_WS, or tradingview_* methods between the app repo and the chart repo. 适用于 TradingView 通信、图表 WebView 通信、K 线、perps 线、marks、消息桥排查。

Code Review 2.4K 2mo ago

1k-ui-verify

by OneKeyHQ

AI-agent-driven UI verification for OneKey. Use to actually drive the running app and confirm a visual/interactive change works — Electron desktop via Chrome DevTools Protocol (CDP) on port 9222 with playwright-core, and React Native (iOS/Android) via callstack agent-device. Triggers on "verify the UI", "drive the app", "screenshot the change", "check it on desktop/simulator", "CDP 9222", "agent-device", "UI 验证", "跑一下看看", "截图确认".

CLI Tools 2.4K 2mo ago

1k-patch-package-workflow

by OneKeyHQ

Create or regenerate a patch-package patch in this monorepo. Use when you edit anything under node_modules/ and need a persisted .patch, or when npx patch-package <pkg> fails with "Couldn't find any versions for ... matches ^x@x". Keywords: patch-package, patch a package, regenerate patch, resolutions error.

Code Gen 2.4K 2mo ago

1k-perps-module

by OneKeyHQ

Use only for explicit OneKey Perps/Hyperliquid (views/Perp, ServiceHyperLiquid, perpetuals, 永续/合约, Perps trading). Covers orderbook/L2/BBO, TWAP, scale/TIF/trigger/reduce-only, Perps TradingView/K-line, Perps Relay deposit, token selector, positions/account state/PnL/funding/margin/liquidation. Exclude generic Swap/Market/TradingView; Swap Relay quote/status/pending/requestId alone is not enough unless Perps deposit/Hyperliquid/views/Perp/usePerpDeposit/fetchPerpDeposit*/perpsDepositOrderAtom is explicit.

Analytics 2.4K 3mo ago

1k-debug-logging

by OneKeyHQ

Standardize temporary debug console logs in OneKey code with a consistent prefix and safe stringify helper. Use when adding, reviewing, or cleaning local debug logs, temporary console.log output, debug helpers, or troubleshooting-only logging. Do not use for analytics, server logs, LogToServer, or permanent business metrics.

Analytics 2.4K 3mo ago

1k-i18n

by OneKeyHQ

Internationalization — translations (ETranslations, useIntl, formatMessage) and locale management. NEVER modify auto-generated translation files.

i18n 2.4K 3mo ago

1k-browser-module

by OneKeyHQ

OneKey Browser/Discovery module development guide. Use when changing 浏览器模块, Discovery browser, MultiTabBrowser, DApp browser, WebView tabs, bookmarks, history, browser search, URL risk detection, DApp connection, JSBridge, or in-app browser behavior.

Analytics 2.4K 4mo ago

1k-code-review-pr

by OneKeyHQ

Comprehensive PR code review for OneKey monorepo. Use when reviewing PRs, code changes, or diffs — covers security (secrets/PII leakage, supply-chain, AuthN/AuthZ), code quality (hooks, race conditions, null safety, concurrent requests), and OneKey-specific patterns (Fabric crashes, MIUI, BigNumber). Triggers on "review PR", "review this PR", "code review", "check this diff", "审查 PR", "代码审查", "review #123". Always use this skill for any PR review task in this repo, even if the user doesn't explicitly mention "code review".

Comments 2.4K 4mo ago

1k-cold-start-ssr

by OneKeyHQ

"Jotai 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."

2.4K 4mo ago

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."

2.4K 4mo ago

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, 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).

Animation 2.4K 4mo ago

1k-jira-qa-handoff

by OneKeyHQ

Generates a Chinese product-behavior summary + test cases from git commits and syncs them to the PM's Jira task issue (update or create), preserving any existing Slack URLs and prior context. Use after the PM commits/PRs code. Triggers on "同步 Jira / 写到 Jira / 给 QA 写测试用例 / PM 交付 / jira QA handoff / 创建 Jira issue / 更新 Jira"; or when the user supplies a Jira URL with "总结改动" / "写测试用例".

Git & VCS 2.4K 4mo ago

1k-bundle-release

by OneKeyHQ

Bundle release workflow — checkout, prepare, pr, diff-check, audit, publish, sync.

Code Review 2.4K 5mo ago

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".

Code Review 2.4K 5mo ago

1k-auditing-pre-release-security

by OneKeyHQ

Audits security and supply-chain risk between two git refs with Codex cross-validation. 预发布安全审计(含 Codex 交叉验证)。Use when performing pre-release security audits, supply-chain reviews, or comparing two git refs for security regressions. Triggers on “预发布审计”, “security audit”, “release audit”, “安全预审”.

Code Review 2.4K 5mo ago

1k-analytics

by OneKeyHQ

Analytics event tracking for OneKey. Use when adding tracking events, logging to server, user behavior tracking, or business metrics. Covers the @LogToServer decorator pattern, logger scope/scene architecture, and common pitfalls. Triggers on "埋点", "统计", "打点", "数据追踪", "日志", "analytics", "tracking event", "Mixpanel", "LogToServer", "trackEvent", "defaultLogger".

Analytics 2.4K 5mo ago

1k-app-upgrade-test

by OneKeyHQ

Create test versions to verify app auto-update functionality and version migration.

Git & VCS 2.4K 5mo ago

1k-architecture

by OneKeyHQ

OneKey monorepo architecture, project structure, package relationships, and import hierarchy rules.

UI Components 2.4K 5mo ago

1k-coding-patterns

by OneKeyHQ

Coding patterns and best practices — React components, promise handling, and TypeScript conventions.

Types 2.4K 5mo ago

1k-cross-platform

by OneKeyHQ

Cross-platform development patterns — platform-specific code (.native.ts/.web.ts/.desktop.ts/.ext.ts) and platformEnv usage.

File Ops 2.4K 5mo ago

1k-date-formatting

by OneKeyHQ

Date and time formatting — use OneKey dateUtils (formatDate/formatTime) instead of native JS date methods.

i18n 2.4K 5mo ago

1k-error-handling

by OneKeyHQ

Error handling patterns — try/catch, async errors, error boundaries, useAsyncCall, and toast messages.

Processing 2.4K 5mo ago

1k-feature-guides

by OneKeyHQ

Feature development guides for OneKey. Use when adding new chains, socket events, notifications, pages, or routes. Covers blockchain integration, WebSocket subscriptions, push notifications, and navigation patterns.

Web3 & Crypto 2.4K 5mo ago

1k-group-think

by OneKeyHQ

Spawns a team of 3 AI agents with different analytical perspectives to collaboratively analyze a problem, propose solutions, and debate trade-offs. Use when facing bugs, design decisions, architecture choices, or any task that benefits from multiple viewpoints. Agents discuss with each other, then present a comparison table for the user to decide. Triggers on "group think", "multi-agent", "team analysis", "3 agents", "collaborative analysis", "debate solutions".

Comments 2.4K 5mo ago

1k-implementing-figma-designs

by OneKeyHQ

Implements Figma designs 1:1 using OneKey component library (还原设计稿).

Design 2.4K 5mo ago

1k-new-skill

by OneKeyHQ

Creates a new Claude Code Skill following best practices. Use when the user wants to create a new skill, add a skill, or asks about writing skills for Claude Code. Fetches latest documentation before generating skill content. New skill. Create a skill.

Code Review 2.4K 5mo ago

1k-patching-native-modules

by OneKeyHQ

Patches native modules (expo-image, react-native, etc.) to fix native crashes or bugs.

Code Review 2.4K 5mo ago

1k-perf-optimizer

by OneKeyHQ

"Systematic performance optimization and regression debugging for OneKey mobile app (iOS). Use when: (1) Fixing performance regressions - when metrics like tokensStartMs, tokensSpanMs, or functionCallCount have regressed and need to be brought back to normal levels, (2) Improving baseline performance - when there's a need to optimize cold start time or reduce function call overhead, (3) User requests performance optimization/improvement/debugging for the app's startup or home screen refresh flow."

CLI Tools 2.4K 5mo ago

1k-performance

by OneKeyHQ

Performance optimization for React/React Native — re-renders, memoization, FlashList, memory leaks, and bundle size.

Automation 2.4K 5mo ago

1k-pkg-upgrade-review

by OneKeyHQ

Reviews package version upgrades — diffs source between versions, traces call sites, and generates compatibility reports.

Comments 2.4K 5mo ago

1k-platform-requirements

by OneKeyHQ

Minimum SDK/OS version requirements for all OneKey platforms (iOS, Android, Chrome, Electron).

CLI Tools 2.4K 5mo ago

1k-pr-daily-report

by OneKeyHQ

Generate a 24-hour PR activity report grouped by module with Chinese summaries. Use when the user asks for PR statistics, daily report, PR summary, or mentions "PR 统计", "每日报告", "PR 汇总", "日报".

Analytics 2.4K 5mo ago

1k-retrospective

by OneKeyHQ

Analyze accumulated bug fix cases and propose updates to the self-testing checklist. Use periodically (weekly/monthly) to evolve quality checks based on real issues.

Code Gen 2.4K 5mo ago

1k-sentry

by OneKeyHQ

Sentry error tracking and monitoring for OneKey. Use when configuring Sentry, filtering errors, analyzing crash reports, or debugging production issues. Covers platform-specific setup (desktop/mobile/web/extension) and error filtering strategies.

Debugging 2.4K 5mo ago

1k-sentry-analysis

by OneKeyHQ

Analyze and fix production errors from Sentry crash reports (AppHang, ANR, crashes, stacktraces).

Automation 2.4K 5mo ago

1k-state-management

by OneKeyHQ

Jotai state management patterns — atoms, globalAtom, contextAtom, and persistence.

Code Gen 2.4K 5mo ago

react-native-best-practices

by OneKeyHQ

Provides React Native performance optimization guidelines for FPS, TTI, bundle size, memory leaks, re-renders, and animations. Applies to tasks involving Hermes optimization, JS thread blocking, bridge overhead, FlashList, native modules, or debugging jank and frame drops.

Performance 2.4K 5mo ago

vercel-react-best-practices

by OneKeyHQ

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

Automation 2.4K 5mo ago

1k-create-pr

by OneKeyHQ

Creates 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 workflow.

Code Gen 2.4K 6mo ago

1k-ui-recipes

by OneKeyHQ

UI recipes for scroll offset (useScrollContentTabBarOffset), view transitions (startViewTransition), horizontal scroll in collapsible tab headers (CollapsibleTabContext), and Android bottom tab touch interception workaround.

Animation 2.4K 6mo ago

1k-retrospective

by OneKeyHQ

Analyze accumulated bug fix cases and propose updates to the self-testing checklist. Use periodically (weekly/monthly) to evolve quality checks based on real issues.

Code Gen 2.4K 6mo ago

1k-platform-requirements

by OneKeyHQ

Minimum SDK/OS version requirements for all OneKey platforms (iOS, Android, Chrome, Electron).

CLI Tools 2.4K 7mo ago

1k-code-quality

by OneKeyHQ

Code quality standards — lint (eslint/oxlint), type check (tsc), pre-commit hooks, and comment conventions. All comments must be in English.

Code Review 2.4K 7mo ago

1k-defi-module-integration

by OneKeyHQ

Guide for integrating new DeFi modules or protocols (staking, lending, Earn, Borrow) into OneKey.

Code Gen 2.4K 7mo ago

1k-state-management

by OneKeyHQ

Jotai state management patterns — atoms, globalAtom, contextAtom, and persistence.

Code Gen 2.4K 7mo ago

implementing-figma-designs

by OneKeyHQ

Implements Figma designs 1:1 using OneKey component library (还原设计稿).

Processing 2.4K 7mo ago

1k-coding-patterns

by OneKeyHQ

Coding patterns and best practices — React components, promise handling, and TypeScript conventions.

Debugging 2.4K 7mo ago

1k-architecture

by OneKeyHQ

OneKey monorepo architecture, project structure, package relationships, and import hierarchy rules.

Code Review 2.4K 7mo ago

1k-dev-commands

by OneKeyHQ

Development commands — yarn scripts for dev servers, building, linting, testing, and troubleshooting.

Code Review 2.4K 7mo ago

1k-git-workflow

by OneKeyHQ

Git workflow and conventions — branching, commit messages, and PR creation.

CLI Tools 2.4K 7mo ago

1k-performance

by OneKeyHQ

Performance optimization for React/React Native — re-renders, memoization, FlashList, memory leaks, and bundle size.

Automation 2.4K 7mo ago

1k-app-upgrade-test

by OneKeyHQ

Create test versions to verify app auto-update functionality and version migration.

CLI Tools 2.4K 7mo ago

1k-cross-platform

by OneKeyHQ

Cross-platform development patterns — platform-specific code (.native.ts/.web.ts/.desktop.ts/.ext.ts) and platformEnv usage.

File Ops 2.4K 7mo ago

1k-i18n

by OneKeyHQ

Internationalization — translations (ETranslations, useIntl, formatMessage) and locale management. NEVER modify auto-generated translation files.

Processing 2.4K 7mo ago

1k-date-formatting

by OneKeyHQ

Date and time formatting — use OneKey dateUtils (formatDate/formatTime) instead of native JS date methods.

Processing 2.4K 7mo ago

1k-error-handling

by OneKeyHQ

Error handling patterns — try/catch, async errors, error boundaries, useAsyncCall, and toast messages.

Processing 2.4K 7mo ago

1k-sentry-analysis

by OneKeyHQ

Analyze and fix production errors from Sentry crash reports (AppHang, ANR, crashes, stacktraces).

Automation 2.4K 7mo ago

1k-pkg-upgrade-review

by OneKeyHQ

Reviews package version upgrades — diffs source between versions, traces call sites, and generates compatibility reports.

Analytics 2.4K 7mo ago

1k-code-review-pr

by OneKeyHQ

Structured 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.

Code Review 2.4K 7mo ago

1k-patching-native-modules

by OneKeyHQ

Patches native modules (expo-image, react-native, etc.) to fix native crashes or bugs.

Code Review 2.4K 7mo ago

perf-optimizer

by OneKeyHQ

"Systematic performance optimization and regression debugging for OneKey mobile app (iOS). Use when: (1) Fixing performance regressions - when metrics like tokensStartMs, tokensSpanMs, or functionCallCount have regressed and need to be brought back to normal levels, (2) Improving baseline performance - when there's a need to optimize cold start time or reduce function call overhead, (3) User requests performance optimization/improvement/debugging for the app's startup or home screen refresh flow."

Auth 2.4K 7mo ago

1k-new-skill

by OneKeyHQ

Creates a new Claude Code Skill following best practices. Use when the user wants to create a new skill, add a skill, or asks about writing skills for Claude Code. Fetches latest documentation before generating skill content. New skill. Create a skill.

Code Gen 2.4K 7mo ago

1k-feature-guides

by OneKeyHQ

Feature development guides for OneKey. Use when adding new chains, socket events, notifications, pages, or routes. Covers blockchain integration, WebSocket subscriptions, push notifications, and navigation patterns.

Agents 2.4K 7mo ago

1k-sentry

by OneKeyHQ

Sentry error tracking and monitoring for OneKey. Use when configuring Sentry, filtering errors, analyzing crash reports, or debugging production issues. Covers platform-specific setup (desktop/mobile/web/extension) and error filtering strategies.

Debugging 2.4K 7mo ago

react-best-practices

by OneKeyHQ

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

Processing 2.4K 7mo ago

pr-review

by OneKeyHQ

Security-first PR review checklist for this repo. Use when reviewing diffs/PRs, especially changes involving auth, networking, sensitive data, or dependency/lockfile updates. Focus on secret/PII leakage risk, supply-chain risk (npm + node_modules inspection), cross-platform architecture (extension/mobile/desktop/web), and React performance (hooks + re-render hotspots). Avoid UI style nitpicks. PR Review.

Code Review 2.4K 7mo ago