Back to authors
onekeyhq

onekeyhq

32 Skills published on GitHub.

1k-analytics

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

UncategorizedView skill →

1k-app-upgrade-test

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

UncategorizedView skill →

1k-architecture

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

UncategorizedView skill →

1k-auditing-pre-release-security

Audits security and supply-chain risk between two git refs with Codex MCP 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”, “安全预审”.

UncategorizedView skill →

1k-bundle-release

Release branch management — checkout from release, prepare builds, pre-release diff checks, security audits, publish tracking, and sync back to x. Use this skill when managing release branches, creating branches for bundle releases, running pre-release diff checks, auditing release security, finalizing releases, or syncing release changes to x. Triggers on "bundle release", "release diff", "release publish", "release sync", "release checkout", "release audit", "发布管理", "release 分支", "release management", "bundle-release", "bundle branch", "发布审计", "安全审计 release".

UncategorizedView skill →

1k-code-quality

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

UncategorizedView skill →

1k-code-review-pr

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

UncategorizedView skill →

1k-coding-patterns

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

UncategorizedView skill →

1k-create-pr

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.

UncategorizedView skill →

1k-cross-platform

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

UncategorizedView skill →

1k-date-formatting

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

UncategorizedView skill →

1k-defi-module-integration

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

UncategorizedView skill →

1k-dev-commands

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

UncategorizedView skill →

1k-error-handling

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

UncategorizedView skill →

1k-feature-guides

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.

UncategorizedView skill →

1k-git-workflow

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

UncategorizedView skill →

1k-group-think

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

UncategorizedView skill →

1k-i18n

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

UncategorizedView skill →

1k-implementing-figma-designs

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

UncategorizedView skill →

1k-monitor-pr-ci

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.

UncategorizedView skill →

1k-new-skill

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.

UncategorizedView skill →

1k-patching-native-modules

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

UncategorizedView skill →

1k-perf-optimizer

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.

UncategorizedView skill →

1k-performance

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

UncategorizedView skill →

1k-pkg-upgrade-review

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

UncategorizedView skill →

1k-platform-requirements

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

UncategorizedView skill →

1k-pr-daily-report

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

UncategorizedView skill →

1k-retrospective

>

UncategorizedView skill →

1k-sentry-analysis

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

UncategorizedView skill →

1k-sentry

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.

UncategorizedView skill →

1k-state-management

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

UncategorizedView skill →

1k-ui-recipes

UI recipes for scroll offset (useScrollContentTabBarOffset), view transitions (startViewTransition), horizontal scroll in collapsible tab headers (CollapsibleTabContext), Android bottom tab touch interception workaround, keyboard avoidance for input fields, iOS overlay navigation freeze prevention (resetAboveMainRoute), web keyboardDismissMode cross-tab input blur prevention, and iOS modal Fabric frame animation fix (performWithoutAnimation for recycled views).

UncategorizedView skill →