perforce/p4plan-mcp/mentions
Claude Code and agent skill by perforce/p4plan-mcp
- community
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/mentionsSKILL.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
<USER_LINK>— the user'suserLinkfield. Always copy this verbatim from the GraphQL response — never construct it by hand. It looks likehansoft://<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
| Source | Tool | Field | |
|---|---|---|---|
| The current authenticated user | get_current_user | userLink | |
| Members of a project | list_project_users | users[].user.userLink |
Both tools now return userLink as a normal field. Copy it verbatim.
Examples
Single mention
Two mentions in a paragraph
Mention inside a list item
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. TheuserLinkreturned by the API is already correctly encoded — copy it verbatim and don't modify. - One `<a>` element per mention. Don't wrap multiple
@namesin 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 Intent | Tool | HTML field | |
|---|---|---|---|
| Mention someone in a new comment | post_comment | text | |
| Mention someone when editing a comment | update_comment | text | |
| Mention someone in a Multiline Text custom field | set_custom_field | value | |
| Mention someone in a Bug's detailed description / steps to reproduce | create_item / update_item | detailedDescription, stepsToReproduce | |
Look up a user's userLink to use in the href | list_project_users, get_current_user | userLink |
Related Skills
- comment-html-format — the HTML format that wraps the mention
- task-management — comment workflows
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/mentions/SKILL.md
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
[](https://verified-skill.com/skills/perforce/p4plan-mcp/mentions)