OneKeyHQ
@OneKeyHQ Organization
Public Skills
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.
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.
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.
1k-platform-requirements
by OneKeyHQ
Minimum SDK/OS version requirements for all OneKey platforms (iOS, Android, Chrome, Electron).
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.
1k-defi-module-integration
by OneKeyHQ
Guide for integrating new DeFi modules or protocols (staking, lending, Earn, Borrow) into OneKey.
1k-state-management
by OneKeyHQ
Jotai state management patterns — atoms, globalAtom, contextAtom, and persistence.
implementing-figma-designs
by OneKeyHQ
Implements Figma designs 1:1 using OneKey component library (还原设计稿).
1k-coding-patterns
by OneKeyHQ
Coding patterns and best practices — React components, promise handling, and TypeScript conventions.
1k-architecture
by OneKeyHQ
OneKey monorepo architecture, project structure, package relationships, and import hierarchy rules.
1k-dev-commands
by OneKeyHQ
Development commands — yarn scripts for dev servers, building, linting, testing, and troubleshooting.
1k-git-workflow
by OneKeyHQ
Git workflow and conventions — branching, commit messages, and PR creation.
1k-performance
by OneKeyHQ
Performance optimization for React/React Native — re-renders, memoization, FlashList, memory leaks, and bundle size.
1k-app-upgrade-test
by OneKeyHQ
Create test versions to verify app auto-update functionality and version migration.
1k-cross-platform
by OneKeyHQ
Cross-platform development patterns — platform-specific code (.native.ts/.web.ts/.desktop.ts/.ext.ts) and platformEnv usage.
1k-i18n
by OneKeyHQ
Internationalization — translations (ETranslations, useIntl, formatMessage) and locale management. NEVER modify auto-generated translation files.
1k-date-formatting
by OneKeyHQ
Date and time formatting — use OneKey dateUtils (formatDate/formatTime) instead of native JS date methods.
1k-error-handling
by OneKeyHQ
Error handling patterns — try/catch, async errors, error boundaries, useAsyncCall, and toast messages.
1k-sentry-analysis
by OneKeyHQ
Analyze and fix production errors from Sentry crash reports (AppHang, ANR, crashes, stacktraces).
1k-pkg-upgrade-review
by OneKeyHQ
Reviews package version upgrades — diffs source between versions, traces call sites, and generates compatibility reports.
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.
1k-patching-native-modules
by OneKeyHQ
Patches native modules (expo-image, react-native, etc.) to fix native crashes or bugs.
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."
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.
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.
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.
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.
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.