doc-component
Installation
SKILL.md
Document Svelte Component
ALWAYS respect
frontend:editingskill rules.
Write a <!-- @component --> JSDoc comment block at the top of a .svelte file. The comment is processed by svelte2tsx into a JSDoc block on the component class, IDE hover tooltips render it directly.
Process
- Read the component file: understand what it does, its props, its reactive dependencies, its key functions.
- Read direct dependencies: imports, models, utilities, to understand the full interface.
- Write the
@componentblock: structured, tab-indented, at the very top of the file (before<script>).
Format
<!--
@component
One-line summary of what this component does.