update-doc

Analyze git diffs and update llmdoc documentation and index.

459|49|Updated Oct 10, 2025
One-click install
npx skills add https://github.com/TokenRollAI/cc-plugin --skill update-doc-tokenrollai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: update-doc
Source: https://github.com/TokenRollAI/cc-plugin/tree/main/skills/update-doc
Command: npx skills add https://github.com/TokenRollAI/cc-plugin --skill update-doc-tokenrollai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Keeps llmdoc in sync with the codebase by automatically updating documentation after changes, preventing drift and manual maintenance.

Core Features & Use Cases

  • Detect changes: Analyzes recent commits to identify impacted llmdoc concepts.
  • Update docs: Automatically updates affected llmdoc entries and references to reflect code changes.
  • Regenerate index: Re-scans the llmdoc directory to ensure the index remains consistent.
  • Use Case: When you merge a feature branch, run this skill to refresh developer-facing documentation so llmdoc matches the latest code.

Quick Start

After changing code, run the update-doc skill to refresh llmdoc and align documentation with the latest code.

Frequently Asked Questions about update-doc

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

FAQPage Schema
How do I automatically update documentation after code changes?

To automatically update documentation after code changes, you can analyze git diffs to map modified files to documentation concepts and refresh impacted references. This keeps docs in lockstep with the codebase without manual maintenance.

What is the best way to keep developer docs in sync with git commits?

Keeping developer docs in sync with git commits involves analyzing recent commits to detect changed files, updating impacted documentation entries, and regenerating the index. This prevents documentation drift after merging feature branches.

Does auto-syncing documentation from a git diff require a specific doc format?

Auto-syncing documentation from a git diff targets projects using the llmdoc format. The process maps code changes to llmdoc concepts and updates the corresponding references to ensure the documentation index remains consistent.

How do I regenerate a documentation index after modifying code?

To regenerate a documentation index after modifying code, you re-scan the llmdoc directory to ensure consistency. This automatically identifies impacted concepts from git diffs and refreshes the index to match the latest codebase state.

When should I run an automated documentation update for my codebase?

You should run an automated documentation update when you merge a feature branch or complete code changes. It analyzes recent commits, updates affected llmdoc entries, and reports changes to prevent manual maintenance and drift.