writing-comments
How to write JSDoc (/** */) and inline (//) comments in the Astro codebase, for contributors reading the source — not end users. Use whenever writing or editing comments in .ts/.js source, including comments added incidentally while fixing bugs or building features. Does not cover the @docs-generated config/error reference.
· 实时索引
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
想先保存到本地?可下载 RuleHub 当前索引到的 GitHub 仓库压缩包。
下载 Zip| name | writing-comments |
| description | How to write JSDoc (/** */) and inline (//) comments in the Astro codebase, for contributors reading the source — not en... |
writing-comments
How to write JSDoc (/** */) and inline (//) comments in the Astro codebase, for contributors reading the source — not end users. Use whenever writing or editing comments in .ts/.js source, including comments added incidentally while fixing bugs or building features. Does not cover the @docs-generated config/error reference.
When to use
Use this skill when the user needs help with tasks related to writing comments.
Guidelines
- Follow repository conventions in
withastro/astro - Prefer minimal, focused changes
- Validate outputs before finishing