1k-date-formatting

2.3k
Onekeyhq App Monorepo 1k Date FormattingOnekeyhq App Monorepo 1k Date Formatting

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

194 days ago

1k-app-upgrade-test

2.3k
OneKeyHQOneKeyHQ

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

194 days ago

1k-sentry-analysis

2.3k
OneKeyHQOneKeyHQ

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

194 days ago

auditing-pre-release-security

2.3k
OneKeyHQOneKeyHQ

Audits security and supply-chain risk between two git refs, Pre-release security audit

194 days ago

1k-defi-module-integration

2.3k
OneKeyHQOneKeyHQ

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

194 days ago

1k-error-handling

2.3k
OneKeyHQOneKeyHQ

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

194 days ago

1k-dev-commands

2.3k
OneKeyHQOneKeyHQ

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

194 days ago

1k-feature-guides

2.3k
OneKeyHQOneKeyHQ

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.

194 days ago

1k-git-workflow

2.3k
OneKeyHQOneKeyHQ

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

194 days ago

implementing-figma-designs

2.3k
OneKeyHQOneKeyHQ

Implements Figma designs 1:1 using the OneKey component library (faithful reproduction of the design).

194 days ago

1k-code-quality

2.3k
OneKeyHQOneKeyHQ

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

194 days ago

1k-patching-native-modules

2.3k
OneKeyHQOneKeyHQ

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

194 days ago

1k-new-skill

2.3k
OneKeyHQOneKeyHQ

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.

194 days ago

pr-review

2.3k
OneKeyHQOneKeyHQ

Security-first PR review checklist for this repo. Use when reviewing diffs/PRs, especially changes involving authentication, 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.

194 days ago

1k-state-management

2.3k
OneKeyHQOneKeyHQ

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

194 days ago

1k-sentry

2.3k
OneKeyHQOneKeyHQ

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.

194 days ago

1k-i18n

2.3k
OneKeyHQOneKeyHQ

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

194 days ago

1k-architecture

2.3k
OneKeyHQOneKeyHQ

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

194 days ago

perf-optimizer

2.3k
OneKeyHQOneKeyHQ

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.

194 days ago

1k-cross-platform

2.3k
OneKeyHQOneKeyHQ

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

194 days ago

react-best-practices

2.3k
OneKeyHQOneKeyHQ

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.

194 days ago

1k-platform-requirements

2.3k
OneKeyHQOneKeyHQ

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

194 days ago

1k-coding-patterns

2.3k
OneKeyHQOneKeyHQ

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

194 days ago

1k-performance

2.3k
OneKeyHQOneKeyHQ

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

194 days ago