p4-changelist-manageme…
P4 changelist workflows — create, list, submit, shelve, unshelve, and manage changelists and shelved files via P4 MCP tools. Use…
P4 stream workflows — creation, branching, merging, copying, integration, switching, and spec management via P4 MCP tools. Use when: creating streams, branching, merging, copying between streams, integrating changes, switching workspaces, or managing stream specs in P4.
$ npx -y skills add perforce/p4mcp-server --skill p4-stream-workflows --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/p4-stream-workflowsContext preview
The summary Claude sees to decide when to auto-load this skill.
P4 stream workflows — creation, branching, merging, copying, integration, switching, and spec management via P4 MCP tools. Use when: creating streams, branching, merging, copying between streams, integrating changes, switching workspaces, or managing stream specs in P4.
name: p4-stream-workflows description: P4 stream workflows — creation, branching, merging, copying, integration, switching, and spec management via P4 MCP tools. Use when: creating streams, branching, merging, copying between streams, integrating changes, switching workspaces, or managing stream specs in P4.
Use the `query_streams` and `modify_streams` tools to manage P4 streams.
| Action | Purpose | Key Parameters | |--------|---------|----------------| | `list` | List streams under a depot path | `stream_path`, `filter`, `fields`, `max_results` | | `get` | Get a single stream spec | `stream_name` | | `children` | List child streams | `stream_name` | | `parent` | Get parent stream | `stream_name` | | `graph` | Get full stream hierarchy | `stream_path` | | `integration_status` | Check pending integrations between stream and parent | `stream_name`, `both_directions`, `force_refresh` | | `get_workspace` | Get workspace bound to a stream | `stream_name`, `workspace` | | `list_workspaces` | List all workspaces for a stream | `stream_name`, `user` | | `validate_file` | Check if a file path is valid in a stream | `stream_name`, `file_paths`, `workspace` | | `validate_submit` | Verify a changelist is ready to submit in stream context | `workspace`, `changelist` | | `check_resolve` | Check if resolve is needed after integration | `stream_name` | | `interchanges` | List changes not yet integrated between stream and parent | `stream_name`, `reverse`, `limit` |
| Action | Purpose | Key Parameters | |--------|---------|----------------| | `create` | Create a new stream | `stream_name`, `stream_type`, `parent`, `description` | | `update` | Update stream spec fields | `stream_name`, updated fields | | `delete` | Delete a stream (requires approval) | `stream_name` | | `edit_spec` | Open stream spec for editing | `stream_name`, `changelist` | | `resolve_spec` | Resolve spec conflicts | `stream_name`, `resolve_mode` | | `revert_spec` | Revert spec changes | `stream_name` | | `shelve_spec` | Shelve stream spec changes | `stream_name`, `changelist` | | `unshelve_spec` | Unshelve stream spec changes | `stream_name`, `target_changelist` |
| Action | Purpose | Key Parameters | |--------|---------|----------------| | `copy` | Copy changes between parent/child streams | `stream_name`, `changelist`, `parent_stream` | | `merge` | Merge changes between parent/child streams | `stream_name`, `changelist`, `parent_stream` | | `integrate` | Integrate with custom source/target (advanced) | `stream_name`, `changelist`, `parent_stream` | | `populate` | Seed a new stream with files from parent | `stream_name` | | `switch` | Switch a workspace to a different stream | `stream_name`, `workspace` | | `create_workspace` | Create a workspace bound to a stream | `stream_name`, `workspace_name`, `root` |
1. `modify_streams` → `create` a new development stream with parent = mainline 2. `modify_streams` → `populate` to seed the new stream with parent files 3. `modify_streams` → `create_workspace` bound to the new stream
1. `query_streams` → `interchanges` to see what hasn't been merged yet 2. `query_streams` → `integration_status` to check current state 3. `modify_streams` → `copy` from child to parent (copies up) 4. `query_streams` → `check_resolve` to see if resolves are needed 5. `modify_streams` → `resolve_spec` if needed
1. `query_streams` → `interchanges` to see pending changes 2. `modify_streams` → `merge` from parent to child (merges down) 3. Resolve any conflicts
1. `query_streams` → `list_workspaces` to find existing workspaces 2. `modify_streams` → `switch` the workspace to the target stream
[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 workspace setup and management — create, configure, sync, and switch workspaces via P4 MCP tools. Use when: creating…