perforce/p4mcp-server/p4-code-review
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 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-reviewSKILL.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
| Action | Purpose | Key Parameters | |
|---|---|---|---|
list | List reviews with filters | review_fields, max_results | |
dashboard | Get review dashboard for current user | — | |
get | Get full review details | review_id | |
transitions | Get available state transitions | review_id | |
files | List files in a review | review_id | |
files_readby | Check which files have been read by reviewers | review_id | |
comments | Get all comments on a review | review_id | |
activity | Get review activity log | review_id |
Modifying Reviews
Lifecycle
| Action | Purpose | Key Parameters | |
|---|---|---|---|
create | Create a new review from a changelist | change_id, description | |
transition | Move review to a new state | review_id, transition | |
archive_inactive | Archive stale reviews | not_updated_since, max_reviews | |
obliterate | Permanently remove a review (requires approval) | review_id |
Voting & Participation
| Action | Purpose | Key Parameters | |
|---|---|---|---|
vote | Vote on a review (up/down/clear) | review_id, vote_value | |
append_participants | Add reviewers | review_id, users, groups | |
replace_participants | Replace all reviewers | review_id, users, groups | |
delete_participants | Remove reviewers | review_id, users, groups | |
join | Join a review as participant | review_id | |
leave | Leave a review | review_id |
Comments
| Action | Purpose | Key Parameters | |
|---|---|---|---|
add_comment | Add a new comment | review_id, body, context | |
reply_comment | Reply to an existing comment | review_id, comment_id, body | |
mark_comment_read | Mark a comment as read | review_id, comment_id | |
mark_comment_unread | Mark a comment as unread | review_id, comment_id | |
mark_all_comments_read | Mark all comments as read | review_id | |
mark_all_comments_unread | Mark all comments as unread | review_id |
Changelist Management
| Action | Purpose | Key Parameters | |
|---|---|---|---|
append_change | Add a changelist to a review | review_id, change_id | |
replace_with_change | Replace review content with a new changelist | review_id, change_id |
Metadata
| Action | Purpose | Key Parameters | |
|---|---|---|---|
update_author | Change the review author | review_id, new_author | |
update_description | Update review description | review_id, new_description | |
refresh_projects | Refresh project associations | review_id |
Common Workflows
Submit code for review
modify_changelists→createa pending changelist with your editsmodify_shelves→shelvethe changelistmodify_reviews→createa review from the changelistmodify_reviews→append_participantsto add reviewers
Review code
query_reviews→dashboardto see reviews assigned to youquery_reviews→getto see review detailsquery_reviews→filesto see changed filesquery_reviews→commentsto see existing discussionmodify_reviews→add_commentto provide feedbackmodify_reviews→voteto approve or request changesquery_reviews→transitionsto see available state changesmodify_reviews→transitionto approve/reject
Update a review
- Make edits and shelve the updated changelist
modify_reviews→replace_with_changeto update review content- Review comments and address feedback
Best Practices
- Check
transitionsbefore callingtransitionto verify the target state is valid. - Use
files_readbyto track which reviewers have seen the latest changes. - Always
shelvechanges before creating a review so reviewers can see the diff. - Use
append_participantsrather thanreplace_participantsto 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
- SKILL.md in the repositoryCheckingskills/p4-code-review/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-code-review)