← Commit history

Publish 0.8.14

Colby Knox ·af9be68ade ·1mo ago ·parent 4c92ef3
4 files changed +37−7
package.json+2−2
@@ -1,7 +1,7 @@ {   "slug": "adom-wiki-skillpack",   "title": "Adom Wiki Skill Pack",-  "version": "0.8.13",+  "version": "0.8.14",   "type": "skill",   "hero": {     "path": "screenshots/hero.png"@@ -151,4 +151,4 @@     }   ],   "discovery_pitch": "Anything touching wiki.adom.inc: publishing, page archetypes, readmes, heroes, discovery, and the wiki-bloat rule (find where a thing already lives before creating any page)."-}+}\ No newline at end of file
page.json+11−4
@@ -105,9 +105,16 @@     "coarse-first board viewer",     "3D board GPU memory freeze",     "reviewed chip artwork in assembled board",+    "hero GLB versus board LOD",+    "footprint or silkscreen baked into high LOD",+    "image-first component LOD previews",     "shared workspace",+    "project workspace",     "hydrogen/workspace.json",-    "workspace apply"+    "workspace apply",+    "workspace export",+    "ship my hydrogen layout",+    "open in hydrogen"   ],   "discovery_pitch": "Anything touching wiki.adom.inc: publishing, page archetypes, readmes, heroes, discovery, and the wiki-bloat rule (find where a thing already lives before creating any page).",   "sample_prompts": [@@ -124,8 +131,8 @@       "prompt": "Before I create this wiki page, check whether the thing already has a home."     }   ],-  "version": "0.8.13",-  "description": "The Adom Wiki Skill Pack : one main skill plus the focused sub-skills that teach the AI to publish to wiki.adom.inc without breaking pages, name the wiki repo archetypes (Page, Skillpack, Family), and publish rich component pages (chips, molecules, boards). The wiki is six tools in one: git, package manager, releases, discussions, pull requests, and discovery. One package manager install drops the whole set onto your container.",+  "version": "0.8.14",+  "description": "The Adom Wiki Skill Pack : one main skill plus the focused sub-skills that teach the AI to publish to wiki.adom.inc without breaking pages, name the wiki repo archetypes (Page, Skillpack, Family), and publish rich component pages (chips, molecules, boards). The wiki is six tools in one: git, package manager, releases, discussions, pull requests, and discovery. One package manager install drops the whole set onto your container. Includes reviewed Z-up component artwork, surface-selected MPN marking, reusable thumbnail caches and component-page widgets.",   "dependencies": {     "adom/adom-wiki-hero-image": "^0.2.2",     "adom/component-widgets": "^1.1.12"@@ -187,4 +194,4 @@     "email": "[email protected]"   },   "org": "adom"-}+}\ No newline at end of file
skills/wiki-readme/SKILL.md+17−1
@@ -176,10 +176,26 @@ Video, local file from the repo (the blob endpoint supports Range, so seeking works), or YouTube via `youtube-nocookie.com`, or Vimeo:  ```html-<video width="100%" controls poster="/blob/app/<slug>/screenshots/hero.png">+<video width="1080" controls poster="/blob/app/<slug>/screenshots/hero.png">   <source src="/blob/app/<slug>/demo/walkthrough.webm" type="video/webm"></video> ``` +Video rules the sanitizer forces on you:++- **A video needs a numeric `width` attribute** (`width="1080"`, not a+  percentage): the sanitizer keeps `controls` / `preload` / `poster` / `src` /+  `width` but strips `style`, and the markdown stylesheet constrains `img` but+  not `video`, so an unsized video renders at its intrinsic width and runs off+  the column (adom/wiki#205 tracks a CSS rule).+- The repo-root path rule applies to video `src` and `poster` exactly like+  images: write the full path from the page root, even (especially) from a+  README inside a folder (`project-workspaces/README.md` must write+  `project-workspaces/demo.mp4`, never `demo.mp4`).+- Verify the rendered page after pushing, same as images.++The full record-and-publish checklist lives in the `demo-video-publishing`+skill (adom/demo-authoring-skillpack).+ ## Known rendering pitfalls  - Inline images can 404 on `<img>` HEAD preflight (a wiki bug) even though the
skills/wiki-sub-readme/SKILL.md+7
@@ -104,6 +104,13 @@ written** (it does NOT resolve relative to the doc's own folder). So from `docs/ **Reference images by their repo-root-relative path, `docs/img/x.png`, and commit the image at that path.** Then push both the doc and the image with `repo push`. +The same rule covers **video `src` and `poster`**: a README inside a folder writes the full path+from the page root (`project-workspaces/README.md` must write `project-workspaces/demo.mp4`, never+`demo.mp4`). And a video needs a **numeric `width` attribute** (`width="1080"`): the sanitizer+strips `style` and the stylesheet constrains `img` but not `video`, so an unsized video renders at+its intrinsic width and runs off the column. Full checklist: the `demo-video-publishing` skill+(adom/demo-authoring-skillpack).+ ## VERIFY BY LOOKING, not by curling  The meta-lesson behind every gotcha above: the wiki renders through a client SPA that rewrites links