<< All versions

Skill v1.0.1

currentAutomated scan100/100
perforce/p4plan-mcp/task-management

+3 new

──Details
PublishedOctober 26, 2026 at 08:43 PM
Content Hashsha256:15504c7e1b20bfe8...
Git SHAd844e7afc0cb
Bump Typepatch
Compare with v1.0.0
──Files
Files (1 file, 6.9 KB)
SKILL.md6.9 KBactive
SKILL.md · 78 lines · 6.9 KB

version: "1.0.1" name: p4-plan-task-management description: Manage tasks, status updates, assignments, comments, and attachments in P4 Plan. Use when user mentions tasks, status, updates, assignments, my work, todo list, assign, comments, attachments, or collaboration.


Task Management in P4 Plan

The To Do List (get_my_tasks) shows all tasks, items, and bugs assigned to the current user across projects.

Key Concepts

  • Status values: notDone, inProgress, completed, blocked
  • Percent complete: 0-100. Setting to 100 auto-completes. Used mainly for scheduled tasks.
  • Work remaining: Hours left on a backlog task. Setting to 0 auto-completes.
  • Workflow status: Some tasks have custom workflow statuses beyond the basic four. Check task.workflow and task.workflowStatus.
  • Task types: BacklogTask (backlog), ScheduledTask (planning/Gantt), Bug (QA). All share the same status, assignment, and comment tools.
  • Multi-assignment: Multiple users can be assigned to one task. update_item assignedTo replaces existing assignees — include existing ones to add. Each entry supports optional percentageAllocation (default: 100).
  • Sprint constraint: When assigning a task in a sprint, the assignee must already be a sprint member.
  • Links: Items can link to other items (blocks, duplicates, related) or to external URLs. Use get_tasks to see existing links.
  • Comments are HTML: post_comment and update_comment accept sanitized HTML — see the comment-html-format skill for the allowed tag/CSS subset, and the mentions skill for @user references.

Tool Mapping

User IntentToolKey Parameters
See my assigned workget_my_tasksshowCompleted, showOnlyNextFourWeeks, showPipelineTasksThatCannotStart
Get full task details & linksget_taskstaskIds
Start working on taskstart_tasktaskId
Complete a taskcomplete_tasktaskId
Mark task blockedupdate_itemitemId, status: "blocked"
Update progress %update_itemitemId, percentCompleted
Update work remainingupdate_itemitemId, workRemaining
Update multiple fieldsupdate_itemitemId, name, status, points, priority, etc.
Assign to user(s)update_itemitemId, assignedTo: [{ userID, percentageAllocation? }]
Get current user infoget_current_user(none)
List project team memberslist_project_usersprojectId
Post commentpost_commenttaskId, text
Edit a commentupdate_commenttaskId, commentId, text
Delete a commentdelete_commenttaskId, commentId
Read discussionget_commentstaskId
List attached filesget_attachmentstaskId
Download/view a filedownload_attachmenttaskId, path (from get_attachments)
Attach a file or textupload_attachmenttaskId, filePath (absolute) or content + fileName
Remove an attachmentdelete_attachmenttaskId, path
Set cover imageset_cover_imagetaskId, imagePath (null to remove)
Link item to itemlink_itemsfromItemId, toItemId, relation (blocks/duplicates/relatedTo)
Link item to URLlink_itemsfromItemId, url, relation, notes?
Remove a linkunlink_itemsfromItemId, toItemId or url
Search for taskssearch_tasksfindQuery, projectId

File type support for download_attachment

TypeReturned asExamples
Text & codeRaw text inline.txt, .md, .csv, .json, .xml, .js, .ts, .py, .yaml, .svg
ImagesMCP image (vision).png, .jpg, .gif, .webp
Binary docsNot readable.pdf, .docx, .xlsx, .pptx, .zip

Uploading with upload_attachment

  • Pass filePath for a file on disk (screenshot, log, PDF). It must be inside a folder the server may read: the client's workspace folders or P4PLAN_UPLOAD_DIRS. If the tool says the file is outside those folders, tell the user rather than copying the file somewhere yourself.
  • Pass content + fileName for text you write yourself, such as a log excerpt or repro steps.
  • The tool returns the new attachment path. If the name was taken, the server stores the file as name (1).ext; after a timeout, call get_attachments before retrying so you don't upload it twice.
  • To show an image inside a comment or multiline field, upload it to the same item first, then put the returned imageHtml in the HTML (see the comment-html-format skill).
  • Uploads run one at a time, at most 20 per minute. If the tool says the limit is reached, wait the time it gives; don't retry in a loop.

Committed Items

Items with a committedToProjectID are already committed to a sprint. Before modifying, moving, or breaking down committed items, always confirm with the user first. When creating sub-tasks under a committed parent (parentItemId), call get_tasks on the parent first — if it has committedToProjectID, ask the user whether the sub-items should be created in the sprint or in the backlog.

Related Skills

← v1.0.0All versions