p4-code-review
P4 code review workflows — discover, create, vote, comment, transition, and manage reviews via P4 MCP tools. Use when: creating…
P4 changelist workflows — create, list, submit, shelve, unshelve, and manage changelists and shelved files via P4 MCP tools. Use when: creating changelists, editing files, shelving, unshelving, submitting, organizing changes, or managing pending work in P4.
$ npx -y skills add perforce/p4mcp-server --skill p4-changelist-management --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/p4-changelist-managementContext preview
The summary Claude sees to decide when to auto-load this skill.
P4 changelist workflows — create, list, submit, shelve, unshelve, and manage changelists and shelved files via P4 MCP tools. Use when: creating changelists, editing files, shelving, unshelving, submitting, organizing changes, or managing pending work in P4.
name: p4-changelist-management description: P4 changelist workflows — create, list, submit, shelve, unshelve, and manage changelists and shelved files via P4 MCP tools. Use when: creating changelists, editing files, shelving, unshelving, submitting, organizing changes, or managing pending work in P4.
Use the `query_changelists`, `modify_changelists`, `query_shelves`, and `modify_shelves` tools to manage P4 changelists and shelved files.
| Action | Purpose | Key Parameters | |--------|---------|----------------| | `list` | List changelists with filters | `status`, `user`, `workspace_name`, `depot_path`, `max_results` | | `get` | Get full changelist details | `changelist_id` |
| Action | Purpose | Key Parameters | |--------|---------|----------------| | `create` | Create a new pending changelist | `description` | | `update` | Update changelist description or fields | `changelist_id`, `description` | | `submit` | Submit a pending changelist | `changelist_id` | | `delete` | Delete an empty pending changelist (requires approval) | `changelist_id` | | `move_files` | Move files to a target changelist | `changelist_id`, `file_paths` |
| Action | Purpose | Key Parameters | |--------|---------|----------------| | `list` | List shelved changelists | `user`, `max_results` | | `diff` | View diff of shelved files | `changelist_id` | | `files` | List files in a shelved changelist | `changelist_id` |
| Action | Purpose | Key Parameters | |--------|---------|----------------| | `shelve` | Shelve files from a pending changelist | `changelist_id`, `file_paths` | | `unshelve` | Unshelve files back to the same changelist | `changelist_id`, `file_paths` | | `unshelve_to_changelist` | Unshelve files into a different changelist | `changelist_id`, `target_changelist`, `file_paths` | | `update` | Update shelved files with new edits | `changelist_id`, `file_paths` | | `delete` | Delete shelved files (requires approval) | `changelist_id`, `file_paths`, `force` |
1. `modify_changelists` → `create` a pending changelist 2. `modify_files` → `edit` (or `add`/`delete`) to open files for edit in the changelist 3. `modify_changelists` → `submit` to commit the change
1. `modify_changelists` → `create` a pending changelist 2. `modify_files` → `edit` to open files 3. `modify_shelves` → `shelve` to store changes server-side 4. `modify_files` → `revert` local copies (shelve is preserved)
1. `query_shelves` → `list` to find your shelved changelists 2. `modify_shelves` → `unshelve` to restore files to your workspace 3. Continue editing, then `modify_changelists` → `submit`
1. `query_changelists` → `list` with `status=pending` to see your open changelists 2. `modify_changelists` → `move_files` to reorganize files between changelists
[Community Supported] Perforce P4 MCP Server is a Model Context Protocol (MCP) server that integrates with the Perforce P4 version control system.
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…
P4 workspace setup and management — create, configure, sync, and switch workspaces via P4 MCP tools. Use when: creating…