desktop-development

Codify desktop development best practices for Electron, Tauri, SwiftUI, WPF/WinUI, and GTK.

Updated Feb 22, 2026
One-click install
npx skills add https://github.com/ps-carvalho/cortex-agents --skill desktop-development
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: desktop-development
Source: https://github.com/ps-carvalho/cortex-agents/tree/main/.opencode/skills/desktop-development
Command: npx skills add https://github.com/ps-carvalho/cortex-agents --skill desktop-development

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Desktop software projects often struggle with architecture choices and platform-specific quirks. This skill provides patterns and best practices for building desktop applications across cross-platform (Electron, Tauri) and native stacks (SwiftUI, WPF/WinUI, GTK), helping teams align on architecture and tooling.

Core Features & Use Cases

  • Cross-platform patterns for desktop apps (Electron, Tauri) and native frameworks (SwiftUI, WPF/WinUI, GTK).
  • Architecture guidance, system patterns, and deployment considerations for Windows, macOS, and Linux.
  • Use cases include choosing between cross-platform vs native approaches, implementing desktop-specific features, packaging and distribution, and performance optimizations.

Quick Start

Install the skill and review architecture patterns for your target platform, then apply recommended patterns to your desktop project.

Frequently Asked Questions about desktop-development

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is the best way to structure a cross-platform desktop application architecture?

Cross-platform desktop architecture requires codified patterns to handle platform-specific quirks across Windows, macOS, and Linux. This skill provides comprehensive architectural guidance and ready-to-use templates for frameworks like Electron and Tauri to align teams on system patterns.

How do I choose between native SwiftUI and cross-platform Tauri for desktop development?

Choosing between native SwiftUI and cross-platform Tauri depends on architecture choices and deployment considerations. This skill identifies best practices for both native and cross-platform approaches, guiding your decision based on performance optimizations and platform-specific features.

How do I package and distribute desktop apps for Windows, macOS, and Linux?

Packaging and distributing desktop apps for Windows, macOS, and Linux requires applying platform-specific deployment patterns. This skill provides ready-to-use templates and comprehensive guidance for packaging across cross-platform frameworks and native stacks like WPF/WinUI and GTK.

Does this skill provide architectural guidance for GTK and WPF/WinUI native desktop development?

Yes, this skill provides architectural guidance for GTK and WPF/WinUI native desktop development. It codifies best practices and system patterns for native stacks, ensuring comprehensive architectural alignment and addressing platform-specific considerations across operating systems.

What are the limitations of using cross-platform desktop frameworks versus native stacks?

Cross-platform desktop frameworks like Electron and Tauri may face performance optimization challenges and platform-specific quirks compared to native stacks. This skill helps identify and codify best practices to navigate these limitations, providing architectural guidance for both cross-platform and native approaches.