xiaohongshu
xiaohongshu
electron-egg
Provides comprehensive guidance for Electron EGG framework including project structure, main/renderer processes, IPC, window management, and desktop app development. Use when the user asks about Electron EGG, needs to create Electron applications with EGG, or work with Electron EGG patterns.
Full skill instructions
Use this skill whenever the user wants to:
This skill is organized to match the Electron EGG official documentation structure (https://www.kaka996.com/, https://www.kaka996.com/pages/987b1c/, https://www.kaka996.com/pages/a99b72/). When working with Electron EGG:
Identify the topic from the user's request:
examples/guide/installation.mdexamples/guide/quick-start.mdexamples/features/api/Load the appropriate example file from the examples/ directory:
Guide (使用文档):
examples/guide/intro.md - Introduction to Electron EGGexamples/guide/installation.md - Installation guideexamples/guide/quick-start.md - Quick start guideexamples/guide/project-structure.md - Project structureexamples/guide/configuration.md - Configurationexamples/guide/build.md - Build and packageFeatures (功能特性):
examples/features/main-process.md - Main processexamples/features/renderer-process.md - Renderer processexamples/features/ipc-communication.md - IPC communicationexamples/features/window-management.md - Window managementexamples/features/menu.md - Menuexamples/features/tray.md - System trayexamples/features/auto-updater.md - Auto updaterexamples/features/plugin-system.md - Plugin systemFollow the specific instructions in that example file for syntax, structure, and best practices
Important Notes:
Reference API documentation in the api/ directory when needed:
api/main-api.md - Main process APIapi/renderer-api.md - Renderer process APIapi/ipc-api.md - IPC APIapi/window-api.md - Window APIapi/config-api.md - Configuration APIAPI Files:
api/main-api.md - Application class, BrowserWindow, ipcMain, app methodsapi/renderer-api.md - ipcRenderer, contextBridge, DOM APIsapi/ipc-api.md - IPC communication methods and eventsapi/window-api.md - Window creation and managementapi/config-api.md - Configuration options and environment variablesUse templates from the templates/ directory:
templates/installation.md - Installation templatestemplates/project-setup.md - Project setup templatestemplates/configuration.md - Configuration templatesElectron EGG is a desktop application development framework based on Electron and Egg.js, providing a complete development toolchain and best practices.
Key Concepts:
Using npm:
npm install electron-egg
Using yarn:
yarn add electron-egg
Using pnpm:
pnpm add electron-egg
// main.js
const { Application } = require('electron-egg')
const app = new Application({
// Configuration
})
app.start()
examples/ → https://www.kaka996.com/pages/987b1c/api/ → https://www.kaka996.com/pages/a99b72/This skill includes detailed examples organized to match the official documentation structure. All examples are in the examples/ directory (see mapping above).
To use examples:
To use templates:
templates/ directory for common scaffoldingDetailed API documentation is available in the api/ directory, organized to match the official Electron EGG API documentation structure (https://www.kaka996.com/pages/a99b72/):
api/main-api.md)api/renderer-api.md)api/ipc-api.md)api/window-api.md)api/config-api.md)To use API reference:
api/ directoryexamples/ directoryElectron EGG, electron-egg, Electron, Egg.js, desktop application, 桌面应用, 主进程, 渲染进程, IPC, 进程间通信, 窗口管理, 菜单, 系统托盘, 自动更新, 插件系统, main process, renderer process, inter-process communication, window management, menu, system tray, auto updater, plugin system
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