experience-app-mcp-delivery-generate
Deliver an Experience Site MCP Connection
Create a standalone MCP configuration file or a local Claude plugin for an existing hosted server. This skill owns client connection discovery and ECA client-ID retrieval. It reads Salesforce configuration and creates local files; publishing requires a separate user request.
<skill-dir> is the absolute directory containing this SKILL.md. Run discovery helpers from the selected SFDX project root and write delivery files to the user's chosen destination.
Reuse the org/site/server/ECA identities, exact site developer name, serving URL and validation results already established in the current context. Discover only missing, stale, conflicting or unverified facts. Ask only for choices that have not already been supplied.
Supported plugin platform
Check the requested delivery format and plugin platform before preflight or connection discovery. This skill generates Claude plugins only. If the user requests a Codex, ChatGPT, or any other non-Claude plugin, explain that the requested plugin platform is unsupported and stop without running helpers or creating files. Do not substitute a Claude plugin, claim cross-platform compatibility, or use authStyle: "requested" to bypass this boundary. Changing the delivery format requires a new, explicit user choice.
If the user asks for a plugin without naming its platform, ask which platform they want and state that this skill supports Claude plugins only. Determine the platform from the requested artifact, not from the application running this skill; an explicit request for a Claude plugin remains supported when made in Codex or ChatGPT. Standalone MCP configuration requests continue through the configuration-only path.
0. Preflight
For supported delivery requests, reuse the target org alias or ask if missing. Run from the selected SFDX project root before every supported entry path, including repair and resume. Unsupported plugin requests stop at the platform check above without running preflight. Proceed only on decision: continue.
If the project root has no sfdx-project.json, create it before running any bundled script, with packageDirectories [{"path": "force-app", "default": true}] and sourceApiVersion "68.0". Do not change an existing one.