palot-desktop-dev
Skill194 starsChanged 46 days agoMITView on GitHub
Operate Palot's Electron build and channel lifecycle. Use for main, preload, or lifecycle changes; dev supervisor or launcher work; native dependencies or generated binaries; Dev/Nightly channel configuration; packaging or installation; and start, restart, build, or channel failures. Use test-palot-desktop for native UI QA.
In this repository9 other files it gives its agents.
- AGENTS.mdAGENTS.md
- diffsSkill
- opencode-coverageSkill
- opencode-runtimeSkill
- palot-designSkill
- palot-performanceSkill
- shadcnSkill
- test-palot-desktopSkill
- treesSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. About 0 are common, 3 are distinctive, and 11 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Keep the OpenCode task host stable while the development client changes.
- Very specific: line 12
Use installed Palot Nightly as the host when changing Palot itself.
- Very specific: line 14
Use bun run dev for live integration.
- Very specific: line 15
Use bun run dev:visible when rendering, interaction, accessibility, screenshots, or visual inspection require a visible native window.
- Very specific: line 16
Use bun run dev:focus only when focus behavior matters or the user explicitly asks for a foreground launch.
- Very specific: line 27
Read repository-root ../../../docs/desktop-testing.md before adding an E2E scenario or using real credentials.
- Very specific: line 31
Start the supervisor with bun run dev from the repository root for background integration.
- Very specific: line 32
Run bun run dev:info in that worktree to get its renderer URL, Electron PID, CDP port, and data root.
- Very specific: line 34
After native dependency or generated-binary changes, run bun run dev:restart -- "reason" as the final tool call.
- Distinctive: line 35
After supervisor or control-script changes, stop its terminal with Ctrl-C and start it again.
- Very specific: line 41
Run bun run package:nightly:mac to create channel-specific artifacts.
- Very specific: line 42
Run bun run install:nightly:mac to build, ad-hoc sign, verify, install, and launch /Applications/Palot Nightly.app.
- Distinctive: line 45
Leave any previous Nightly installation moved to Trash available for recovery.
- Very specific: line 49
Keep validation proportional to the changed behavior.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Palot Desktop Development
Keep the OpenCode task host stable while the development client changes.
Choose The Loop
- Use installed Palot Nightly as the host when changing Palot itself.
- In agent worktrees, default to the smallest matching
bun run test:e2e -- <scenario>. Add--visibleonly when the user wants to watch it. - Use
bun run devfor live integration. It connects to the shared user OpenCode service and starts hidden so it does not cover or focus another app. - Use
bun run dev:visiblewhen rendering, interaction, accessibility, screenshots, or visual inspection require a visible native window. It does not take keyboard focus. - Use
bun run dev:focusonly when focus behavior matters or the user explicitly asks for a foreground launch. - Build Nightly and Dev against the exact declared
@opencode/clientversion. Reuse healthy compatible stable 2.x services and reviewed beta services; an unreviewed beta needs exact-version consent. A different patch version is not permission to replace a service. Service replacement can interrupt active turns. - Existing user-installed OpenCode is preferred for confirmed local startup; packaged/app-cached binaries are fallbacks or an explicit user preference. Delegate confirmed package-manager updates to the official CLI, and keep executable updates separate from service restarts. Never update the task host as a side effect of implementing or testing these controls.
Read repository-root ../../../docs/desktop-testing.md before adding an E2E scenario or using real credentials.
Iterate
- Start the supervisor with
bun run devfrom the repository root for background integration. Usebun run dev:visiblewhen the QA evidence requires a visible window, andbun run dev:focusonly for focus-specific behavior or an explicitly requested foreground launch. - Run
bun run dev:infoin that worktree to get its renderer URL, Electron PID, CDP port, and data root. - Let Vite HMR apply renderer-only changes. Let the supervisor restart Electron after main or preload builds.
- After native dependency or generated-binary changes, run
bun run dev:restart -- "reason"as the final tool call. - After supervisor or control-script changes, stop its terminal with Ctrl-C and start it again. A running supervisor cannot replace itself.
Each live worktree gets dynamic renderer and CDP ports plus separate Palot state and logs. OpenCode sessions, config, auth, and models remain shared. Use only the ports returned by dev:info and target the owned terminal session for shutdown.
Install Nightly
- Run
bun run package:nightly:macto create channel-specific artifacts. - Run
bun run install:nightly:macto build, ad-hoc sign, verify, install, and launch/Applications/Palot Nightly.app. - A successful routine install is complete when that command exits successfully. Trust its release and signature verification; report the installed path without repeating bundle, process, log, or UI checks.
- Inspect identity, icon, signature, replacement behavior, launch, or OpenCode connection only when the related packaging code changed, the command failed, or the user requested package QA.
- Leave any previous Nightly installation moved to Trash available for recovery.
Verify
- Keep validation proportional to the changed behavior. Use focused checks before broad
bun run checkor full builds. - For desktop integration behavior, run the smallest matching E2E scenario.
- For supervisor changes, confirm restart success, a new Electron PID, a live Vite process, native Liquid Glass, and restored task state.
- Load
test-palot-desktoponly for native UI inspection, screenshots, or explicit smoke QA. Keep live QA read-only unless the user approved a disposable test task.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

