# windows-release

windows-release is a Claude Code skill that builds and verifies the Windows NSIS installer and portable archive.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 567 repo stars
- Author: DuskBotAI
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/DuskBotAI/duskbot/tree/HEAD/.claude/skills/windows-release/SKILL.md
- Updated: 2026-11-17
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/windows-release

## What it does

The windows-release skill builds a Windows NSIS installer and portable archive, then checks the packaged files and the installed app. It runs on Windows with Node 24+ and `pnpm`; the workflow installs dependencies, runs `pnpm typecheck`, and calls `pnpm package:win`.

The checks cover `release\\win-unpacked\\resources\\server\\index.js`, `release\\win-unpacked\\resources\\ui\\index.html`, app launch, the chat window, and a provider in the model picker. Server logs are stored at `%APPDATA%\\dusk bot\\logs\\server.log`. Every platform must use the same package version and release tag, while macOS follows a separate build flow.

The output includes `DuskBot-<version>-setup.exe` and `DuskBot-<version>-x64.zip`; a stable `DuskBot-setup.exe` copy is kept for download links. The Windows build is unsigned, so SmartScreen displays “unknown publisher”. Signing settings belong in `win.signtoolOptions` or `win.azureSignOptions` inside `build/electron-builder.yml`.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add DuskBotAI/duskbot --skill windows-release -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/windows-release/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/windows-release/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add DuskBotAI/duskbot --skill windows-release -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/windows-release/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add DuskBotAI/duskbot --skill windows-release -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/windows-release/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install DuskBotAI/duskbot .claude/skills/windows-release
```

2. **Manually: put the files in place**
- File: `.github/skills/windows-release/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add DuskBotAI/duskbot --skill windows-release -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/DuskBotAI/duskbot --path .claude/skills/windows-release
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/windows-release/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/DuskBotAI/duskbot/tree/HEAD/.claude/skills/windows-release/SKILL.md

## When to use it
- build a Windows NSIS installer
- package a portable Windows archive
- check the server and UI files in the packaged app
- verify the installed app opens with a provider listed
- prepare installers for a release upload

## Example prompts
- Build the Windows release and verify that the app launches.
- Check `release\\win-unpacked\\resources\\server\\index.js` and `release\\win-unpacked\\resources\\ui\\index.html`.
- Inspect the Windows build logs at `%APPDATA%\\dusk bot\\logs\\server.log`.

## Similar
- [release](https://affpapa.org/en/nevibecode/skills/different-ai-release.md) — skill · 122 installs
- [release-core-test](https://affpapa.org/en/nevibecode/skills/release-core-test.md) — skill · 754 installs
- [testing-windows-desktop](https://affpapa.org/en/nevibecode/skills/testing-windows-desktop.md) — skill · ★ 364 repo stars
- [electron-builder](https://affpapa.org/en/nevibecode/skills/electron-builder.md) — skill · 459 installs
- [windows-git-bash-testing](https://affpapa.org/en/nevibecode/skills/windows-git-bash-testing.md) — skill · 164 installs
- [running-release-tests](https://affpapa.org/en/nevibecode/skills/running-release-tests.md) — skill · 1600 installs

From the same set: [duskbotai/duskbot](https://affpapa.org/en/nevibecode/by/duskbotai/duskbot.md) — 8 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
