doc-generation

Generate JSDoc, docstrings, README files, and API references from JavaScript/TypeScript and Python codebases.

7|3|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/brainbrewlabs/brainbrew-devkit --skill doc-generation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: doc-generation
Source: https://github.com/brainbrewlabs/brainbrew-devkit/tree/main/plugin/config/templates/docs/skills/doc-generation
Command: npx skills add https://github.com/brainbrewlabs/brainbrew-devkit --skill doc-generation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generate up-to-date documentation by analyzing source code and producing JSDoc/docstrings, README files, and API references.

Core Features & Use Cases

  • Automatically extract inline documentation from codebases and synthesize comprehensive docs.
  • Create and update JSDoc/docstrings, README files, and API references across languages (JS/TS and Python) from a single analysis pass.
  • Use in pipelines to keep project documentation in sync with code changes and for onboarding new contributors.

Quick Start

Instruct the agent to analyze the codebase and generate JSDoc, docstrings, and README documentation accordingly.

Frequently Asked Questions about doc-generation

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

FAQPage Schema
How do I automatically generate JSDoc and docstrings from source code?

You can generate JSDoc and docstrings by analyzing source code to identify undocumented exports and synthesize inline documentation automatically. This process inspects JavaScript, TypeScript, or Python files to extract code structure and produce standardized docstrings across the project.

What is the best way to keep README files and API references in sync with code changes?

The best way to keep README files and API references in sync is automating documentation generation from source code analysis. By running this process in your pipeline, documentation artifacts are updated continuously to match code changes without manual intervention.

Does automated documentation generation work for both Python and JavaScript codebases?

Yes, automated documentation generation works for both Python and JavaScript codebases. A single analysis pass can extract inline documentation and synthesize comprehensive docs, producing JSDoc for JS/TS projects and docstrings for Python projects simultaneously.

How to identify undocumented exports during code analysis?

To identify undocumented exports during code analysis, the system reads and inspects your codebase files to find exported functions or classes missing inline documentation. It then generates consistent documentation artifacts to fill these specific gaps.

Can I use code analysis to produce API references when documentation is missing or outdated?

Yes, you can use code analysis to produce API references when documentation is missing or outdated. The tool inspects the source code structure and synthesizes comprehensive API references, ensuring undocumented or stale code is updated automatically.