platform-mcp-tool-widget-coordinate
A Salesforce skill that coordinates rendering what a custom MCP tool returns, where the tool is backed by an Apex invocable action, as a rich widget.
What the skill teaches
A Salesforce skill that coordinates rendering what a custom MCP tool returns, where the tool is backed by an Apex invocable action, as a rich widget. The agent selects the input, discovers the shape of the tool's output payload, presents a build plan for approval, then generates an object-based Lightning Type, a default renderer and an HXL widget bundle, and runs validation gates before summarising. The skill explains how this path differs from the Apex-backed Lightning Type skill, and it runs only when the request explicitly involves an MCP tool's output. It uses the sf CLI and jq.
Capabilities
- Discover the output shape of an Apex-backed MCP tool
- Generate an object-based Lightning Type for tool output
- Generate an HXL widget to render the output
- Validate the generated files
About
- Publisher
- Salesforce
- Tool
- Salesforce
Install
- Run this to add it to Any client:
npx skills add forcedotcom/sf-skills
What's inside
- examples/action-name-source-prompt.md
- examples/apex-invocable-source-prompt.md
- examples/nested-object-list-source-prompt.md
- examples/nested-object-single-source-prompt.md
- examples/pasted-tool-output-prompt.md
- references/build-plan-format.md
- references/mcp-tool-output-discovery.md
- references/two-clt-modeling.md
- references/validation-gates.md
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
Details
| Fact | Value | Source |
|---|---|---|
| Type | Skill | |
| Tool | Salesforce | |
| Publisher | Salesforce | source |
| Official status | OfficialSalesforce's developer documentation for its skills and plugins links to the forcedotcom/sf-skills repository | source |
| Needs an API key or sign-in | Not stated in its documentation | |
| Includes scripts | No | source |
| Platforms | Not stated in its documentation | |
| AI clients | Not stated in its documentation | |
| Licence | Apache-2.0 | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Nov 6, 20261,156 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository |
Sources
- Skill file (SKILL.md)github.com/forcedotcom/sf-skillsNov 10, 2026
- README (README.md)github.com/forcedotcom/sf-skillsNov 13, 2026
- Licence file (LICENSE.txt)github.com/forcedotcom/sf-skills · Backs: Licence, PublisherNov 13, 2026
- Web pagedeveloper.salesforce.com · Backs: Official statusNov 13, 2026
- Folder in the repository (platform-mcp-tool-widget-coordinate)github.com/forcedotcom/sf-skills · Backs: Includes scriptsNov 10, 2026
- GitHub repositorygithub.com/forcedotcom/sf-skills · Backs: Activity, LicenceNov 11, 2026