ts-docstring

Standardize TypeScript API documentation with TSDoc conventions for functions, classes, interfaces, and types.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/LounisBou/claude-code --skill ts-docstring
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ts-docstring
Source: https://github.com/LounisBou/claude-code/tree/main/skills-available/ts/ts-docstring
Command: npx skills add https://github.com/LounisBou/claude-code --skill ts-docstring

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

TypeScript projects often lack consistent, machine-readable API documentation. This Skill provides a standardized approach using TSDoc conventions to improve clarity, searchability, and maintainability of TS docs across modules.

Core Features & Use Cases

  • Enforces tsdoc.org-compliant documentation for functions, classes, interfaces, and types.
  • Helps teams generate API docs with tools like TypeDoc and API Extractor, ensuring consistent tagging and structure.
  • Use cases include documenting public APIs, complex generics, and module interfaces to improve onboarding and collaboration.

Quick Start

Create a TSDoc comment for a representative function and run your documentation tool to generate docs.

Frequently Asked Questions about ts-docstring

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I standardize TypeScript documentation across my project?

Standardize TypeScript documentation by applying TSDoc conventions to functions, classes, interfaces, and types. This enforces consistent tagging and structure, ensuring your API docs are clear, machine-readable, and maintainable across modules.

What is TSDoc and when do I need it for TypeScript API docs?

TSDoc is a set of conventions for standardizing TypeScript API documentation. You need it when generating machine-readable docs with tools like TypeDoc and API Extractor, ensuring consistent tagging and structure across your project.

How do I generate API docs with TypeDoc and API Extractor workflows?

Generate API docs by applying TSDoc conventions to your TypeScript code and running TypeDoc or API Extractor. This workflow ensures consistent tagging and clear documentation for public APIs, complex generics, and module interfaces.

Does this documentation standardization approach work with complex TypeScript generics?

This standardization approach works with complex TypeScript generics by enforcing TSDoc conventions. It helps document public APIs, complex generics, and module interfaces to improve onboarding and collaboration across your team.

Why do my TypeScript project docs lack consistent tagging and structure?

TypeScript project docs lack consistent tagging because they often do not follow standardized TSDoc conventions. Applying TSDoc guidelines aligns your documentation with tsdoc.org standards, improving searchability and maintainability.

Can I use ts-docstring to enforce frontmatter-driven discovery for TypeScript modules?

You can use this Skill to enforce frontmatter-driven discovery for TypeScript modules. It standardizes API documentation using TSDoc conventions, applying consistent tags and structure across functions, classes, interfaces, and types.