Fill in your details optional The prompt below updates as you type. What you type stays in this browser and is never sent to us.
You are a senior desktop application developer. Build a complete cross-platform desktop app with me, phase by phase, with installers for Windows, macOS and Linux.
## The app
- App name and purpose: [APP NAME], [WHAT IT DOES]
- Who uses it: [USERS]
- Main screens or actions: [LIST]
- Framework: [Electron / Tauri / "you choose"] with [React / Vue / Svelte]
- Works offline? [YES/NO]; syncs with a server? [YES/NO]
## Features
1. App shell: window management, native menus, keyboard shortcuts, system tray, remembers window size and position.
2. Local data in SQLite with migrations; backup and restore; export to CSV or PDF.
3. File handling: open, save, drag and drop, recent files, file associations.
4. The main screens listed above, with undo and redo where it makes sense.
5. Settings screen with theme (light, dark, system) and language.
6. Optional account and cloud sync with conflict handling.
7. Auto-update from [GitHub Releases / my server], with release notes shown to the user.
8. Installers: MSI or NSIS for Windows, DMG for macOS (notarised), AppImage and deb for Linux; code signing steps for each.
9. Crash reporting and an in-app "report a problem" form.
## Desktop rules
- Electron: context isolation on, node integration off, a typed preload bridge, Content Security Policy; Tauri: only the commands and permissions needed.
- Start in under 2 seconds on an average laptop; keep memory use low.
- Never write outside the user's app-data folder without asking.
## Quality rules (apply to every phase)
- Security: prepared statements or an ORM for every query, output escaping, CSRF tokens on every form, passwords hashed with bcrypt or Argon2, rate-limited login, role checks on the server for every admin route, file uploads checked by type and size and stored outside the web root or with random names, secrets only in an .env file.
- Validation: validate every input on the server (and also in the browser for speed). Show clear error messages next to the field that is wrong, and keep what the user already typed.
- Performance: pagination on every list, database indexes on every column used for search, filter or join, lazy-loaded and resized images (WebP), caching for pages that rarely change, no N+1 queries.
- Responsive and accessible: mobile first, works from 360px to wide desktop, proper labels on every form field, keyboard navigation, visible focus, colour contrast of at least 4.5:1, alt text on images.
- SEO: clean URLs, a unique title and meta description per page, canonical tags, Open Graph tags, schema.org JSON-LD where it applies, an XML sitemap and robots.txt.
- Code: small functions with clear names, one responsibility per file, comments only where the reason is not obvious, consistent formatting, no dead code.
- Errors: friendly error pages (404, 500), server errors written to a log, never shown to visitors.
- Deliver with: a README (install steps, .env example, how to create the first admin), database migrations and seed data with realistic sample content, and a deployment checklist.
## How to work with me
Do not write code yet. First reply with:
1. A short summary of what you understood, and anything in the brief that is unclear or contradictory (ask me, do not guess).
2. The final tech stack, with a one-line reason for each choice.
3. The folder and file structure.
4. The full database schema: every table, column, type, index and relation.
5. Every page or screen, and every API endpoint (method, path, who can call it, what it returns).
6. The build plan as numbered phases, each one small enough to finish and test on its own.
Wait for me to reply "go". Then build one phase at a time:
- For every file, give the full path and the complete code. Never write "...", "rest of the code stays the same" or TODO.
- After each phase, tell me how to run it, what to click to test it, and what is still missing. Then wait for me to reply "next".
- If you change a file you already gave me, give the whole updated file again.
How to use this prompt
- Copy the prompt. Press Copy prompt and the full text goes to your clipboard.
- Fill the brackets. Use the form above, or replace [APP NAME], [WHAT IT DOES], [USERS], [LIST], [Electron / Tauri / "you choose"], [React / Vue / Svelte], [YES/NO], [GitHub Releases / my server] with your own details.
- Paste and send. Paste it into ChatGPT, Claude, Gemini and DeepSeek and send. Ask follow-up questions to refine the answer.
Why this prompt works
The “Build a cross-platform desktop app (Windows, macOS, Linux)” prompt describes the whole app before any code is written: 9 features, starting with app shell; local data in SQLite with migrations; and file handling. It then has the assistant build it in 9 stages, so you can test each part before the next one starts. Quality rules apply to every stage, so the result is code you can run rather than a sketch.
How to get the best answer
- Fill every bracket with real detail: [APP NAME], [WHAT IT DOES], [USERS] and the rest should hold real names, numbers and dates, not placeholders.
- Paste real material: where the prompt asks for notes, data or text, paste the actual content rather than a summary.
- Refine in the same chat: ask "make it shorter", "turn it into a table" or "add more detail on step 2".
- Check the result: test what it builds or writes before you rely on it.
FAQ
Frequently asked questions
Which AI assistant works best with the “Build a cross-platform desktop app (Windows, macOS, Linux)” prompt?
The “Build a cross-platform desktop app (Windows, macOS, Linux)” prompt works in any chat assistant and suits ChatGPT, Claude, Gemini and DeepSeek best. Paste it in, send it, and ask follow-up questions in the same chat to refine the answer.
What do I fill in before sending the “Build a cross-platform desktop app (Windows, macOS, Linux)” prompt?
Replace the 8 highlighted brackets – [APP NAME], [WHAT IT DOES], [USERS], [LIST], [Electron / Tauri / "you choose"], [React / Vue / Svelte], [YES/NO], [GitHub Releases / my server] – with your own details. The more specific you are, the better the answer.
Who is the “Build a cross-platform desktop app (Windows, macOS, Linux)” prompt for?
Anyone who wants a complete, working result from an AI assistant. Replace the brackets with your own project details.
Is the “Build a cross-platform desktop app (Windows, macOS, Linux)” prompt free to use?
Yes. First AI Prompt prompts are free to copy and use in personal and business work, with no sign-up, no account and no daily limit.
Can I trust the answer the “Build a cross-platform desktop app (Windows, macOS, Linux)” prompt gives?
Treat it as a strong first draft: the prompt tells the assistant not to invent facts and to mark its assumptions, but check figures yourself, especially anything with legal, financial or safety consequences.
Keep exploring