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.

modem-dev Updated

File contents

modem-dev/ossrules/tree/main/public/files/astro/.agents/skills/writing-comments commit fd99effea5

Frequently asked questions

npx skillmds@latest add modem-dev/writing-comments