perforce/p4mcp-server/p4-code-review

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 code review workflows — discover, create, vote, comment, transition, and manage reviews via P4 MCP tools. Use when: creating reviews, voting, commenting, transitioning review states, managing participants, or tracking review activity in P4.

Install

npx vskill@latest install perforce/p4mcp-server/p4-code-review

SKILL.md

The same SKILL.md was published earlier as perforce/p4mcp-server/p4-code-review.

Code Review Workflows

Use the query_reviews and modify_reviews tools to manage P4 Code Review code reviews.

Querying Reviews

ActionPurposeKey Parameters
listList reviews with filtersreview_fields, max_results
dashboardGet review dashboard for current user—
getGet full review detailsreview_id
transitionsGet available state transitionsreview_id
filesList files in a reviewreview_id
files_readbyCheck which files have been read by reviewersreview_id
commentsGet all comments on a reviewreview_id
activityGet review activity logreview_id

Modifying Reviews

Lifecycle
ActionPurposeKey Parameters
createCreate a new review from a changelistchange_id, description
transitionMove review to a new statereview_id, transition
archive_inactiveArchive stale reviewsnot_updated_since, max_reviews
obliteratePermanently remove a review (requires approval)review_id
Voting & Participation
ActionPurposeKey Parameters
voteVote on a review (up/down/clear)review_id, vote_value
append_participantsAdd reviewersreview_id, users, groups
replace_participantsReplace all reviewersreview_id, users, groups
delete_participantsRemove reviewersreview_id, users, groups
joinJoin a review as participantreview_id
leaveLeave a reviewreview_id
Comments
ActionPurposeKey Parameters
add_commentAdd a new commentreview_id, body, context
reply_commentReply to an existing commentreview_id, comment_id, body
mark_comment_readMark a comment as readreview_id, comment_id
mark_comment_unreadMark a comment as unreadreview_id, comment_id
mark_all_comments_readMark all comments as readreview_id
mark_all_comments_unreadMark all comments as unreadreview_id
Changelist Management
ActionPurposeKey Parameters
append_changeAdd a changelist to a reviewreview_id, change_id
replace_with_changeReplace review content with a new changelistreview_id, change_id
Metadata
ActionPurposeKey Parameters
update_authorChange the review authorreview_id, new_author
update_descriptionUpdate review descriptionreview_id, new_description
refresh_projectsRefresh project associationsreview_id

Common Workflows

Submit code for review
  1. modify_changelists → create a pending changelist with your edits
  2. modify_shelves → shelve the changelist
  3. modify_reviews → create a review from the changelist
  4. modify_reviews → append_participants to add reviewers
Review code
  1. query_reviews → dashboard to see reviews assigned to you
  2. query_reviews → get to see review details
  3. query_reviews → files to see changed files
  4. query_reviews → comments to see existing discussion
  5. modify_reviews → add_comment to provide feedback
  6. modify_reviews → vote to approve or request changes
  7. query_reviews → transitions to see available state changes
  8. modify_reviews → transition to approve/reject
Update a review
  1. Make edits and shelve the updated changelist
  2. modify_reviews → replace_with_change to update review content
  3. Review comments and address feedback

Best Practices

  • Check transitions before calling transition to verify the target state is valid.
  • Use files_readby to track which reviewers have seen the latest changes.
  • Always shelve changes before creating a review so reviewers can see the diff.
  • Use append_participants rather than replace_participants to avoid removing existing reviewers.

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-code-review/badge)](https://verified-skill.com/skills/perforce/p4mcp-server/p4-code-review)

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