Document Code

Write and improve code documentation. Use whenever asked to document code, add comments, write a doc comment, annotate a function, document a package, explain a file's purpose, or clean up unclear or outdated comments — however phrased ("doc this"). Applies to Go, Bash/shell, YAML, Svelte, SQL, TypeScript, and other source or config files. Invoke before writing any documentation, even for one function.

a-novel-kit ebafd5f 28.9 KB Updated

File contents

a-novel-kit/stack/tree/main/.agents/skills/document-code commit ebafd5fd1f

Frequently asked questions

npx skillmds@latest add a-novel-kit/document-code