kubb-labs/fabric/jsdoc
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Guidelines for writing minimal, high-quality JSDoc comments in TypeScript.
Install
npx vskill@latest install kubb-labs/fabric/jsdocSKILL.md
JSDoc Skill
This skill provides simple, focused guidelines for writing JSDoc comments in TypeScript codebases.
When to Use
- Documenting type properties and configuration options
- Adding context that TypeScript types don't convey
- Providing usage examples for complex APIs
- Writing inline documentation for generated docs
What It Does
- Defines simple JSDoc conventions for TypeScript
- Focuses on property-level documentation with inline comments
- Uses minimal tags for maximum clarity (
@default,@example,@note) - Avoids redundant tags that duplicate TypeScript type information
- Ensures consistent documentation style across the codebase
How to Use
Write inline JSDoc comments directly above properties, focusing on what the option does rather than repeating type information.
Basic Structure
Common Tags
Use Frequently
| Tag | Purpose | Example | |
|---|---|---|---|
@default | Default value | @default 'dist' | |
@example | Usage example | @example serverIndex: 0 | |
@note | Important caveat | @note May change in v2 | |
@deprecated | Mark as deprecated | @deprecated Use newOption instead |
Use Sparingly
| Tag | Purpose | Example | |
|---|---|---|---|
@see | Reference docs | @see https://example.com/docs | |
@internal | Internal API | @internal | |
@beta | Experimental | @beta |
Avoid (TypeScript Provides)
- ❌
@param- Use TypeScript parameters - ❌
@returns- Use TypeScript return type - ❌
@type- Use TypeScript type annotation - ❌
@typedef- Usetypeorinterface
Documentation Patterns
Simple Property
Property with Default
Enum with Options
Property with Example
Nested Properties
Function Documentation
Only add JSDoc when it adds value beyond the signature:
Guidelines
✅ DO:
- Document what the property does, not the type
- Include
@defaultfor default values - Add
@examplefor complex or non-obvious usage - Use
@notefor version info or important caveats - Keep descriptions concise and focused
❌ DON'T:
- Use
@paramor@returnstags - Repeat information from TypeScript types
- Over-document simple, self-explanatory properties
- Write redundant descriptions
Tag Order
For consistency, use this tag order:
- Description (required)
@default(if applicable)@example(if helpful)@note(if needed)@deprecated(if applicable)@see(if providing references)
Related Skills
| Skill | Use For | |
|---|---|---|
| [../documentation/SKILL.md](../documentation/SKILL.md) | Writing markdown documentation files | |
| [../coding-style/SKILL.md](../coding-style/SKILL.md) | General coding conventions |
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.skills/jsdoc/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/kubb-labs/fabric/jsdoc)