patricio0312rev avatar

Jsdoc Typescript Docs

Good JSDoc hygiene is one of those things you know you should do but never quite get around to standardizing. This skill handles the boilerplate: documenting functions with proper param and return tags, adding examples to interfaces and classes, covering async functions with throws annotations, and even dealing with generics and overloads correctly. The patterns here are solid, including the Result type pattern and the factory method documentation. Useful if you're setting up TypeDoc generation or just want your team to stop writing three word comments above complex functions.

skills.sh installs
564
GitHub stars
63
last updated
Aug 21, 2026

Install

$ npx -y skills add patricio0312rev/skills --skill jsdoc-typescript-docs --agent claude-code

Installs into .claude/skills of the current project.

Files

JSDoc TypeScript Documentation

Create comprehensive inline documentation for TypeScript codebases.

Core Workflow

  1. Document functions: Parameters, returns, examples
  2. Document types: Interfaces, types, enums
  3. Add descriptions: Purpose and usage
  4. Include examples: Code samples
  5. Generate docs: TypeDoc output
  6. Integrate CI: Automated doc generation

Function Documentation

Basic Function

/**
 * Calculates the total price including tax.
 *
 * @param price - The base price before tax
 * @param taxRate - The tax rate as a decimal (e.g., 0.08 for 8%)
 * @returns The total price including tax
 *
 * @example
 * ```typescript
 * const total = calculateTotal(100, 0.08);
 * console.log(total); // 108
 * ```
 */
export function calculateTotal(price: number, taxRate: number): number {
  return price * (1 + taxRate);
}

Async Function

Sponsors

Details

Repository
github.com/patricio0312rev/skills
Categories
Backend & APIs, Documentation
First seen
Jun 3, 2026

More from patricio0312rev/skills

All 138
1supermemoryai avatarsupermemorysupermemoryai/supermemorySupermemory is a state-of-the-art memory and context infrastructure for AI agents. Use this skill when building applications that need persistent memory, user p564skills.sh installs
2kesslerio avataracademic-deep-researchkesslerio/academic-deep-research-clawhub-skillTransparent, rigorous research with full methodology — not a black-box API wrapper. Conducts exhaustive investigation through mandated 2-cycle research per them560skills.sh installs
3hkuds avatarcli-anything-n8nhkuds/cli-anythingCommand-line interface for n8n workflow automation platform. Manages workflows, executions, credentials, variables, and tags. Based on n8n Public API v1.1.1 (n8559skills.sh installs
4andreadellacorte avatargroove-utilities-memory-doctorandreadellacorte/grooveCheck memory backend health and configuration.554skills.sh installs
5get-convex avatarschema-builderget-convex/agent-skillsDesign and generate Convex database schemas with proper validation, indexes, and relationships. Use when creating schema.ts or modifying table definitions.554skills.sh installs
6wanshuiyin avatarrun-experimentwanshuiyin/auto-claude-code-research-in-sleepDeploy and run ML experiments on local, remote, Vast.ai, or Modal serverless GPU. Use when user says "run experiment", "deploy to server", "跑实验", or needs to la554skills.sh installs