Docs Generator logo

Docs Generator

Organization
TSS-Blue-AI-Lab
docs-generator

Auto-generate documentation from code. Creates READMEs, API docs, and architecture overviews. Use when: a project lacks documentation, onboarding new team members, or preparing code for open source.

Overview

PublisherTSS-Blue-AI-Lab
Repositoryai-lab-agent-skills
Skill namedocs-generator
Stars
26
Forks
3
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by TSS-Blue-AI-Lab on GitHub. Read the source before you install it.

Installation

Install the Docs Generator AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/TSS-Blue-AI-Lab/ai-lab-agent-skills/tree/main/skills/docs-generator
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/TSS-Blue-AI-Lab/ai-lab-agent-skills.git /tmp/ai-lab-agent-skills
mkdir -p .claude/skills
cp -r /tmp/ai-lab-agent-skills/skills/docs-generator .claude/skills/docs-generator
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Docs Generator in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Docs Generator on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Docs Generator is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Docs Generator

Generate clear, useful documentation from existing code.

When to Use

  • Project has no README or outdated docs
  • Onboarding new team members
  • Preparing a repo for open source
  • Documenting an API for consumers
  • Creating architecture overviews

How It Works

1. README.md

Every project needs a README with these sections:

markdown
# Project Name

One-line description of what this project does.

## Quick Start

\`\`\`bash
# Install
npm install

# Run locally
npm run dev

# Run tests
npm test
\`\`\`

## Project Structure

\`\`\`
src/
├── app/          # Pages and routes
├── components/   # UI components
├── lib/          # Utilities and helpers
└── types/        # TypeScript types
\`\`\`

## Environment Variables

| Variable | Description | Required |
|----------|-------------|----------|
| `DATABASE_URL` | PostgreSQL connection string | Yes |
| `NEXTAUTH_SECRET` | Auth encryption key | Yes |

## API Endpoints

| Method | Path | Description |
|--------|------|-------------|
| GET | `/api/users` | List all users |
| POST | `/api/users` | Create a user |

## Contributing

1. Fork the repo
2. Create a feature branch
3. Submit a pull request

2. API Documentation

For each endpoint, document:

markdown
### POST /api/users

Create a new user account.

**Request:**
\`\`\`json
{
  "email": "alice@example.com",
  "name": "Alice",
  "role": "user"
}
\`\`\`

**Response (201):**
\`\`\`json
{
  "data": {
    "id": "clx123",
    "email": "alice@example.com",
    "name": "Alice",
    "createdAt": "2024-01-15T10:00:00Z"
  }
}
\`\`\`

**Errors:**
| Status | Code | Description |
|--------|------|-------------|
| 400 | VALIDATION_ERROR | Invalid input |
| 409 | DUPLICATE_EMAIL | Email already exists |

3. Code Comments

Add JSDoc only where the code isn't self-explanatory:

typescript
// DON'T document the obvious
/** Gets the user name */  // ❌ unnecessary
function getUserName() {}

// DO document non-obvious behavior
/**
 * Calculates shipping cost with regional multipliers.
 * Free shipping for orders over $100 in the US.
 * International orders have a 2.5x base rate multiplier.
 */
function calculateShipping(order: Order, region: Region): number {}

4. Architecture Docs

For complex projects, create a brief architecture overview:

markdown
## Architecture

### Data Flow
User → Next.js Page → API Route → Service Layer → Prisma → PostgreSQL

### Key Decisions
- **Next.js App Router** for server components and streaming
- **Prisma** for type-safe database access
- **Zod** for runtime validation at API boundaries
- **NextAuth** for session-based authentication

Process

1. Read the codebase structure (package.json, src/, key files)
2. Identify the tech stack and frameworks
3. Map the project structure
4. Document setup steps (verified by reading scripts)
5. List API endpoints (from route files)
6. Add environment variable docs (from .env.example)
7. Write it in clear, scannable markdown

Examples

> Generate a README for this project
> Document all API endpoints with request/response examples
> Create an architecture overview of this codebase

Frequently asked questions

What does the Docs Generator AI skill do?

Auto-generate documentation from code. Creates READMEs, API docs, and architecture overviews. Use when: a project lacks documentation, onboarding new team members, or preparing code for open source.

Why use Docs Generator on TypingMind?

Because you install it once and use it with any model. Docs Generator is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Docs Generator in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/TSS-Blue-AI-Lab/ai-lab-agent-skills/tree/main/skills/docs-generator. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Docs Generator?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Docs Generator?

As many as you like. As long as a model supports skills, you can use Docs Generator with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Docs Generator AI skill free?

It is published on GitHub by TSS-Blue-AI-Lab. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇