desktop — electron desktop development desktop, logbook-fit-repo, community, electron desktop development, ide skills, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Perfect for Electron-based AI Agents needing secure and efficient desktop application development capabilities. Desktop is a development environment built on Electron, utilizing a main-renderer architecture for efficient application development.

Features

Utilizes Electron's main-renderer architecture for efficient application development
Employs preload scripts to securely expose main process functionality to the renderer
Supports adding new desktop features via controller creation in `apps/desktop/src/main/controllers/`
Leverages TypeScript for controller implementation
Reuses web code from `src/` in the renderer process

# Core Topics

adrianomucha adrianomucha
[0]
[0]
Updated: 3/8/2026

Agent Capability Analysis

The desktop skill by adrianomucha is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance. Optimized for electron desktop development.

Ideal Agent Persona

Perfect for Electron-based AI Agents needing secure and efficient desktop application development capabilities.

Core Value

Empowers agents to build and manage desktop applications using Electron's main-renderer architecture, securely exposing main process functionality to the renderer via preload scripts and leveraging system APIs for window management.

Capabilities Granted for desktop

Building cross-platform desktop applications
Exposing main process functionality to renderers
Managing window lifecycles and system APIs

! Prerequisites & Limits

  • Requires Electron framework
  • Main-renderer architecture constraints
  • Renderer process limitations
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

desktop

Install desktop, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly

Desktop Development Guide

Architecture Overview

LobeChat desktop is built on Electron with main-renderer architecture:

  1. Main Process (apps/desktop/src/main): App lifecycle, system APIs, window management
  2. Renderer Process: Reuses web code from src/
  3. Preload Scripts (apps/desktop/src/preload): Securely expose main process to renderer

Adding New Desktop Features

1. Create Controller

Location: apps/desktop/src/main/controllers/

typescript
1import { ControllerModule, IpcMethod } from '@/controllers'; 2 3export default class NewFeatureCtr extends ControllerModule { 4 static override readonly groupName = 'newFeature'; 5 6 @IpcMethod() 7 async doSomething(params: SomeParams): Promise<SomeResult> { 8 // Implementation 9 return { success: true }; 10 } 11}

Register in apps/desktop/src/main/controllers/registry.ts.

2. Define IPC Types

Location: packages/electron-client-ipc/src/types.ts

typescript
1export interface SomeParams { /* ... */ } 2export interface SomeResult { success: boolean; error?: string }

3. Create Renderer Service

Location: src/services/electron/

typescript
1import { ensureElectronIpc } from '@/utils/electron/ipc'; 2 3const ipc = ensureElectronIpc(); 4 5export const newFeatureService = async (params: SomeParams) => { 6 return ipc.newFeature.doSomething(params); 7};

4. Implement Store Action

Location: src/store/

5. Add Tests

Location: apps/desktop/src/main/controllers/__tests__/

Detailed Guides

See references/ for specific topics:

  • Feature implementation: references/feature-implementation.md
  • Local tools workflow: references/local-tools.md
  • Menu configuration: references/menu-config.md
  • Window management: references/window-management.md

Best Practices

  1. Security: Validate inputs, limit exposed APIs
  2. Performance: Use async methods, batch data transfers
  3. UX: Add progress indicators, provide error feedback
  4. Code organization: Follow existing patterns, add documentation

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is desktop?

Perfect for Electron-based AI Agents needing secure and efficient desktop application development capabilities. Desktop is a development environment built on Electron, utilizing a main-renderer architecture for efficient application development.

How do I install desktop?

Run the command: npx killer-skills add adrianomucha/logbook-fit-repo/desktop. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for desktop?

Key use cases include: Building cross-platform desktop applications, Exposing main process functionality to renderers, Managing window lifecycles and system APIs.

Which IDEs are compatible with desktop?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for desktop?

Requires Electron framework. Main-renderer architecture constraints. Renderer process limitations.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add adrianomucha/logbook-fit-repo/desktop. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use desktop immediately in the current project.

Related Skills

Looking for an alternative to desktop or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI