p4-changelist-manageme…
P4 changelist workflows — create, list, submit, shelve, unshelve, and manage changelists and shelved files via P4 MCP tools. Use…
P4 workspace setup and management — create, configure, sync, and switch workspaces via P4 MCP tools. Use when: creating workspaces, configuring client specs, syncing files, switching workspaces, or checking workspace status in P4.
$ npx -y skills add perforce/p4mcp-server --skill p4-workspace-setup --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/p4-workspace-setupContext preview
The summary Claude sees to decide when to auto-load this skill.
P4 workspace setup and management — create, configure, sync, and switch workspaces via P4 MCP tools. Use when: creating workspaces, configuring client specs, syncing files, switching workspaces, or checking workspace status in P4.
name: p4-workspace-setup description: P4 workspace setup and management — create, configure, sync, and switch workspaces via P4 MCP tools. Use when: creating workspaces, configuring client specs, syncing files, switching workspaces, or checking workspace status in P4.
Use the `query_workspaces` and `modify_workspaces` tools to manage P4 client workspaces.
| Action | Purpose | Key Parameters | |--------|---------|----------------| | `list` | List workspaces with filters | `user`, `max_results` | | `get` | Get full workspace spec | `workspace_name` | | `type` | Check if workspace is stream or classic | `workspace_name` | | `status` | Get workspace sync status | `workspace_name` |
| Action | Purpose | Key Parameters | |--------|---------|----------------| | `create` | Create a new workspace | `name`, `specs` | | `update` | Update workspace spec fields | `name`, `specs` | | `delete` | Delete a workspace (requires approval) | `name` | | `switch` | Switch active workspace | `name` |
1. `query_streams` → `list` to find available streams 2. `modify_workspaces` → `create` with `specs` containing the stream depot path 3. `modify_files` → `sync` to populate the workspace
1. `modify_workspaces` → `create` with `specs` containing view mappings (depot-to-local paths) 2. `modify_files` → `sync` to populate the workspace
1. `query_workspaces` → `get` to see the current spec 2. `query_workspaces` → `type` to check if it's stream-bound or classic 3. `query_workspaces` → `status` to see sync state (have vs head revisions)
1. `query_workspaces` → `list` to see available workspaces 2. `modify_workspaces` → `switch` to set the active workspace
[Community Supported] Perforce P4 MCP Server is a Model Context Protocol (MCP) server that integrates with the Perforce P4 version control system.
P4 changelist workflows — create, list, submit, shelve, unshelve, and manage changelists and shelved files via P4 MCP tools. Use…
P4 code review workflows — discover, create, vote, comment, transition, and manage reviews via P4 MCP tools. Use when: creating…
P4 DAM (Digital Asset Management) workflows — search, browse, tag, review, and manage digital assets via P4 MCP tools. Use when…
P4 file operations — query content, history, annotations, diffs, and modify files (add, edit, delete, move, sync, resolve) via P4…
P4 stream workflows — creation, branching, merging, copying, integration, switching, and spec management via P4 MCP tools. Use…