← Commit history

mandate: every app SKILL.md carries the display section (webview, never Simple Browser)

John Lauer ·0fff58a31f · ·parent 977c663
2 files changed +22−2
SKILL.md+20
@@ -12,3 +12,23 @@ THIS skill owns CREATING the app: scaffolding, project layout, the server + webv first commit. `ai-driven-apps` (bundled in adom/adom-ui-design) owns everything after: showing the app, driving its front-end over the live channel, and ralph-testing the UI. Add build/scaffold content here; add drive/verify/test content there.++## The app's SKILL.md must include a display section (REQUIRED)++Every app you scaffold ships a SKILL.md, and that skill MUST contain this section (fill in+the app's own show verb):++```markdown+## Displaying this app (REQUIRED — read before showing anything)++To SHOW this app, use `<app> show` (it opens the proper Hydrogen webview tab itself). For+manual display, FIRST load the `webview` skill (adom-workspace-control) and follow it.+- **NEVER open this app in VS Code's "Simple Browser"** — not a webview in the Adom+  ecosystem: no live channel, no console read-back, no AI drivability. Using it is a bug.+- Default surface: a **Hydrogen webview panel**. Logged-out canvas: `pup` skill. The+  user's real signed-in browser: the Adom browser extension.+```++Why in every app skill: trigger-word discovery of the webview skill is probabilistic, but+the app's own skill IS reliably loaded when the app is named — so the display rules ride it.+See `ai-driven-apps` (adom/adom-ui-design) for the full surface table and mandate.
package.json+2−2
@@ -1,6 +1,6 @@ {   "slug": "app-creator",-  "version": "1.0.0",+  "version": "1.0.1",   "type": "skill",   "description": "Use when the user wants to build a new Adom \"app\", a mini web server that renders its UI in a Hydrogen webview tab.",   "dependencies": {},@@ -8,4 +8,4 @@     "install": "./install.sh",     "uninstall": "./uninstall.sh"   }-}+}\ No newline at end of file