Skip to main content
Manusで任意のスキルを実行
ワンクリックで

llui-add-structural-primitive

スター7
フォーク0
更新日2026年7月16日 22:46

Follow this exact procedure when adding a NEW structural primitive to the LLui runtime (@llui/dom) — a scope-owning, region-reconciling helper in the family of show/branch/each/virtualEach/lazy/portal/foreign/unsafeHtml. Use it whenever you're working inside packages/dom and creating a primitive that builds live nodes lazily, owns a child scope, reconciles a region between anchors, or swaps arms/rows. This is framework-internals work (NOT app code and NOT a @llui/components component); the sequence is easy to get subtly wrong — miss the context snapshot, the draining/insert order, the teardown, or an export and you ship a leak or a stale-UI bug. Load it before writing the primitive, not after.

インストール

Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。

SKILL.md
readonly