home / skills / ehtbanton / claudeskillsrepo / jsdoc-template-generator
This skill generates a valid jsdoc.config.json and documentation templates for TypeScript projects, instantly scaffolding configuration and templates.
npx playbooks add skill ehtbanton/claudeskillsrepo --skill jsdoc-template-generatorReview the files below or copy the command above to add this skill to your agents.
---
name: jsdoc-template-generator
description: Generate JSDoc configuration and documentation templates for JavaScript/TypeScript projects. Triggers on "create jsdoc config", "generate jsdoc template", "documentation setup", "jsdoc configuration".
---
# JSDoc Template Generator
Generate JSDoc configuration and documentation templates.
## Output Requirements
**File Output:** `jsdoc.config.json`, documentation templates
**Format:** Valid JSDoc configuration
**Standards:** JSDoc 4.x
## When Invoked
Immediately generate JSDoc configuration with appropriate templates.
## Example Invocations
**Prompt:** "Create JSDoc config for TypeScript library"
**Output:** Complete `jsdoc.config.json` with theme and plugins.
This skill generates ready-to-use JSDoc configuration files and documentation templates for JavaScript and TypeScript projects. It produces a valid jsdoc.config.json tailored to your project type and sample template files to jump-start your docs. The generated output targets JSDoc 4.x and includes sensible defaults for themes and common plugins.
On trigger phrases like "create jsdoc config" or "generate jsdoc template", the skill creates a complete jsdoc.config.json plus example templates for README, module, and class documentation. It detects whether your project is JavaScript or TypeScript and adjusts settings (source include patterns, TypeScript plugin options, and templating paths). The output is immediately usable: drop the config into your repo and run the JSDoc CLI or integrate with an npm script.
Will the generated config work with TypeScript projects?
Yes. The skill configures the TypeScript plugin and appropriate file patterns so JSDoc can process .ts/.tsx sources.
Which JSDoc version does this target?
Generated configurations target JSDoc 4.x and include compatible plugin and templating options.