| name | Workspace Operations |
| description | Workspace lifecycle, file deletion, and repository sync/publish workflows. |
| triggers | ["workspace","project","create project","switch project","publish project","sync repo","delete file","delete folder","delete workspace"] |
Workspace Operations Skill
Use this skill for project setup, selection, cleanup, and repository sync.
Instructions
When the user asks what projects exist:
- Call
workspace_list.
- If needed, call
workspace_status for the active project.
When the user asks to start a new project:
- Call
workspace_create with name and appropriate template.
- Call
workspace_select for the new workspace.
- Call
workspace_status and report branch/dirty state.
When the user asks to switch projects:
- Call
workspace_select with the requested workspace name.
- Call
workspace_status to confirm the current state.
When the user asks to publish or sync:
- Call
workspace_status first.
- If repository does not exist remotely, call
workspace_publish.
- Otherwise call
workspace_sync.
When the user asks to delete files/folders/workspaces:
- Call
ask_user to confirm destructive intent if it is not explicit.
- Call exactly one of
file_delete, folder_delete, or workspace_delete with confirm: true.
- Report what was removed and what remains.
Tool Reference
workspace_list
workspace_select
workspace_status
workspace_create
workspace_publish
workspace_sync
file_delete
folder_delete
workspace_delete
ask_user