diff --git a/.changeset/lazy-sheets-align.md b/.changeset/lazy-sheets-align.md new file mode 100644 index 000000000..fae2220bf --- /dev/null +++ b/.changeset/lazy-sheets-align.md @@ -0,0 +1,5 @@ +--- +'@vapor-ui/core': patch +--- + +declare `Sheet.Root` and `Sheet.ResizeHandle` props as type aliases so the docs extractor picks them up diff --git a/.claude/skills/write-component-jsdocs/SKILL.md b/.claude/skills/write-component-jsdocs/SKILL.md index 1f7ee9c63..d96cea521 100644 --- a/.claude/skills/write-component-jsdocs/SKILL.md +++ b/.claude/skills/write-component-jsdocs/SKILL.md @@ -39,9 +39,12 @@ Placement depends on the component pattern. See [references/guide.md](references ## Component summary rules 1. One single line — no line breaks inside the summary -2. User perspective: what it is → when to use it +2. Pattern by role: + - **Top-level**: `"A [noun] for/that [purpose]. Renders a \`\` element."` + - **Sub-component**: `"A/An [noun] that [role]. Renders a \`\` element."` + - **Root/wrapper (no HTML)**: `"Groups/Assembles [parts]. Doesn't render its own HTML element."` 3. No internal terms (`memoized`, `wrapper`, `token-based`, etc.) -4. End with the rendered HTML element using backticks around the tag: "Renders a `