ワンクリックで
editless-dev-workflow
How to start working on an EditLess issue: worktree creation, isolated VS Code, branch conventions
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
How to start working on an EditLess issue: worktree creation, isolated VS Code, branch conventions
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | editless-dev-workflow |
| description | How to start working on an EditLess issue: worktree creation, isolated VS Code, branch conventions |
| domain | development-workflow |
| confidence | medium |
| source | earned |
dev-worktree.ps1The main command for issue-driven development:
.\scripts\dev-worktree.ps1 -Issue {N}
What it does:
../editless.wt/{slug} (sibling to the main clone)squad/{issue}-{slug} (branches off origin/master, not main)npm install and npm run build (unless -NoBuild)Location: Works from either the main clone or an existing worktree.
| Parameter | Type | Default | Purpose |
|---|---|---|---|
-Issue | int | (required) | GitHub issue number |
-Slug | string | (auto-generated) | Branch slug in kebab-case. If omitted, fetches issue title via gh CLI and converts to slug |
-Profile | string | "Dev" | VS Code profile name for lightweight isolation. Pass "" or $null to use --user-data-dir instead |
-NoBuild | switch | (off) | Skip npm install and npm run build. Use when re-entering an existing worktree |
-Clean | switch | (off) | Delete .editless-dev/ before launching (resets isolated environment) |
Start a new issue worktree (auto-slug):
.\scripts\dev-worktree.ps1 -Issue 42
With explicit slug:
.\scripts\dev-worktree.ps1 -Issue 42 -Slug "fix-auth-timeout"
Re-enter without rebuilding (fast iteration):
.\scripts\dev-worktree.ps1 -Issue 42 -Slug "fix-auth-timeout" -NoBuild
Clean and rebuild:
.\scripts\dev-worktree.ps1 -Issue 42 -Slug "fix-auth-timeout" -Clean
Use VS Code user-data-dir instead of profile:
.\scripts\dev-worktree.ps1 -Issue 42 -Profile $null
EditLess uses issue-driven branch naming:
squad/{issue-number}-{kebab-case-slug}
Example: squad/42-fix-auth-timeout
Branches are created off origin/master (the default branch for this project — NOT main).
Worktrees are created relative to the main clone:
{main-clone-parent}/editless.wt/{slug}/
Example:
C:\Users\...\editlessC:\Users\...\editless.wt\fix-auth-timeoutEach worktree is isolated: its own node_modules, dist, and .editless-dev/ directory.
dev-isolated.ps1When you just need an isolated VS Code without worktree creation (e.g., testing a fix in the current directory):
.\scripts\dev-isolated.ps1
Parameters:
-Clean: Delete .editless-dev/ before launching (reset isolated environment)Use cases:
Note: This script requires the extension to be pre-built (npm run build). Unlike dev-worktree.ps1, it does NOT run the build.
Manage-Worktree.ps1This script does NOT exist for EditLess. Use dev-worktree.ps1 instead.
Always use worktrees for feature work. Checking out in the main clone breaks isolation and shared tooling.
The isolation is intentional: separate extensions, user data, and profile ensure clean testing without affecting your daily VS Code instance.
origin/masterNot main. The script handles this, but if manually creating a branch, use origin/master as the base.
-NoBuild for fast iterationAfter initial setup, re-entering with -NoBuild skips npm install and rebuild, saving 30+ seconds per cycle.
If unsure which worktree you're in, run git worktree list from the main clone.
.git inspection.-Slug is omitted, it uses gh issue view to fetch the issue title and convert to kebab-case. Requires GitHub CLI auth.--extensionDevelopmentPath).