Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问clear审计通过

electron-eggElectron EGG 搜索

Agent Skill

electron-egg 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,137

周安装

46

GitHub Stars

347

下载量

357
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:electron-egg(Electron EGG 搜索)
来源仓库:https://github.com/teachingai/full-stack-skills
仓库路径:skills/electron-egg
安装命令:
npx skills add https://github.com/teachingai/full-stack-skills --skill electron-egg
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/teachingai/full-stack-skills --skill electron-egg

简介

electron-egg 提供 Electron EGG 框架的完整使用指南和核心功能支持。

  • 适用于 Electron 桌面应用开发,支持主进程和渲染器通信。
  • 集成官方文档结构,提供 API 方法和问题排查指导。
  • 使用前需确认项目是否已集成 Electron EGG 框架。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

When to use this skill

Use this skill whenever the user wants to:

  • Install and set up Electron EGG in a project
  • Create Electron desktop applications
  • Use Electron EGG core features
  • Configure Electron EGG
  • Handle main process and renderer process communication
  • Use Electron EGG API methods
  • Build and package Electron applications
  • Troubleshoot Electron EGG issues

How to use this skill

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:

  1. Identify the topic from the user's request:

- Installation/安装 → examples/guide/installation.md - Quick Start/快速开始 → examples/guide/quick-start.md - Features/功能特性 → examples/features/ - API/API 文档 → api/

  1. Load the appropriate example file from the examples/ directory: Guide (使用文档): Features (功能特性):

- examples/guide/intro.md - Introduction to Electron EGG - examples/guide/installation.md - Installation guide - examples/guide/quick-start.md - Quick start guide - examples/guide/project-structure.md - Project structure - examples/guide/configuration.md - Configuration - examples/guide/build.md - Build and package - examples/features/main-process.md - Main process - examples/features/renderer-process.md - Renderer process - examples/features/ipc-communication.md - IPC communication - examples/features/window-management.md - Window management - examples/features/menu.md - Menu - examples/features/tray.md - System tray - examples/features/auto-updater.md - Auto updater - examples/features/plugin-system.md - Plugin system

  1. Follow the specific instructions in that example file for syntax, structure, and best practices Important Notes:

- Electron EGG is based on Electron and Egg.js - Main process and renderer process separation - IPC communication between processes - Each example file includes key concepts, code examples, and key points

  1. Reference API documentation in the api/ directory when needed: API Files:

- api/main-api.md - Main process API - api/renderer-api.md - Renderer process API - api/ipc-api.md - IPC API - api/window-api.md - Window API - api/config-api.md - Configuration API - api/main-api.md - Application class, BrowserWindow, ipcMain, app methods - api/renderer-api.md - ipcRenderer, contextBridge, DOM APIs - api/ipc-api.md - IPC communication methods and events - api/window-api.md - Window creation and management - api/config-api.md - Configuration options and environment variables

  1. Use templates from the templates/ directory:

- templates/installation.md - Installation templates - templates/project-setup.md - Project setup templates - templates/configuration.md - Configuration templates

1. Understanding Electron EGG

Electron EGG is a desktop application development framework based on Electron and Egg.js, providing a complete development toolchain and best practices.

Key Concepts:

  • Electron: Cross-platform desktop application framework
  • Egg.js: Node.js enterprise application framework
  • Main Process: Main application process
  • Renderer Process: UI rendering process
  • IPC: Inter-process communication
  • Plugin System: Extensible plugin architecture

2. Installation

Using npm:

npm install electron-egg

Using yarn:

yarn add electron-egg

Using pnpm:

pnpm add electron-egg

3. Basic Setup

// main.js
const { Application } = require('electron-egg')

const app = new Application({
  // Configuration
})

app.start()

Doc mapping (one-to-one with official documentation)

API Reference (api/)

  • api/main-api.md - Application class, BrowserWindow, ipcMain, lifecycle hooks
  • api/renderer-api.md - ipcRenderer, contextBridge, DOM APIs
  • api/ipc-api.md - IPC communication methods and channels
  • api/window-api.md - Window creation, management, events
  • api/config-api.md - Configuration options and environment variables

Best Practices

  1. Separate processes: Keep main process and renderer process code separate
  2. Use IPC: Use IPC for inter-process communication
  3. Handle errors: Properly handle errors in both processes
  4. Security: Follow Electron security best practices
  5. Performance: Optimize application performance
  6. Build configuration: Configure build and package properly
  7. Plugin system: Use plugin system for extensibility

Resources

Keywords

Electron 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

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

32.91%
按下载量换算117

trae

22.36%
按下载量换算80

Antigravity

17.35%
按下载量换算62

Gemini CLI

13.87%
按下载量换算50

OpenCode

8.44%
按下载量换算30

Cursor

3.86%
按下载量换算14

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills