[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AGTH69X631RT2S0EEFJPB2":3,"skill-same:01M7AGTH69X631RT2S0EEFJPB2":44},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M7AGTH69X631RT2S0EEFJPB2","electron-pro",null,"Expert in building cross-platform desktop applications using web technologies (HTML\u002FCSS\u002FJS) with the Electron framework.","Ablankpaper\u002Faera","Ablankpaper","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F316571397?v=4","01M79REMJ8VVQFYFWZ1FXNH5DG","Awhite","01M7AGTEMGQVY2JARVWGY1M2N3",0,"MIT","https:\u002F\u002Fgithub.com\u002FAblankpaper\u002Faera\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Felectron-pro\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: electron-pro\ndescription: Expert in building cross-platform desktop applications using web technologies (HTML\u002FCSS\u002FJS) with the Electron framework.\n---\n\n# Electron Desktop Developer\n\n## Purpose\n\nProvides cross-platform desktop application development expertise specializing in Electron, IPC architecture, and OS-level integration. Builds secure, performant desktop applications using web technologies with native capabilities for Windows, macOS, and Linux.\n\n## When to Use\n\n- Building cross-platform desktop apps (VS Code, Discord style)\n- Migrating web apps to desktop with native capabilities (File system, Notifications)\n- Implementing secure IPC (Main ↔ Renderer communication)\n- Optimizing Electron memory usage and startup time\n- Configuring auto-updaters (electron-updater)\n- Signing and notarizing apps for app stores\n\n---\n\n---\n\n## 2. Decision Framework\n\n### Architecture Selection\n\n```\nHow to structure the app?\n│\n├─ **Security First (Recommended)**\n│  ├─ Context Isolation? → **Yes** (Standard since v12)\n│  ├─ Node Integration? → **No** (Never in Renderer)\n│  └─ Preload Scripts? → **Yes** (Bridge API)\n│\n├─ **Data Persistence**\n│  ├─ Simple Settings? → **electron-store** (JSON)\n│  ├─ Large Datasets? → **SQLite** (`better-sqlite3` in Main process)\n│  └─ User Files? → **Native File System API**\n│\n└─ **UI Framework**\n   ├─ React\u002FVue\u002FSvelte? → **Yes** (Standard SPA approach)\n   ├─ Multiple Windows? → **Window Manager Pattern**\n   └─ System Tray App? → **Hidden Window Pattern**\n```\n\n### IPC Communication Patterns\n\n| Pattern                        | Method               | Use Case                                        |\n| ------------------------------ | -------------------- | ----------------------------------------------- |\n| **One-Way (Renderer → Main)**  | `ipcRenderer.send`   | logging, analytics, minimizing window           |\n| **Two-Way (Request\u002FResponse)** | `ipcRenderer.invoke` | DB queries, file reads, heavy computations      |\n| **Main → Renderer**            | `webContents.send`   | Menu actions, system events, push notifications |\n\n**Red Flags → Escalate to `security-auditor`:**\n\n- Enabling `nodeIntegration: true` in production\n- Disabling `contextIsolation`\n- Loading remote content (`https:\u002F\u002F`) without strict CSP\n- Using `remote` module (Deprecated & insecure)\n\n---\n\n---\n\n### Workflow 2: Performance Optimization (Startup)\n\n**Goal:** Reduce launch time to \u003C 2s.\n\n**Steps:**\n\n1.  **V8 Snapshot**\n    - Use `electron-link` or `v8-compile-cache` to pre-compile JS.\n\n2.  **Lazy Loading Modules**\n    - Don't `require()` everything at top of `main.ts`.\n\n    ```javascript\n    \u002F\u002F Bad\n    import { heavyLib } from \"heavy-lib\";\n\n    \u002F\u002F Good\n    ipcMain.handle(\"do-work\", () => {\n      const heavyLib = require(\"heavy-lib\");\n      heavyLib.process();\n    });\n    ```\n\n3.  **Bundle Main Process**\n    - Use `esbuild` or `webpack` for Main process (not just Renderer) to tree-shake unused code and minify.\n\n---\n\n---\n\n## 4. Patterns & Templates\n\n### Pattern 1: Worker Threads (CPU Intensive Tasks)\n\n**Use case:** Image processing or parsing large files without freezing the UI.\n\n```typescript\n\u002F\u002F main.ts\nimport { Worker } from \"worker_threads\";\n\nipcMain.handle(\"process-image\", (event, data) => {\n  return new Promise((resolve, reject) => {\n    const worker = new Worker(\".\u002Fworker.js\", { workerData: data });\n    worker.on(\"message\", resolve);\n    worker.on(\"error\", reject);\n  });\n});\n```\n\n### Pattern 2: Deep Linking (Protocol Handler)\n\n**Use case:** Opening app from browser (`myapp:\u002F\u002Fopen?id=123`).\n\n```typescript\n\u002F\u002F main.ts\nif (process.defaultApp) {\n  if (process.argv.length >= 2) {\n    app.setAsDefaultProtocolClient(\"myapp\", process.execPath, [\n      path.resolve(process.argv[1]),\n    ]);\n  }\n} else {\n  app.setAsDefaultProtocolClient(\"myapp\");\n}\n\napp.on(\"open-url\", (event, url) => {\n  event.preventDefault();\n  \u002F\u002F Parse url 'myapp:\u002F\u002F...' and navigate renderer\n  mainWindow.webContents.send(\"navigate\", url);\n});\n```\n\n---\n\n---\n\n## 6. Integration Patterns\n\n### **frontend-ui-ux-engineer:**\n\n- **Handoff**: UI Dev builds the React\u002FVue app → Electron Dev wraps it.\n- **Collaboration**: Handling window controls (custom title bar), vibrancy\u002Facrylic effects.\n- **Tools**: CSS `app-region: drag`.\n\n### **devops-engineer:**\n\n- **Handoff**: Electron Dev provides build config → DevOps sets up CI pipeline.\n- **Collaboration**: Code signing certificates (Apple Developer ID, Windows EV).\n- **Tools**: Electron Builder, Notarization scripts.\n\n### **security-engineer:**\n\n- **Handoff**: Electron Dev implements feature → Security Dev audits IPC surface.\n- **Collaboration**: Defining Content Security Policy (CSP) headers.\n- **Tools**: Electronegativity (Scanner).\n\n---\n","# Electron Desktop Developer\n\n## Purpose\n\nProvides cross-platform desktop application development expertise specializing in Electron, IPC architecture, and OS-level integration. Builds secure, performant desktop applications using web technologies with native capabilities for Windows, macOS, and Linux.\n\n## When to Use\n\n- Building cross-platform desktop apps (VS Code, Discord style)\n- Migrating web apps to desktop with native capabilities (File system, Notifications)\n- Implementing secure IPC (Main ↔ Renderer communication)\n- Optimizing Electron memory usage and startup time\n- Configuring auto-updaters (electron-updater)\n- Signing and notarizing apps for app stores\n\n---\n\n---\n\n## 2. Decision Framework\n\n### Architecture Selection\n\n```\nHow to structure the app?\n│\n├─ **Security First (Recommended)**\n│  ├─ Context Isolation? → **Yes** (Standard since v12)\n│  ├─ Node Integration? → **No** (Never in Renderer)\n│  └─ Preload Scripts? → **Yes** (Bridge API)\n│\n├─ **Data Persistence**\n│  ├─ Simple Settings? → **electron-store** (JSON)\n│  ├─ Large Datasets? → **SQLite** (`better-sqlite3` in Main process)\n│  └─ User Files? → **Native File System API**\n│\n└─ **UI Framework**\n   ├─ React\u002FVue\u002FSvelte? → **Yes** (Standard SPA approach)\n   ├─ Multiple Windows? → **Window Manager Pattern**\n   └─ System Tray App? → **Hidden Window Pattern**\n```\n\n### IPC Communication Patterns\n\n| Pattern                        | Method               | Use Case                                        |\n| ------------------------------ | -------------------- | ----------------------------------------------- |\n| **One-Way (Renderer → Main)**  | `ipcRenderer.send`   | logging, analytics, minimizing window           |\n| **Two-Way (Request\u002FResponse)** | `ipcRenderer.invoke` | DB queries, file reads, heavy computations      |\n| **Main → Renderer**            | `webContents.send`   | Menu actions, system events, push notifications |\n\n**Red Flags → Escalate to `security-auditor`:**\n\n- Enabling `nodeIntegration: true` in production\n- Disabling `contextIsolation`\n- Loading remote content (`https:\u002F\u002F`) without strict CSP\n- Using `remote` module (Deprecated & insecure)\n\n---\n\n---\n\n### Workflow 2: Performance Optimization (Startup)\n\n**Goal:** Reduce launch time to \u003C 2s.\n\n**Steps:**\n\n1.  **V8 Snapshot**\n    - Use `electron-link` or `v8-compile-cache` to pre-compile JS.\n\n2.  **Lazy Loading Modules**\n    - Don't `require()` everything at top of `main.ts`.\n\n    ```javascript\n    \u002F\u002F Bad\n    import { heavyLib } from \"heavy-lib\";\n\n    \u002F\u002F Good\n    ipcMain.handle(\"do-work\", () => {\n      const heavyLib = require(\"heavy-lib\");\n      heavyLib.process();\n    });\n    ```\n\n3.  **Bundle Main Process**\n    - Use `esbuild` or `webpack` for Main process (not just Renderer) to tree-shake unused code and minify.\n\n---\n\n---\n\n## 4. Patterns & Templates\n\n### Pattern 1: Worker Threads (CPU Intensive Tasks)\n\n**Use case:** Image processing or parsing large files without freezing the UI.\n\n```typescript\n\u002F\u002F main.ts\nimport { Worker } from \"worker_threads\";\n\nipcMain.handle(\"process-image\", (event, data) => {\n  return new Promise((resolve, reject) => {\n    const worker = new Worker(\".\u002Fworker.js\", { workerData: data });\n    worker.on(\"message\", resolve);\n    worker.on(\"error\", reject);\n  });\n});\n```\n\n### Pattern 2: Deep Linking (Protocol Handler)\n\n**Use case:** Opening app from browser (`myapp:\u002F\u002Fopen?id=123`).\n\n```typescript\n\u002F\u002F main.ts\nif (process.defaultApp) {\n  if (process.argv.length >= 2) {\n    app.setAsDefaultProtocolClient(\"myapp\", process.execPath, [\n      path.resolve(process.argv[1]),\n    ]);\n  }\n} else {\n  app.setAsDefaultProtocolClient(\"myapp\");\n}\n\napp.on(\"open-url\", (event, url) => {\n  event.preventDefault();\n  \u002F\u002F Parse url 'myapp:\u002F\u002F...' and navigate renderer\n  mainWindow.webContents.send(\"navigate\", url);\n});\n```\n\n---\n\n---\n\n## 6. Integration Patterns\n\n### **frontend-ui-ux-engineer:**\n\n- **Handoff**: UI Dev builds the React\u002FVue app → Electron Dev wraps it.\n- **Collaboration**: Handling window controls (custom title bar), vibrancy\u002Facrylic effects.\n- **Tools**: CSS `app-region: drag`.\n\n### **devops-engineer:**\n\n- **Handoff**: Electron Dev provides build config → DevOps sets up CI pipeline.\n- **Collaboration**: Code signing certificates (Apple Developer ID, Windows EV).\n- **Tools**: Electron Builder, Notarization scripts.\n\n### **security-engineer:**\n\n- **Handoff**: Electron Dev implements feature → Security Dev audits IPC surface.\n- **Collaboration**: Defining Content Security Policy (CSP) headers.\n- **Tools**: Electronegativity (Scanner).\n\n---\n",{"name":5,"description":7},"main","93a5ec510a24f6470ff853b4268234a6dcec5e50",".agents\u002Fskills\u002Felectron-pro","https:\u002F\u002Fgithub.com\u002FAblankpaper\u002Faera","https:\u002F\u002Fgithub.com\u002FAblankpaper","2026-09-01 01:53:48",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add Ablankpaper\u002Faera --skill electron-pro",{"tool":36,"command":37},"bunx","bunx skills add Ablankpaper\u002Faera --skill electron-pro",{"tool":39,"command":40},"pnpm","pnpm dlx skills add Ablankpaper\u002Faera --skill electron-pro","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAblankpaper\u002Faera\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Felectron-pro\u002FSKILL.md",true,[],[45,52,59,66,73,78],{"skillNo":46,"name":47,"nameZh":6,"description":48,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":51,"publishedAt":19},"01M7AGVH6Q3RWZM4XWJ272QG17","learned-fixture","Synthetic learned skill used by the immutable boundary test.","https:\u002F\u002Fgithub.com\u002FAblankpaper\u002Faera\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fhermes-profile-boundary\u002Fskills\u002Flearned\u002FSKILL.md",[],[],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M7AGVDYJGX2Q2N9ANRS478GW","lat-md","Writing and maintaining lat.md documentation files — structured markdown that describes a project's architecture, design decisions, and test specs. Use when creating, editing, or reviewing files in the lat.md\u002F directory.","https:\u002F\u002Fgithub.com\u002FAblankpaper\u002Faera\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Flat-md\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M7AGV5SEMY9ETC4Q09BB9ED0","hermes-agent","Expert in building self-improving AI agents with tool use, multi-platform messaging, and a closed learning loop. Proficient in LLM orchestration, tool integration, session management, and agent autonomy.","https:\u002F\u002Fgithub.com\u002FAblankpaper\u002Faera\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fhermes-agent\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7AGV1D328WQ8C3D2JWE0VX9","typescript-expert","TypeScript and JavaScript expert with deep knowledge of type-level programming, performance optimization, monorepo management, migration strategies, and modern tooling.","https:\u002F\u002Fgithub.com\u002FAblankpaper\u002Faera\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-expert\u002FSKILL.md",[],[],{"skillNo":74,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M7AGTXWC0TRNTA6S73YDTEVK","https:\u002F\u002Fgithub.com\u002FAblankpaper\u002Faera\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Flat-md\u002FSKILL.md",[],[],{"skillNo":79,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7AGTMW7WCE98JFMMKA258KB","https:\u002F\u002Fgithub.com\u002FAblankpaper\u002Faera\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fhermes-agent\u002FSKILL.md",[],[]]