doc-generator

Generate and update technical documentation files by analyzing the codebase.

Updated Feb 19, 2026
One-click install
npx skills add https://github.com/sustinbebustin/.dotfiles --skill doc-generator-sustinbebustin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: doc-generator
Source: https://github.com/sustinbebustin/.dotfiles/tree/main/home/.claude/skills/doc-generator
Command: npx skills add https://github.com/sustinbebustin/.dotfiles --skill doc-generator-sustinbebustin

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the creation and updating of essential technical documentation, ensuring your codebase is well-documented and easy to understand.

Core Features & Use Cases

  • Automated Documentation Generation: Creates or updates README.md, api.md, auth.md, architecture.md, and database.md files.
  • Codebase Analysis: Analyzes your code to extract relevant information for documentation.
  • Use Case: After adding a new API endpoint, use this Skill to automatically update the docs/api.md file with the new endpoint's details, request/response formats, and authentication requirements.

Quick Start

Use the doc-generator skill to create a README.md file for this project.

Frequently Asked Questions about doc-generator

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

FAQPage Schema
How do I generate technical documentation from my codebase?

To generate technical documentation from your codebase, this Skill analyzes your source code and utilizes provided templates to draft files like README.md, api.md, and architecture.md. It prioritizes discovering existing docs and updates them rather than creating new files.

What is the best way to update an existing README.md and api.md after adding new endpoints?

The best way to update existing README.md and api.md files after adding new endpoints is using this Skill, which performs semantic search to locate relevant context within your codebase. It then updates the documentation with new endpoint details, request formats, and authentication requirements.

Can I use this to generate inline code comments and general writing tasks?

No, you cannot use this to generate inline code comments or general writing tasks. This Skill is invoked specifically when users request the creation, update, or audit of technical documentation files like database.md and auth.md, and is not intended for general writing or inline documentation.

Does this documentation generator work without providing templates?

No, this documentation generator utilizes provided templates to draft content after analyzing your codebase. It relies on these templates alongside semantic search to locate relevant context before creating or updating files like architecture.md.

When should I not use an automated codebase analysis tool for documentation?

You should not use an automated codebase analysis tool for documentation when you need inline code comments, general writing tasks, or formatting outside of README.md, api.md, auth.md, architecture.md, and database.md. It is strictly for auditing and updating these specific technical docs.