pan-workspace
pan workspace new/main/get/activate/archive/relocate — the PAN-1990 projects/workspaces domain: kinds, doors, memory homes
от eltmon★ 36 звёзд на GitHub
Установить pan-workspace в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Pan Workspace (PAN-1990 domain)
pan workspace is overloaded — it also carries the older PAN-428 issue/git-worktree
lifecycle (create, migrate, ssh, destroy, …), which this skill does not
cover. This skill wraps only the newer projects/workspaces domain: every registered
project has exactly one main workspace plus any number of issue (one per tracked
issue) and scratch (ad-hoc, unattached to an issue) workspaces, all rows in the
workspaces table read through src/lib/workspaces/resolver.ts and written through
src/lib/workspaces/writer.ts — see docs/WORKSPACES-AND-PROJECTS.md for the full
model.
Commands
pan workspace new <name> [--project <key>] [--isolated] [--parent-branch <branch>] [--target-path <dir>] [--origin operator|agent] [--dry-run]
pan workspace main [--project <key>]
pan workspace get <ws>
pan workspace activate <ws>
pan workspace archive <ws>
pan workspace relocate <ws> --path <dir> [--force]
pan workspace list [--kind <main|issue|scratch>] [--archived] [--json] [--all]
Notes
new <name>creates a scratch workspace. By default it shares the project's primary directory (same worktree, no new branch); pass--isolatedto create a separate git worktree instead, with--parent-branchoverriding the inferred parent (defaults to the project's current branch).--target-path <dir>points the scratch workspace at any existing directory instead of the project's primary path — this is how a workspace becomes a long-lived lens onto an arbitrary repo, independent of--isolated's worktree-per-branch model. Mutually exclusive with--isolated; the path must already exist.is_git_repositoryis detected from<dir>/.git. If the resolved directory isn't the project's primary path or a path registered viapan project add-target, the command still creates the row but prints an informational note suggestingpan project add-target.- Pass
--origin operatorwhen the operator asked you to create the workspace; otherwise it is stampedagentand stays out of the sidebar. --dry-runprints the resolved intent (projectId,kind,name,path,branchName,parentBranch,parentBranchGuessed,isGitRepository,wouldCreateWorktree) as JSON and returns before any worktree is created or workspace row is written — no DB row, no worktree, no memory home.main [--project <key>]resolves the project's singleton main workspace, creating it if it doesn't exist yet. There is exactly onemainworkspace per project —archiverefuses to touch it.--project <key>onnew/maindefaults to the sole registered project, or the one resolved from the current working directory, when omitted.get <ws>prints the full row (id, kind, project, path, branch, issue, archived, favorite, lastAccess) plusmemoryHome— the workspace's memory-home directory (resolveWorkspaceMemoryRoot), keyed by workspace id and stable across relocation.activate <ws>bumpslastAccessedAt(drives most-recent-first ordering in the Sidebar and Cmd-K switcher) and prints a hint to restorelayoutConfigif the workspace has a saved dashboard pane arrangement.archive <ws>is reversible and refuseskind=main.relocate <ws> --path <dir>(Subspaceworkspaces update --relocateparity) points an existing workspace at a new path: updates thepathcolumn, re-detectsis_git_repositoryfrom<dir>/.git, toucheslastAccessedAt, and re-writes the memory-homemetadata.jsonrecovery hint — the memory home itself never moves, since it's keyed by workspace id, not path.<ws>accepts an id or a name (ambiguous names across projects error out asking for the id). Refuseskind=issue(pipeline-owned) and archived workspaces;kind=mainrequires--forcesince it diverges the row from projects.yaml's primary path.- The dashboard does the same thing through the same code (PAN-3330). The
New Workspace dialog (sidebar WORKSPACES
+, theNew workspace…palette action, or a project overview's button) andnew/mainboth callsrc/lib/workspaces/create.ts, so a workspace created either way is identical. The dialog's live preview is a server-side dry run of that same resolution — the UI equivalent of--dry-run.WorkspaceView's header offers Favorite/Relocate/Archive formainandscratch, matchingrelocate/archiveand their refusals; destroying a workspace and purging memory stay CLI-only. list --kind <kind>reads through the resolver the same way the dashboard does; add--archivedto include archived rows (only meaningful together with--kind).
The workspace quick-action band (PAN-3331)
The dashboard's workspace view carries a band of three cards above its panels. It has no CLI verb — these are dashboard-only affordances — but two of them are worth knowing when you are reasoning about workspace state:
- Git reads `GET /api/workspace-registry/
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Bash - 02
Read
FAQ
Что делает скилл pan-workspace?
pan workspace new/main/get/activate/archive/relocate — the PAN-1990 projects/workspaces domain: kinds, doors, memory homes
Как установить скилл pan-workspace?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл pan-workspace запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…