Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Code documentation: JSDoc, docstrings and comments v1.0.0

Use this resource to document functions, classes and modules in the code

New

  • 566 downloads
  • 221 likes
  • 177 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install code-documentation-docstrings

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent adds function, class and module comments to your code following the language standard (JSDoc for JavaScript and TypeScript, docstrings for Python), with usage examples and type definitions. It only documents what needs it.

Mostly picked by

Updated November 2, 2026

Card for the “Code documentation: JSDoc, docstrings and comments” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • SKILL.md: writing rules and consistency checks
  • references/: templates for function, class, module and type documentation
  • templates/doc-template.md: documentation template

Good fit for

  • Your codebase lacks documentation and the team is getting lost in it
  • You want consistent docstrings before generating an API reference

Not for

    Tags

    • documentation
    • jsdoc
    • docstrings
    • code

    About

    You say

    “Document the functions of the payment module in JSDoc, with a usage example for each.”

    Card for the “Code documentation: JSDoc, docstrings and comments” skill

    Skill published by aj-geddes under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to document functions, classes and modules in the code
    3. Review and adjust the result

    Content preview

    Files

    • LICENSE1.1 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • references/class-documentation-2.md2.6 KB
    • references/class-documentation.md2.6 KB
    • references/function-documentation-2.md1.9 KB
    • references/function-documentation.md1.9 KB
    • references/module-documentation.md1.4 KB
    • references/type-definitions.md1.1 KB
    • SKILL.md3.1 KB
    • templates/doc-template.md0.4 KB

    Origin and licence

    Listed unmodified

    Author
    aj-geddes
    Source
    github.com/aj-geddes/useful-ai-prompts/tree/3f5182cfd739fc113f4af5244a1cf342ad7f7911/skills/code-documentation
    Licence
    MIT

    Notice

    « code-documentation » (aj-geddes, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.