What problem does it solve?
Running multiple Cabloy checkouts in parallel causes port collisions and shared identity conflicts between Vona backend and Zova frontend runtimes. This Skill generates a deterministic, secret-safe local environment for a linked Git worktree without ever reading existing .env file contents.
Core Features & Use Cases
- Worktree Validation: Verifies the current checkout is a linked (not primary) Cabloy Basic or Cabloy Start worktree using Git metadata before any write.
- Deterministic Port Generation: Derives SERVER_LISTEN_PORT, DEV_SERVER_PORT, and DEV_SERVER_HMR_PORT from fixed baselines plus a worktree ordinal and batch offset, with a "Try another batch" flow for collisions.
- Secret-Safe Writes: Writes only new or empty vona/env/.env.local and zova/env/.env.local files after git check-ignore verification and explicit user confirmation, never reading existing env content.
- Use Case: A developer creates a second linked worktree to run a feature branch alongside the main checkout, invokes the skill, confirms the proposed port tuple, and gets isolated local overrides ready for npm run dev.
Quick Start
Invoke /cabloy-worktree-environment inside a linked Cabloy worktree and confirm the proposed identity and port tuple to write the local environment files.