What problem does it solve?
This Skill prevents broken or inconsistent UI behavior by teaching you how to wire HTML extensions, JS hook seams, and component loading through Prime-Silo’s layered module system.
Core Features & Use Cases
- HTML extension seams and component resolution: Define
<x-extension id="..."> seams and mount real content via <x-component path="...">, letting the runtime resolve ext/html/ automatically with correct layering/overrides.
- JS hook seams and lifecycle wrapping: Implement behavioral seams using
space.extend(import.meta, async function ...) and rely on /start and /end hook resolution around the wrapped function.
- Context tagging for skill discovery: Use
<x-context data-runtime=...> and data-tags so shared skill discovery can accurately catalog and load skill contexts.
- Layered override semantics: Understand how L0 → L1 → L2 inheritance works, including identical-path overrides, composition rules,
maxLayer constraints, and extension load batching behavior.
Quick Start
Add a new extension seam with <x-extension id="some/path"> in the owning module’s HTML and mount your feature with <x-component path="/mod/..."> so the runtime can discover and hydrate it with proper layered overrides.