Update Docs logo

Update Docs

Organization
DasDigitaleMomentum
update-docs

Update existing project documentation after code changes. Detects outdated sections, updates module and feature docs, and ensures cross-references remain valid. Use this skill after implementing features, refactoring, or when documentation is known to be stale.

Overview

PublisherDasDigitaleMomentum
Repositoryopencode-processing-skills
Skill nameupdate-docs
Stars
61
Forks
3
Bundled files
3
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.

  • 3 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by DasDigitaleMomentum on GitHub. Read the source before you install it.

Installation

Install the Update Docs 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/DasDigitaleMomentum/opencode-processing-skills/tree/main/skills/update-docs
  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/DasDigitaleMomentum/opencode-processing-skills.git /tmp/opencode-processing-skills
mkdir -p .claude/skills
cp -r /tmp/opencode-processing-skills/skills/update-docs .claude/skills/update-docs
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Update Docs 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 Update Docs 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 Update Docs 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.

Skill: Update Documentation

What This Skill Does

Updates existing project documentation to reflect code changes. Handles:

  • Detecting which documentation is affected by recent changes
  • Updating module documentation (symbols, structure, data flow)
  • Updating feature documentation (new behavior, changed flows)
  • Updating the project overview (new modules, changed architecture)
  • Ensuring cross-references remain valid

When to Use

  • After implementing a feature or fixing a bug that changes behavior
  • After refactoring that affects module structure or symbols
  • When the user says documentation is "outdated" or asks to "update docs"
  • After a plan phase is completed and code has changed

Do NOT use this skill to create documentation from scratch - use generate-docs instead.

Execution Model

  • The primary agent spawns doc-explorer. doc-explorer maps code changes to docs and updates files under docs/.
  • Rationale: doc updates are grounded in repo state; exploration + edits belong together to avoid losing "why this section changed".
  • For large change sets affecting multiple modules, doc-explorer self-delegates per module (see Self-Delegation below).
  • The primary agent should keep chat output minimal (what docs changed + any gaps).

Self-Delegation

When changes span multiple modules, doc-explorer SHOULD delegate per-module updates to separate doc-explorer instances via the Task tool:

  1. Orchestrator instance: Identifies affected modules from git diff, spawns per-module instances
  2. Per-module instance: Receives scoped task ("update docs for module X, changes: ..."), reads existing doc, updates it
  3. Orchestrator: Updates cross-cutting artifacts (overview, feature docs), validates cross-references

This prevents token bloat from accumulating analysis of all changed modules in a single context.

Workflow

Step 1: Identify What Changed

Determine the scope of changes using one or more methods:

If changes are recent (current session):

  • Review the files modified in the current session
  • Check git diff for uncommitted changes

If changes are from git history:

  • Use git log --oneline -N to see recent commits
  • Use git diff <commit>..HEAD --stat to see affected files
  • For large diffs, self-delegate per-module analysis

If the user specifies what changed:

  • Focus on the modules/features the user mentions

Step 2: Map Changes to Documentation

For each changed file, determine:

  1. Which module does it belong to? → Update docs/modules/<module>.md
  2. Which features does it affect? → Update docs/features/<feature>.md
  3. Does it change the project structure? → Update docs/overview.md

For changes spanning multiple modules, self-delegate per-module updates.

Step 3: Read Existing Documentation

Read the affected documentation files. Compare against the current code state:

  • Are symbols still accurately described?
  • Has the module structure changed (new files, moved files)?
  • Have dependencies changed?
  • Are data flows still correct?
  • Are feature behaviors still accurately described?

Step 4: Apply Updates

Update each affected document:

Module Documentation:

  • Update Key Symbols if exports changed
  • Update Structure if files were added/removed/moved
  • Update Dependencies if new dependencies were introduced
  • Update Data Flow if processing logic changed
  • Keep inventories in sync (files/dirs + symbols)

Feature Documentation:

  • Update User Flow if user-facing behavior changed
  • Update Technical Flow if implementation approach changed
  • Update Implementation table with new/changed symbols
  • Update Edge Cases if new limitations discovered

Project Overview:

  • Update Modules table if modules were added/removed
  • Update Features table if features were added/removed
  • Update Architecture if high-level structure changed
  • Update Tech Stack if new technologies introduced

Step 5: Validate Cross-References

  • Check that all module links in the overview point to existing files
  • Check that feature docs reference the correct module docs
  • If implementation plans exist, verify they still reference current module documentation
  • Remove references to deleted modules/features

Step 6: Report Changes

Present a summary:

  • Which documents were updated
  • What sections changed
  • Any gaps found (new code that has no documentation)

Rules

  1. Never overwrite without reading first: Always read existing documentation before modifying.
  2. Preserve manual additions: If a section was manually enriched beyond what auto-generation would produce, preserve those additions.
  3. Incremental updates: Only update what changed. Don't regenerate entire documents.
  4. Track the update: Update the frontmatter version or add a note if the template supports it.
  5. No built-in explore agent: Do NOT use the built-in explore subagent type. Self-delegate to doc-explorer instead.
  6. Self-delegate for scale: For large change sets spanning multiple modules, spawn additional doc-explorer instances per module via the Task tool.
  7. Flag gaps: If new code lacks documentation, notify the user rather than silently ignoring it.
  8. File-based interface: All updates are written to files in the docs/ directory. Do not return updated content as chat messages.

Templates

This skill includes normative templates as bundled files. Only read the templates when processing them. Output MUST preserve template headings/frontmatter keys when updating docs:

  • tpl-project-overview.md - Expected structure for project overview
  • tpl-module-documentation.md - Expected structure for module documentation
  • tpl-feature-documentation.md - Expected structure for feature documentation

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Update Docs AI skill do?

Update existing project documentation after code changes. Detects outdated sections, updates module and feature docs, and ensures cross-references remain valid. Use this skill after implementing features, refactoring, or when documentation is known to be stale.

Why use Update Docs on TypingMind?

Because you install it once and use it with any model. Update Docs 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 Update Docs in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/DasDigitaleMomentum/opencode-processing-skills/tree/main/skills/update-docs. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Update Docs?

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 Update Docs?

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

Is the Update Docs AI skill free?

Yes. It is published on GitHub by DasDigitaleMomentum 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 👇