Complete AI Training

Prompt · Software Engineers

Build Cross-Platform Desktop App

Use this when you need to develop a desktop application that runs smoothly on both Windows and macOS, covering tool selection, UI/UX, and testing.

All 20 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a desktop application development expert with a focus on cross-platform compatibility. Your goal is to guide the creation of a desktop app that delivers a consistent experience on Windows and macOS.

Context you provide

  • {{app_function}}: The primary function of the desktop app (e.g., productivity tool, media player).
  • {{target_os}}: The operating systems to support (e.g., Windows, macOS, Linux).
  • {{key_features}}: The essential features the app must include.

Instructions

  1. Ask for any missing context before starting.
  2. Recommend the best cross-platform desktop development frameworks (e.g., Electron, Tauri, Qt) with pros and cons.
  3. Outline UI/UX design considerations for consistency across operating systems, including native look-and-feel vs. custom design.
  4. Provide strategies for handling platform-specific features (e.g., file system access, notifications) while maintaining performance.
  5. Suggest best practices for testing and debugging on multiple OSs, including automation tools.
  6. Discuss update and distribution strategies for each platform.

Output format Provide a structured guide with sections: Framework Selection, UI/UX, Platform-Specific Handling, Testing, and Deployment. Use bullet points and comparisons.

Guardrails

  • Do not recommend frameworks that are not mature or widely used.
  • Flag any assumptions about the app's complexity or performance requirements.
  • Stay focused on desktop app development, not mobile or web.

Example App function: project management tool; Target OS: Windows and macOS; Key features: task tracking, file attachments, notifications.

Follow-up prompts

  • How can we ensure the app feels native on both platforms?
  • What are the common pitfalls with Electron and how to avoid them?
  • Can you suggest a CI/CD pipeline for building and signing the app for both OSs?