en un clic
xmlui-setup
// Set up a complete XMLUI development environment. Use when the user wants to start XMLUI development, install the XMLUI CLI, configure the XMLUI MCP server for Codex, or create a new XMLUI project.
// Set up a complete XMLUI development environment. Use when the user wants to start XMLUI development, install the XMLUI CLI, configure the XMLUI MCP server for Codex, or create a new XMLUI project.
| name | xmlui-setup |
| description | Set up a complete XMLUI development environment. Use when the user wants to start XMLUI development, install the XMLUI CLI, configure the XMLUI MCP server for Codex, or create a new XMLUI project. |
Your goal is to set up a complete XMLUI development environment for the user.
Before running any script in this skill, resolve the absolute path to this skill directory and run scripts from there.
Select script family by OS:
.ps1 or .cmd scripts from scripts/.sh scripts from scripts/Recommended single entrypoint:
scripts/xmlui-setup.cmdscripts/xmlui-setup.shWork through the steps below in order.
Run preflight for the current OS:
scripts/preflight.cmd (or scripts/preflight.ps1)scripts/preflight.shIf it fails, diagnose the missing dependency and tell the user what to install.
Do not proceed until preflight passes.
Check whether xmlui is already available on PATH.
scripts/install-cli.cmd (or scripts/install-cli.ps1)scripts/install-cli.shOn Windows, if xmlui points to a blocked PowerShell shim, use xmlui.exe or xmlui.cmd for verification.
After installation, verify with:
xmlui --help
If the command is still missing, stop and report the install failure.
First check current MCP servers:
codex mcp list
If xmlui is already configured, skip to Step 4.
If not configured, add it:
codex mcp add xmlui -- xmlui mcp
If that fails on Windows, retry with:
codex mcp add xmlui -- xmlui.exe mcp
If codex is blocked by execution policy on Windows, use:
codex.cmd mcp list
codex.cmd mcp add xmlui -- xmlui.exe mcp
Verify:
codex mcp get xmlui
Ask the user whether they want a new XMLUI project.
If yes:
xmlui list-demos
xmlui-hello-world-trace).xmlui-hello-world-trace).xmlui new <template> --output <project-name>
Windows helper script:
scripts/dev-setup.cmd -Template <template> -ProjectName <project-name>
When complete, report:
xmlui was added or already present.