Docs Generator logo

Docs Generator

Community
ulises-jeremias
docs-generator

WHAT — Generate or update documentation from code: README.md from repo structure, CHANGELOG.md from git history, API reference from OpenAPI/GraphQL schemas, and AGENTS.md starters for new projects.

Overview

Publisherulises-jeremias
Repositoryagent-toolkit
Skill namedocs-generator
Stars
20
Forks
5
Bundled files
Instructions only
LicenseMIT
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 ulises-jeremias 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/ulises-jeremias/agent-toolkit/tree/main/plugins/agent-toolkit-complete/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/ulises-jeremias/agent-toolkit.git /tmp/agent-toolkit
mkdir -p .claude/skills
cp -r /tmp/agent-toolkit/plugins/agent-toolkit-complete/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 (WHAT)

Generate or refresh documentation from the actual code, schema, and git history. Never invent — always derive from evidence in the repo.

When to use

  • README is missing, stale, or doesn't reflect the current stack
  • CHANGELOG needs to be generated from merged PRs or git log
  • API spec (OpenAPI/GraphQL) exists but human-readable docs don't
  • New repo needs an AGENTS.md to onboard AI assistants

Out of scope

  • Does NOT write code — documentation only
  • Does NOT commit or push — delegate to github-cli-workflow
  • Does NOT update external systems (Confluence, Notion) — use their respective skills

Workflow

README.md generation

  1. Inspect repo: package.json / pyproject.toml / Cargo.toml for name, description, stack
  2. Read Makefile / justfile / package.json scripts for commands
  3. Read .github/workflows/ for CI structure
  4. Draft README with: Purpose, Stack, Prerequisites, Quick Start, Development, Testing, Contributing
  5. Apply output-handshake before writing

CHANGELOG.md generation

bash
# Conventional commits format
git log --oneline --no-merges --pretty="format:%h %s" $(git describe --tags --abbrev=0)..HEAD

# Group by type: feat / fix / docs / chore / refactor / perf / test
# Format: ## [Unreleased] with subsections per type

Draft changelog section and ask user to confirm version before finalizing.

API reference generation

  • OpenAPI spec → readable endpoint table with params, responses, auth
  • GraphQL schema → type reference with fields and descriptions
  • Always note the spec version and date in the generated doc

AGENTS.md starter

Use the template from ~/.local/share//skills-catalog.yaml patterns:

  • Purpose and stack
  • Repository inspection order
  • What AI assistants may and must not do
  • Key commands (build, test, lint)
  • Links to key docs

Inline Documentation (why, not what) — per addyosmani/agent-skills documentation-and-adrs 2026-08-12 diff docs/research/diff-394-documentation-and-adrs.md

Comment the why, not the what:

typescript
// BAD: Restates the code
// Increment counter by 1
counter += 1;

// GOOD: Explains non-obvious intent
// Rate limit uses a sliding window — reset counter at window boundary,
// not on a fixed schedule, to prevent burst attacks at window edges
if (now - windowStart > WINDOW_SIZE_MS) {
  counter = 0;
  windowStart = now;
}
  • When NOT to comment: self-explanatory code (calculateTotal reduce), week-old TODOs (do it now), commented-out code (delete — git has history).
  • Document Known Gotchas inline where they matter:
typescript
/**
 * IMPORTANT: Must be called before first render — after hydration causes FOUC
 * (theme context not available during SSR). See ADR-003.
 */
export function initializeTheme(theme: Theme): void { ... }

Do not invent docs from thin air — derive from code/specs/git history (this skill) vs ADR why (via adr skill). personas/ (HOW agent thinks) vs skills/ (HOW task executes) preserved — see docs/CONCEPTS.md.

Verification (after documenting)

  • ADRs exist for all significant decisions, README covers quick start/commands/architecture (link ADRs), API docs have types, gotchas inline, no commented-out code, CLAUDE.md/AGENTS.md current.
  • Rationalizations table — "code is self-documenting" (reality: code shows what, not why/alternatives), "docs when API stabilizes" (doc is first test of design), "ADRs are overhead" (10-min ADR prevents 2-hour debate).

Anti-patterns

  • Do not guess stack or commands — read from actual config files
  • Do not generate CHANGELOG from unstaged changes
  • Do not overwrite existing README without showing diff first

Delegates to

NeedSkill
Push and create PR with generated docsgithub-cli-workflow
Confirm output destinationoutput-handshake
Repo discoveryassistant

Frequently asked questions

What does the Docs Generator AI skill do?

WHAT — Generate or update documentation from code: README.md from repo structure, CHANGELOG.md from git history, API reference from OpenAPI/GraphQL schemas, and AGENTS.md starters for new projects.

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/ulises-jeremias/agent-toolkit/tree/main/plugins/agent-toolkit-complete/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?

Yes. It is published on GitHub by ulises-jeremias under the MIT license. 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 👇