perforce/p4plan-mcp/mentions

Claude Code and agent skill by perforce/p4plan-mcp

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Format @user mentions inside HTML comments and multiline fields so they render as a proper link in both the Qt desktop client and the React web client. Use when the user wants to ping someone, notify a teammate, address @-name, or reference a user inside a comment / description / steps to reproduce.

Install

npx vskill@latest install perforce/p4plan-mcp/mentions

SKILL.md

The same SKILL.md was published earlier as perforce/p4plan-mcp/mentions.

@Mentions in P4 Plan Comments

A mention is a regular HTML anchor whose href is the user's userLink URL. Both clients render it as a styled link; clicking it opens the user.

Format

html
<a href="<USER_LINK>">@<DISPLAY_NAME></a>
  • <USER_LINK> — the user's userLink field. Always copy this verbatim from the GraphQL response — never construct it by hand. It looks like hansoft://<server>;<database>;<guid>/UserID/<numeric_id> but the host/database/guid prefix is connection-specific and you don't know it.
  • <DISPLAY_NAME> — the user's display name. Prepend a literal @. The clients show this verbatim — they do not auto-resolve names or auto-prepend @.

How to get userLink

SourceToolField
The current authenticated userget_current_useruserLink
Members of a projectlist_project_usersusers[].user.userLink

Both tools now return userLink as a normal field. Copy it verbatim.

Examples

Single mention
html
<html><body><p>Can you take a look, <a href="hansoft://server;db;guid/UserID/42">@Alice</a>?</p></body></html>
Two mentions in a paragraph
html
<html><body><p>cc <a href="hansoft://server;db;guid/UserID/42">@Alice</a> and <a href="hansoft://server;db;guid/UserID/77">@Bob</a> — please review.</p></body></html>
Mention inside a list item
html
<html><body>
<ul style="margin-top:0px;margin-bottom:0px">
<li>Reviewed by <a href="hansoft://server;db;guid/UserID/42">@Alice</a>.</li>
</ul>
</body></html>

Rules and gotchas

  • `@` is literal. Both clients display the link text verbatim — they do not auto-prepend @ or resolve display names. Always include the @ and the name yourself.
  • Don't put a mention inside `<pre>` or `<code>`. Code blocks suppress link styling and the chip will render as plain text.
  • Percent-encode special characters in the URL. Spaces become %20, > becomes %3E. The userLink returned by the API is already correctly encoded — copy it verbatim and don't modify.
  • One `<a>` element per mention. Don't wrap multiple @names in a single <a>.
  • Mentions live inside the HTML body, not at the top level — wrap your comment in <html><body><p>...</p></body></html> if it contains a mention. See the comment-html-format skill for the surrounding format.

Caveat: server-side notifications

The GraphQL service currently extracts mention IDs only from a legacy <URL> tag form (regex match on <URL...UserID/N>). The <a href> form documented above renders correctly in both clients but may not trigger user-notification dispatch on the server. This is a known server-side gap — out of scope for this skill. If a user explicitly asks for "notify so-and-so" and notifications matter, flag it to them as a separate issue rather than working around it.

Tool Mapping

Mentions are embedded inside the HTML payloads of these tools:

User IntentToolHTML field
Mention someone in a new commentpost_commenttext
Mention someone when editing a commentupdate_commenttext
Mention someone in a Multiline Text custom fieldset_custom_fieldvalue
Mention someone in a Bug's detailed description / steps to reproducecreate_item / update_itemdetailedDescription, stepsToReproduce
Look up a user's userLink to use in the hreflist_project_users, get_current_useruserLink

Related Skills

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

Popularity

Repository stars
4
7-day trend score
8

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/p4plan-mcp/mentions/badge)](https://verified-skill.com/skills/perforce/p4plan-mcp/mentions)

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