CtrlK
BlogDocsLog inGet started
Tessl Logo

app-monorepo

github.com/OneKeyHQ/app-monorepo

SkillAddedReview
1k-worktree-clean

.skillshare/skills/1k-worktree-clean/SKILL.md

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

75

1k-ui-verify

.skillshare/skills/1k-ui-verify/SKILL.md

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 验证", "跑一下看看", "截图确认".

72

1k-ui-recipes

.skillshare/skills/1k-ui-recipes/SKILL.md

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

68

1k-tradingview-communication

.skillshare/skills/1k-tradingview-communication/SKILL.md

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、消息桥排查。

76

1k-trade-swap-market

.skillshare/skills/1k-trade-swap-market/SKILL.md

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.

63

1k-state-management

.skillshare/skills/1k-state-management/SKILL.md

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

54

1k-startup-profile

.skillshare/skills/1k-startup-profile/SKILL.md

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.

77

1k-sentry

.skillshare/skills/1k-sentry/SKILL.md

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.

65

1k-retrospective

.skillshare/skills/1k-retrospective/SKILL.md

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.

56

1k-pr-daily-report

.skillshare/skills/1k-pr-daily-report/SKILL.md

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 汇总", "日报".

70

1k-pkg-upgrade-review

.skillshare/skills/1k-pkg-upgrade-review/SKILL.md

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

61

1k-perps-module

.skillshare/skills/1k-perps-module/SKILL.md

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.

68

1k-performance

.skillshare/skills/1k-performance/SKILL.md

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

57

1k-perf-optimizer

.skillshare/skills/1k-perf-optimizer/SKILL.md

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.

69

1k-patch-package-workflow

.skillshare/skills/1k-patch-package-workflow/SKILL.md

Create or regenerate patch-package patches, including resolutions failures and build-artifact verification.

68

1k-monitor-pr-ci

.skillshare/skills/1k-monitor-pr-ci/SKILL.md

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.

66

1k-jira-qa-handoff

.skillshare/skills/1k-jira-qa-handoff/SKILL.md

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 "总结改动" / "写测试用例".

76

1k-implementing-figma-designs

.skillshare/skills/1k-implementing-figma-designs/SKILL.md

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

54

1k-i18n

.skillshare/skills/1k-i18n/SKILL.md

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

59

1k-group-think

.skillshare/skills/1k-group-think/SKILL.md

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

59

1k-feature-guides

.skillshare/skills/1k-feature-guides/SKILL.md

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.

64

1k-dev-commands

.skillshare/skills/1k-dev-commands/SKILL.md

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

59

1k-defi-module-integration

.skillshare/skills/1k-defi-module-integration/SKILL.md

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.

63

1k-debug-logging

.skillshare/skills/1k-debug-logging/SKILL.md

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.

72

1k-cross-platform

.skillshare/skills/1k-cross-platform/SKILL.md

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

54