# daytona-electron-den

daytona-electron-den runs a real Electron build against a Den server in two Daytona sandboxes, then collects proof: health checks, bootstrap state, screenshots and a recording.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 7523 repo stars
- Author: Devin-AXIS
- License: LicenseRef-Proprietary · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Devin-AXIS/iPolloWork/tree/HEAD/.opencode/skills/daytona-electron-den/SKILL.md
- Updated: 2026-10-29
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/daytona-electron-den

## What it does

The skill runs an end-to-end pass over two Daytona sandboxes. One hosts Den, the other hosts the real Electron build pointed at that server rather than production. The server side starts with `.devcontainer/test-server-on-daytona.sh <branch-or-commit>`; keep the printed `SERVER_SANDBOX`, `DEN_WEB_URL`, `DEN_API_URL` and `DEN_WORKER_PROXY_URL`, then hit `/api/den/health` and `/health` with `curl -sf` to see whether it is alive.

On the client side, `.devcontainer/test-on-daytona.sh <branch-or-commit>` takes `--den-base-url`, `--den-api-base-url` and `--artifacts-volume`. Add `--require-signin` when the window has to stay logged out until cloud auth finishes. Add `--record-video --recording-name <name>` when a pull request needs a recording.

Before any cloud feature is tested, check `desktop-bootstrap.json`: `baseUrl` and `apiBaseUrl` must resolve to the sandbox, not production. A browser redirect is not proof of desktop auth, because the handoff URL is minted by the Den API and pasted into the Cloud Account code field. Marketplace, org policy, provider sync and the worker proxy then go through one loop: assert server state, act in the UI, assert again. Evidence means health output, `/tmp/den-*.log` excerpts, CDP assertions and screenshots.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add Devin-AXIS/iPolloWork --skill daytona-electron-den -a claude-code
```

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

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add Devin-AXIS/iPolloWork --skill daytona-electron-den -a codex
```

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

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add Devin-AXIS/iPolloWork --skill daytona-electron-den -a cursor
```

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

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install Devin-AXIS/iPolloWork .opencode/skills/daytona-electron-den
```

2. **Manually: put the files in place**
- File: `.github/skills/daytona-electron-den/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add Devin-AXIS/iPolloWork --skill daytona-electron-den -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/Devin-AXIS/iPolloWork --path .opencode/skills/daytona-electron-den
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/daytona-electron-den/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/Devin-AXIS/iPolloWork/tree/HEAD/.opencode/skills/daytona-electron-den/SKILL.md

## When to use it
- stand up Den in a Daytona sandbox and aim a real Electron build at it
- verify the desktop app reads the sandbox `baseUrl` instead of production
- prove cloud sign-in with a handoff code in Cloud Account
- attach a screen recording and screenshots to a pull request
- check that org policy survives a reload

## Example prompts
- Start the Den server sandbox for `<branch-or-commit>` and print `DEN_WEB_URL` and `DEN_API_URL`.
- Run Electron against that Den sandbox with `--require-signin` and save the recording as `den-handoff`.
- Check that `baseUrl` in `desktop-bootstrap.json` points at the sandbox and paste the health-check output.

## Similar
- [daytona](https://affpapa.org/en/nevibecode/plugins/daytona.md) — plugin · ★ 23 repo stars
- [electron-best-practices](https://affpapa.org/en/nevibecode/skills/electron-best-practices.md) — skill · 899 installs
- [electron-chromium-upgrade](https://affpapa.org/en/nevibecode/skills/electron-chromium-upgrade.md) — skill · 625 installs
- [electron-builder](https://affpapa.org/en/nevibecode/skills/electron-builder.md) — skill · 459 installs
- [electron-release](https://affpapa.org/en/nevibecode/skills/electron-release.md) — skill · 282 installs
- [electron-development](https://affpapa.org/en/nevibecode/skills/electron-development.md) — skill · 98 installs

From the same set: [devin-axis/ipollowork](https://affpapa.org/en/nevibecode/by/devin-axis/ipollowork.md) — 42 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
