1k-date-formatting
Date and time formatting — use OneKey dateUtils (formatDate/formatTime) instead of native JS date methods.
1k-app-upgrade-test
Create test versions to verify app auto-update functionality and version migration.
1k-sentry-analysis
Analyze and fix production errors from Sentry crash reports (AppHang, ANR, crashes, stacktraces).
auditing-pre-release-security
Audits security and supply-chain risk between two git refs, Pre-release security audit
1k-defi-module-integration
Guide for integrating new DeFi modules or protocols (staking, lending, Earn, Borrow) into OneKey.
1k-error-handling
Error handling patterns — try/catch, async errors, error boundaries, useAsyncCall, and toast messages.
1k-dev-commands
Development commands — yarn scripts for dev servers, building, linting, testing, and troubleshooting.
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.
1k-git-workflow
Git workflow and conventions — branching, commit messages, and PR creation.
implementing-figma-designs
Implements Figma designs 1:1 using the OneKey component library (faithful reproduction of the design).
1k-code-quality
Code quality standards — lint (eslint/oxlint), type check (tsc), pre-commit hooks, and comment conventions. All comments must be in English.
1k-patching-native-modules
Patches native modules (expo-image, react-native, etc.) to fix native crashes or bugs.
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.
pr-review
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.
1k-state-management
Jotai state management patterns — atoms, globalAtom, contextAtom, and persistence.
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.
1k-i18n
Internationalization — translations (ETranslations, useIntl, formatMessage) and locale management. NEVER modify auto-generated translation files.
1k-architecture
OneKey monorepo architecture, project structure, package relationships, and import hierarchy rules.
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.
1k-cross-platform
Cross-platform development patterns — platform-specific code (.native.ts/.web.ts/.desktop.ts/.ext.ts) and platformEnv usage.
react-best-practices
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.
1k-platform-requirements
Minimum SDK/OS version requirements for all OneKey platforms (iOS, Android, Chrome, Electron).
1k-coding-patterns
Coding patterns and best practices — React components, promise handling, and TypeScript conventions.
1k-performance
Performance optimization for React/React Native — re-renders, memoization, FlashList, memory leaks, and bundle size.