perforce/p4mcp-server/p4-stream-workflows
Claude Code and agent skill by perforce/p4mcp-server
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
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.
Install
npx vskill@latest install perforce/p4mcp-server/p4-stream-workflowsSKILL.md
The same SKILL.md was published earlier as perforce/p4mcp-server/p4-stream-workflows.
Stream Workflows
Use the query_streams and modify_streams tools to manage P4 streams.
Querying 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 |
Modifying Streams
| 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 |
Stream Propagation (Branching & Merging)
| 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 |
Common Workflows
Create a feature branch
modify_streams→createa new development stream with parent = mainlinemodify_streams→populateto seed the new stream with parent filesmodify_streams→create_workspacebound to the new stream
Propagate changes to main
query_streams→interchangesto see what hasn't been merged yetquery_streams→integration_statusto check current statemodify_streams→copyfrom child to parent (copies up)query_streams→check_resolveto see if resolves are neededmodify_streams→resolve_specif needed
Merge from parent to child
query_streams→interchangesto see pending changesmodify_streams→mergefrom parent to child (merges down)- Resolve any conflicts
Switch workspace streams
query_streams→list_workspacesto find existing workspacesmodify_streams→switchthe workspace to the target stream
Best Practices
- Always check
interchangesbefore merging or copying to understand what will be propagated. - Use
copyfor upward propagation (child → parent) andmergefor downward (parent → child). - Use
validate_submitbefore submitting to catch stream-related issues early. - Use
check_resolveafter integration to ensure all conflicts are handled. populateshould only be used once when seeding a newly created stream.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/p4-stream-workflows/SKILL.md
Popularity
- Repository stars
- 115
- Repository forks
- 25
- 7-day trend score
- 24
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/perforce/p4mcp-server/p4-stream-workflows)