Agent skill
build-desktop
Build a new desktop app release (Electron). Triggers on "build desktop", "new release", "desktop release", "build the app"
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/build-desktop
SKILL.md
Build Desktop App Release
Steps
- Bump version in
desktop/package.json(patch bump unless user specifies) - Build dashboard from
src/dashboard/:bashcd src/dashboard && npx.cmd vite build - Copy dist to desktop/:
bashNote:
cp -r dist/server dist/core dist/dashboard desktop/dist/serveranddist/corecome fromtsc(may have pre-existing TS errors — that's fine, the JS still emits). The dashboard comes from vite build above. - Install desktop deps:
bash
cd desktop && npm.cmd install - Build executable (Windows by default):
bashOutput lands in
cd desktop && npx.cmd electron-builder --windesktop/artifacts/as an NSIS.exeinstaller. - Commit version bump + push
- Optionally create GitHub release with
gh release create v0.x.x desktop/artifacts/*.exe
Key Facts
- App:
orch-desktop— Electron 35+, ESM - Config:
desktop/electron-builder.yml(appId:dev.orch.desktop, product:Orch) - Targets:
--win(NSIS),--mac(DMG universal),--linux(AppImage) - Port: 13011 (avoids dev server conflict)
- Credentials:
~/.orch/.env - CI:
.github/workflows/desktop-release.ymlbuilds all platforms on release
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?