prompts.chatprompts.chatprompts.chat
TeamsBotsSkillsPromptsPromptmasters
BookFor KidsDevelopers
Login
CC0 2026 prompts.chat
DeepWikiHow to...DocsAPIPrivacyTermsSupportAboutGitHub

WinForge

This prompt asks for WinForge, a complete desktop-application generator for developers on macOS or Linux who want to scaffold, develop, build, and package Windows desktop apps—and optionally macOS and Linux builds too. It combines a TypeScript CLI with a minimal web UI and produces either an Electron or Tauri project with React and TypeScript.

p
@mirm14354
about 6 hours agoNovember 29, 2026 at 12:13 PM
Vibe Coding•Windows

Content

Build a complete, production-ready desktop application generator called "WinForge".

Goal:
Create a CLI and minimal web UI that lets a developer on macOS or Linux scaffold, develop, build, and package a Windows desktop application. The generated app must also support macOS and Linux builds.

Core requirements:
1. Support two project templates:
   - Electron + React + TypeScript
   - Tauri + React + TypeScript

2. CLI commands:
   - `winforge create <project-name>`: Create a new project from a selected template.
   - `winforge dev`: Start local development with hot reload.
   - `winforge build --target windows|macos|linux|all`
   - `winforge package --format exe|msi|dmg|appimage|deb|rpm`
   - `winforge ci`: Generate a GitHub Actions workflow that builds Windows, macOS, and Linux artifacts.
   - `winforge doctor`: Detect missing dependencies and print clear installation instructions.

3. Windows output requirements:
   - Generate a Windows executable and installer.
   - For Electron projects, use electron-builder or Electron Forge to produce NSIS `.exe` installers, portable `.exe` builds, and optionally `.msi`.
   - For Tauri projects, configure NSIS and MSI targets.
   - Include an application icon, product name, version, publisher, description, and Windows file metadata.

4. Cross-platform behavior:
   - The tool must run on macOS and Linux.
   - Detect the host OS and CPU architecture.
   - Clearly explain which targets can be built locally and which require GitHub Actions.
   - Provide a GitHub Actions workflow using:
     - `windows-latest` for `.exe`, NSIS installer, and optional `.msi`
     - `macos-latest` for `.dmg`
     - `ubuntu-latest` for `.AppImage`, `.deb`, and `.rpm`
   - Upload all build artifacts to the GitHub Actions run and optionally create a GitHub Release.

5. Developer experience:
   - Interactive project setup with prompts for:
     - App name
     - Package identifier
     - Version
     - Author/publisher
     - Description
     - UI framework: React, Vue, Svelte, or plain HTML/CSS/JavaScript
     - Package manager: npm, pnpm, yarn, or bun
   - Generate clean, typed, well-commented code.
   - Include a README with setup, development, build, signing, and release instructions.
   - Include sensible `.gitignore`, ESLint, Prettier, and basic tests.

6. Security and quality:
   - Do not enable Node.js integration in renderer processes unless explicitly required.
   - Use a secure Electron preload/contextBridge pattern if Electron is selected.
   - Validate all user inputs.
   - Avoid hardcoded secrets.
   - Use semantic versioning.
   - Make all commands idempotent where possible.

7. Deliverables:
   - A monorepo containing:
     - CLI source code
     - Project templates
     - GitHub Actions workflow templates
     - Documentation
     - Example generated app
   - Use TypeScript for the CLI.
   - Use a modern build system and provide commands for development, testing, linting, and publishing.
   - Include unit tests for template generation, configuration validation, and CLI commands.
   - Provide a clear architecture diagram and explain how Windows builds are produced from macOS/Linux.

Important constraint:
Do not claim that unsigned or untested installers are production-ready. Include optional code-signing configuration for Windows Authenticode, macOS notarization, and Linux package signing, but keep signing disabled by default until the user supplies valid certificates.

Start by producing:
1. A concise architecture plan.
2. The repository/file structure.
3. The CLI implementation.
4. The Electron and Tauri templates.
5. GitHub Actions workflows.
6. A README with exact commands for macOS and Linux users.

Comments (0)

Related Skills

xcode-mcp (for pi agent)

Skill

Guidelines for efficient Xcode MCP tool usage via mcporter CLI. This skill should be used to understand when to use Xcode MCP tools vs standard tools. Xcode MCP consumes many tokens - use only for build, test, simulator, preview, and SourceKit diagnostics. Never use for file read/write/grep operations. Use this skill whenever working with Xcode projects, iOS/macOS builds, SwiftUI previews, or Apple platform development.

I@ilker
0

Dockerfile Best Practices Reviewer

Skill

Reviews Dockerfiles for security, image size, build cache, and runtime reliability: secrets baked into layers, running as root, unpinned base images, curl piped to a shell, ADD misuse, leftover apt and pip caches, cache-busting dependency installs, shell-form CMD, and missing multi-stage builds or health checks, then writes a corrected Dockerfile and .dockerignore. Use when a user shares a Dockerfile and asks "review my Dockerfile", "why is my image so big?", or "is this container secure?".

F@f
0