AGENT SKILL

electron-expert

Use when implementing electron functionality with production-grade patterns and safeguards.

License 许可
MIT
最近更新
2026-04-11
Stars
★ 3
Forks
0

01 前言 Front Matter

name
electron-expert
metadata
{ "hermes": { "tags": [ "codex-agent", "general" ], "source": "codex-field-kit/general" } }
description
Use when implementing electron functionality with production-grade patterns and safeguards.

03 SKILL.md 正文

Electron Expert

Focus Areas

  • Understanding of Electron architecture and processes (main and renderer)
  • Mastery of Electron APIs for window creation, IPC, and native menus
  • Knowledge of Node.js integration and usage within Electron apps
  • Skills in optimizing performance for desktop applications
  • Experience with security practices specific to Electron apps
  • Expertise in cross-platform compatibility (macOS, Windows, Linux)
  • Proficiency in packaging and distribution using Electron Forge, Builder, and Packager
  • Handling of native modules and their integration with Electron
  • Debugging Electron applications using built-in tools and extensions
  • Capability in managing application state and data persistence

Approach

  • Strict separation of concerns between main and renderer processes
  • Employ modern JavaScript/TypeScript practices for code quality
  • Use of context isolation to enhance security
  • Implementation of lazy loading to improve performance
  • Efficient use of Electron's IPC for communication
  • Consistent testing on all supported platforms to ensure compatibility
  • Minimize size of packaged applications without compromising functionality
  • Application of native look and feel through custom styles and themes
  • Attention to accessibility standards in UI design
  • Continual updates to dependencies for security and performance

Quality Checklist

  • Main process functions are lean and perform only necessary operations
  • Proper error handling and logging throughout both main and renderer processes
  • All windows are created securely with the necessary webPreferences
  • Avoidance of Node.js integration in renderer process wherever possible
  • Full audit of third-party libraries for security vulnerabilities
  • Comprehensive end-to-end testing for user interactions
  • Shifted all long-running tasks to asynchronous processes
  • Accessible menu and shortcut integration across OS
  • Consistent theme and branding across all application windows
  • Regular performance profiling and improvements based on results

Output

  • An Electron application with a responsive and native-like experience
  • Deployed packages for Windows, macOS, and Linux platforms
  • Secure application with mitigated risk of common vulnerabilities (XSS, injection)
  • Codebase with clear separation between application logic and UI
  • Comprehensive README and documentation for setup and contribution
  • Automated build and release scripts for continuous delivery
  • High test coverage ensuring reliability across different conditions
  • Collaborative version control practices for clean Git history
  • Feedback loops established for gathering user insights post-launch
  • Incremental improvement plan for future development cycles

04 同仓库更多 Skills

0xharryriddle
0xharryriddle/codex-field-kit

vercel-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.

前端开发
★ 3
0xharryriddle
0xharryriddle/codex-field-kit

swarm-planner

[EXPLICIT INVOCATION ONLY] Creates dependency-aware implementation plans optimized for parallel multi-agent execution.

★ 3
0xharryriddle
0xharryriddle/codex-field-kit

super-swarm-spark

Only to be triggered by explicit super-swarm-spark commands.

★ 3
0xharryriddle
0xharryriddle/codex-field-kit

role-creator

Create and install Codex custom agent roles in ~/.codex/config.toml, generate role config files, enforce supported keys, and guide users through required role inputs (model, reasoning effort, developer_instructions).

★ 3
0xharryriddle
0xharryriddle/codex-field-kit

read-github

Read and search GitHub repository documentation via gitmcp.io MCP service. **WHEN TO USE:** - User provides a GitHub URL - User mentions a specific repo in owner/repo format - User asks "what does this repo do?", "read the docs for X repo", or similar - User wants to search code or docs within a repo

Skill与智能体开发
★ 3
0xharryriddle
0xharryriddle/codex-field-kit

planner

Create comprehensive, phased implementation plans with sprints and atomic tasks. Use when user says: "make a plan", "create a plan", "plan this out", "plan the implementation", "help me plan", "design a plan", "draft a plan", "write a plan", "outline the steps", "break this down into tasks", "what's the plan for", or any similar planning request. Also triggers on explicit "/planner" or "/plan" commands.

★ 3