to-skills
Generate AI agent skills from your TypeScript documentation.
to-skills is a plugin ecosystem that transforms your existing JSDoc, CLI definitions, and prose docs into structured SKILL.md files that LLMs can discover and use.
Why?
LLMs are great at code — but they don't know YOUR library's API, trade-offs, and pitfalls. Skills bridge that gap by extracting expert knowledge from your documentation and packaging it for agent consumption.
How It Works
- Write JSDoc with convention tags (
@useWhen,@avoidWhen,@pitfalls) - Run TypeDoc — the plugin extracts and generates skills automatically
- LLMs discover your library via the structured SKILL.md
Quick Install
bash
pnpm add -D typedoc-plugin-to-skills
pnpm typedocThat's it. Skills are written to skills/<package-name>/SKILL.md.