Skill v1.0.0
LLM-judged scan90/100version: "1.0.0" name: archestra-app description: Lint, fix or create an Archestra Owned App (single HTML file using window.archestra) with archestra-app-lint, then push it to the user's Archestra and read validate_app and get_app_diagnostics. argument-hint: "<lint|fix|new> <file.html>" disable-model-invocation: true
/mcp-use:archestra-app
Arguments: $ARGUMENTS = <mode> <file.html>. Modes: lint (read-only report; default), fix (apply fixes), new (create a file from the skeleton and lint it). This works on any HTML file in any repository; no Node project is needed. Read ${CLAUDE_PLUGIN_ROOT}/skills/host-archestra/SKILL.md and ${CLAUDE_PLUGIN_ROOT}/skills/host-archestra/references/route-b-sdk.md before writing app code. The platform's validate_app and get_app_diagnostics are the authority; the lint is a pre-flight.
lint
- Run
archestra-app-lint <file> --json(add--ui-permissions camera,…if the app'sscaffold_appcall declared any). Exit 0 clean, 1 warnings or advisories, 2 errors. - Print the findings grouped by severity with line numbers,
fix_modeand the rule's message, then the counts. Point toreferences/fix-recipes.mdfor anything not auto. - Stop. Do not edit.
fix
- Run the lint, then write its report (the engine does this on
--fix). - Tell the user which rules are
auto(AA02, AA03, AW01, AW04) and which need judgment. Ask them to commit or stash the file first;--fixrefuses a dirty tree unless--force. archestra-app-lint <file> --fix. Review the diff, in particular AW04, which assumes the private partition: change tostorage.sharedwhen every viewer should see the data.- Apply the remaining findings by hand using
references/fix-recipes.md, errors first, one logical change at a time, then warnings. Skip advisories that do not apply and say why. - Re-run the lint until a pass changes nothing. Print before and after counts per severity. Errors must be 0.
- Offer the platform step (below). Without the user's Archestra, say the file is lint-clean but not validated by the platform: UNVERIFIED.
new
- Ask what the app does and which MCP tools it should call (names as Archestra lists them,
server__tool) in one question. If tools are unknown, build the app around storage and say so. - Copy
${CLAUDE_PLUGIN_ROOT}/skills/archestra-app/assets/skeleton.htmlto the requested path (refuse to overwrite an existing file) and edit it for the task. Keep it one complete document, no network, no frames,.arch-*classes and the injected variables for styling. - Lint until clean, as in
fix.
Platform step (needs the user's Archestra)
Follow ${CLAUDE_PLUGIN_ROOT}/skills/verify/references/archestra-connect.md: ask for the Archestra URL, never install or start Archestra. Push the file (edit_app, or scaffold_app for a new app), run validate_app, open the app, then get_app_diagnostics. Compare the platform's findings with the lint's and note differences for spikes/S8.md. Reading the results: ${CLAUDE_PLUGIN_ROOT}/skills/host-archestra/references/verify-in-archestra.md.