xiaohongshu
xiaohongshu
1k-architecture
OneKey monorepo architecture and code organization. Use when understanding project structure, package relationships, import rules, or component organization. Triggers on architecture, structure, packages, imports, hierarchy, dependencies, monorepo, organization.
Full skill instructions
apps/desktop/ - Electron desktop app (Windows, macOS, Linux)apps/mobile/ - React Native mobile app (iOS, Android)apps/ext/ - Browser extension (Chrome, Firefox, Edge, Brave)apps/web/ - Progressive web applicationapps/web-embed/ - Embeddable wallet componentspackages/core/ - Blockchain protocol implementations, cryptography, hardware wallet communicationpackages/kit/ - Application logic, state management, API integrationspackages/kit-bg/ - Background services and workerspackages/components/ - Tamagui-based cross-platform UI componentspackages/shared/ - Platform abstractions, utilities, build configurationspackages/qr-wallet-sdk/ - Air-gapped wallet QR communication.native.ts, .desktop.ts, .web.ts, .ext.ts suffixes@onekeyfe/hd-* SDK packages.native.ts, .web.ts, .desktop.ts, .ext.tsComponentName.tsxuse prefix: useHookName.tsutilityName.ts@onekeyhq/components, @onekeyhq/core, @onekeyhq/kit@onekeyhq/shared/src/platformEnvCRITICAL: Violating these rules WILL break the build and cause circular dependencies.
HIERARCHY (NEVER violate this order):
@onekeyhq/shared - FORBIDDEN to import from any other OneKey packages@onekeyhq/components - ONLY allowed to import from shared@onekeyhq/kit-bg - ONLY allowed to import from shared and core (NEVER components or kit)@onekeyhq/kit - Can import from shared, components, and kit-bgBEFORE ADDING ANY IMPORT:
COMMON VIOLATIONS TO AVOID:
@onekeyhq/kit in @onekeyhq/components@onekeyhq/components in @onekeyhq/kit-bg@onekeyhq/kit in @onekeyhq/corepackages/components/src/packages/kit/src/packages/core/src/chains/MANDATORY ANALYSIS STEPS (Execute BEFORE any code changes):
Scope Impact Assessment
yarn why <package> if needed)Pattern Consistency Verification
Architecture Integrity Check
Performance Impact Evaluation
WHEN ADDING NEW FUNCTIONALITY:
WHEN MODIFYING EXISTING CODE:
BEFORE COMMITTING ANY CHANGES:
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience