Docflow
A TypeScript-first documentation generator from JSDoc comments
Install / Use
/learn @toss/DocflowREADME
Docflow ·

English | 한국어
Docflow is a TypeScript-first documentation generator that automatically creates API documentation from JSDoc comments.
- Docflow automatically generates comprehensive documentation from JSDoc comments, supporting essential tags like
@public,@category, and@example. - Designed with AI integration in mind, Docflow can generate complete JSDoc comments for your functions with a single
@generatetag. - Docflow provides accurate TypeScript type extraction, ensuring your documentation always matches your actual code signatures.
- Docflow includes a powerful plugin system, allowing you to generate documentation for VitePress, Docusaurus, Nextra, and more.
Examples
import { createCalculator } from "@toss/utils";
/**
* @public
* @category Math
* Creates a calculator instance with the given initial value
* @param initialValue - The starting value for calculations
* @returns A calculator object with calculation methods
* @example
* const calc = createCalculator(10);
* calc.add(5).multiply(2).getValue(); // 30
*/
export function createCalculator(initialValue: number) {
return {
add: (n: number) => createCalculator(initialValue + n),
multiply: (n: number) => createCalculator(initialValue * n),
getValue: () => initialValue,
};
}
With just docflow build, this becomes a beautiful documentation page with examples, type information, and more.
Contributing
We welcome contribution from everyone in the community. Read below for detailed contribution guide.
License
MIT © Toss. See LICENSE for details.
<a title="Toss" href="https://toss.im"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://static.toss.im/logos/png/4x/logo-toss-reverse.png"> <img alt="Toss" src="https://static.toss.im/logos/png/4x/logo-toss.png" width="100"> </picture> </a>Related Skills
node-connect
341.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
prose
341.8kOpenProse VM skill pack. Activate on any `prose` command, .prose files, or OpenProse mentions; orchestrates multi-agent workflows.
frontend-design
84.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
Writing Hookify Rules
84.6kThis skill should be used when the user asks to "create a hookify rule", "write a hook rule", "configure hookify", "add a hookify rule", or needs guidance on hookify rule syntax and patterns.
