Skip to content
Back to skills

Jsdoc

ASecurity

Writes or reviews TypeScript JSDoc comments with the house format, tags, ordering, and @example styles. Use when adding or checking doc comments on exports, options, or public APIs, or when asked to document a TypeScript file.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 6, 2026
ai-agentstypescriptapi

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 17, 2026

npx -y skills add stijnvanhulle/agents --skill jsdoc --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Jsdoc?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Jsdoc
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/stijnvanhulle-jsdoc/badge)](https://www.skillsdirectory.com/skills/stijnvanhulle-jsdoc)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: jsdoc
description: Writes or reviews TypeScript JSDoc comments with the house format, tags, ordering, and @example styles. Use when adding or checking doc comments on exports, options, or public APIs, or when asked to document a TypeScript file.
---

# JSDoc

Write doc comments that say what a member does, in a shape TypeScript does not already give.

## 1. Decide whether a member needs one

Comment an exported type, property, or function only when the comment adds what the name and
signature do not. Skip the ones whose name says it all.

## 2. Write the description

Say what the member does, not its type, in full sentences. Always use a multi-line `/** ... */`
block with the description on its own line, and expand any one-line block. For a default, an enum,
nested properties, or a function, follow the pattern in
[references/examples.md](references/examples.md).

## 3. Add tags, in this order

1. Description
2. A bullet list of variants or behaviors, if any
3. `@default`, only for a non-obvious default. Never `@default false`, and never
   `@default undefined`, which `?` already implies
4. `@example`, one concern per example, for complex or multi-variant APIs
5. `@note`, for a caveat such as version info or a breaking change
6. `@deprecated`, with the migration path
7. `@see`. Use `@internal` and `@beta` sparingly

Never `@param`, `@returns`, `@type`, or `@typedef`: they repeat the signature. Put that
information in the type itself.

## Output

The doc comments in the file, or one line saying nothing needed one. For a review: one bullet per
member, its name and what is missing or wrong.

Files in this skill

  • SKILL.md1.6 KB
  • references/examples.md2.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.