perforce/p4mcp-server/p4-stream-workflows

Claude Code and agent skill by perforce/p4mcp-server

Trust tier 2
  • community
LLM review pending
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-workflows

SKILL.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

ActionPurposeKey Parameters
listList streams under a depot pathstream_path, filter, fields, max_results
getGet a single stream specstream_name
childrenList child streamsstream_name
parentGet parent streamstream_name
graphGet full stream hierarchystream_path
integration_statusCheck pending integrations between stream and parentstream_name, both_directions, force_refresh
get_workspaceGet workspace bound to a streamstream_name, workspace
list_workspacesList all workspaces for a streamstream_name, user
validate_fileCheck if a file path is valid in a streamstream_name, file_paths, workspace
validate_submitVerify a changelist is ready to submit in stream contextworkspace, changelist
check_resolveCheck if resolve is needed after integrationstream_name
interchangesList changes not yet integrated between stream and parentstream_name, reverse, limit

Modifying Streams

ActionPurposeKey Parameters
createCreate a new streamstream_name, stream_type, parent, description
updateUpdate stream spec fieldsstream_name, updated fields
deleteDelete a stream (requires approval)stream_name
edit_specOpen stream spec for editingstream_name, changelist
resolve_specResolve spec conflictsstream_name, resolve_mode
revert_specRevert spec changesstream_name
shelve_specShelve stream spec changesstream_name, changelist
unshelve_specUnshelve stream spec changesstream_name, target_changelist

Stream Propagation (Branching & Merging)

ActionPurposeKey Parameters
copyCopy changes between parent/child streamsstream_name, changelist, parent_stream
mergeMerge changes between parent/child streamsstream_name, changelist, parent_stream
integrateIntegrate with custom source/target (advanced)stream_name, changelist, parent_stream
populateSeed a new stream with files from parentstream_name
switchSwitch a workspace to a different streamstream_name, workspace
create_workspaceCreate a workspace bound to a streamstream_name, workspace_name, root

Common Workflows

Create a feature branch
  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
Propagate changes to main
  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
Merge from parent to child
  1. query_streams → interchanges to see pending changes
  2. modify_streams → merge from parent to child (merges down)
  3. Resolve any conflicts
Switch workspace streams
  1. query_streams → list_workspaces to find existing workspaces
  2. modify_streams → switch the workspace to the target stream

Best Practices

  • Always check interchanges before merging or copying to understand what will be propagated.
  • Use copy for upward propagation (child → parent) and merge for downward (parent → child).
  • Use validate_submit before submitting to catch stream-related issues early.
  • Use check_resolve after integration to ensure all conflicts are handled.
  • populate should 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/perforce/p4mcp-server/p4-stream-workflows/badge)](https://verified-skill.com/skills/perforce/p4mcp-server/p4-stream-workflows)

Something wrong with this skill or its page? Tell us.