documentation-standards

Standardize TypeScript inline documentation with TSDoc/JSDoc conventions.

6|Updated Dec 26, 2025
One-click install
npx skills add https://github.com/crmagz/cdk-constructs-library --skill documentation-standards-crmagz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: documentation-standards
Source: https://github.com/crmagz/cdk-constructs-library/tree/main/.claude/skills/documentation-standards
Command: npx skills add https://github.com/crmagz/cdk-constructs-library --skill documentation-standards-crmagz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

JSDoc/TSDoc standards standardize how types, functions, and constructs are documented, ensuring consistent inline docs that improve readability and IDE tooltips.

Core Features & Use Cases

  • Establishes inline documentation conventions for public APIs, including visibility tags (@public, @internal, @private), one example, and concise descriptions.
  • Provides structured patterns for documenting properties, types/interfaces, and functions across TypeScript codebases.
  • Guides teams on when and where to place more detailed guides in the /docs directories, maintaining concise inline references.

Quick Start

Review and apply the documented inline TSDoc standards to your TypeScript public APIs.

Frequently Asked Questions about documentation-standards

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

FAQPage Schema
How do I standardize TSDoc inline documentation for TypeScript public APIs?

Standardize TSDoc inline documentation by applying consistent conventions for visibility tags, concise descriptions, and examples. This improves IDE tooltips and code comprehension across TypeScript codebases by enforcing structured patterns for properties, types, interfaces, and functions.

When should I use @public, @internal, and @private tags in JSDoc?

Use @public, @internal, and @private visibility tags to enforce documentation conventions for public APIs. These tags define the intended audience and stability of types, properties, and functions, ensuring developers understand what is safe to consume versus internal implementation details.

What is the best way to document TypeScript functions and interfaces for IDE tooltips?

The best way to document TypeScript functions and interfaces is using TSDoc with concise descriptions and one example. Applying these structured inline patterns ensures standardized documentation that directly improves IDE tooltips and code readability.

How do I structure TypeScript codebase documentation between inline comments and docs directories?

Structure documentation by keeping concise TSDoc inline references for properties, types, and functions, while placing detailed guides in the /docs directory. This maintains readable code while separating comprehensive documentation for broader concepts.

Can I use JSDoc standards to improve code comprehension in an existing TypeScript project?

Yes, you can apply JSDoc standards to an existing TypeScript project to improve code comprehension. Review and apply the documented inline standards to your public APIs, ensuring consistent phrasing, tag usage, and structured examples across the codebase.