tjboudreaux/cc-plugin-perforce/tools-p4-basics
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Fundamental Perforce operations including sync, edit, add, delete, submit, revert, and file state management.
Install
npx vskill@latest install tjboudreaux/cc-plugin-perforce/tools-p4-basicsSKILL.md
Perforce Basics
Overview
Perforce (P4) is a centralized version control system optimized for large codebases and binary assets. This skill covers essential daily operations.
When to Use
- Syncing latest changes
- Editing files for modification
- Adding new files
- Deleting files
- Submitting changes
- Reverting unwanted changes
Core Concepts
File States
| State | Description | Command to Change | |
|---|---|---|---|
| Not in depot | File exists locally but not tracked | p4 add | |
| Synced | File matches depot version | - | |
| Edited | Open for edit, modified locally | p4 edit then modify | |
| Added | Marked for addition to depot | p4 add | |
| Deleted | Marked for deletion from depot | p4 delete | |
| Out of date | Depot has newer version | p4 sync |
Revision Specifiers
Sync Operations
Basic Sync
Sync Options
Selective Sync
Edit Operations
Opening Files for Edit
Check Edit Status
Add Operations
Adding New Files
File Types
Delete Operations
Deleting Files
Handling Deleted Files
Revert Operations
Reverting Changes
Revert to Specific Revision
Submit Operations
Submitting Changes
Pre-Submit Checks
Status Commands
Workspace Status
Depot Status
Reconcile Operations
Finding Untracked Changes
Common Workflows
Daily Sync Workflow
Edit-Submit Workflow
Add New Files Workflow
Best Practices
- Always sync before editing - Avoid conflicts
- Use descriptive changelist descriptions - Help others understand
- Submit related changes together - Atomic commits
- Revert unchanged files with
p4 revert -a - Check `p4 opened` before leaving for the day
- Use `p4 reconcile` to catch local changes
- Preview with `-n` before destructive operations
- Use exclusive locks for binary files
- Don't submit broken code - Test first
- Keep changelists small - Easier to review/revert
Troubleshooting
| Issue | Solution | |
|---|---|---|
| "File not on client" | Run p4 sync first | |
| "Can't edit - not synced" | Sync file, then edit | |
| "Can't clobber writable file" | Use p4 sync -f or fix permissions | |
| "File already open" | Check p4 opened -a for who has it | |
| "Out of date" | Sync and resolve before submit | |
| "No such file" | Check path, use p4 files to verify |
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/tools-p4-basics/SKILL.md
Popularity
- Repository stars
- 4
- Repository forks
- 1
- 7-day trend score
- 8
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 3 Apr 2026, 6 months ago.
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/tjboudreaux/cc-plugin-perforce/tools-p4-basics)