update-docs

Map git diffs to documentation pages and generate validated updates.

Updated Mar 29, 2026
One-click install
npx skills add https://github.com/sigitpoerwo/repoworkspace_zahra --skill update-docs-sigitpoerwo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: update-docs
Source: https://github.com/sigitpoerwo/repoworkspace_zahra/tree/main/skills/01-SIAP-PAKAI/writing/update-docs
Command: npx skills add https://github.com/sigitpoerwo/repoworkspace_zahra --skill update-docs-sigitpoerwo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Keeps documentation in sync with code by automatically identifying and proposing updates based on code changes, reducing drift and manual rework.

Core Features & Use Cases

  • Map diffs from the active branch to relevant documentation pages.
  • Support PR review by surfacing missing sections, outdated references, and required updates.
  • Validate frontmatter, content structure, and cross-links to ensure docs stay consistent with code.

Quick Start

Analyze the git diff to identify changed source files, map those changes to documentation pages, and apply updates with validation.

Frequently Asked Questions about update-docs

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

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

To automatically update documentation from code changes, map git diffs from your active branch to relevant documentation pages and generate updates. This aligns docs with code by proposing changes automatically and reducing manual rework.

How do I keep Next.js API references in sync during PR reviews?

Keep Next.js API references in sync during PR reviews by mapping code diffs to surface missing sections and outdated references. This validates frontmatter correctness, markdown structure, and cross-links to ensure docs stay consistent.

What is documentation drift and how do I prevent it?

Documentation drift occurs when docs become outdated relative to code. Prevent drift by automatically identifying code changes and proposing required documentation updates, enforcing frontmatter and markdown structure validation during maintenance.

Can I validate markdown cross-links and frontmatter automatically?

Yes, you can validate markdown cross-links and frontmatter automatically. The update process enforces frontmatter correctness, validates content structure, and checks cross-links to ensure documentation stays consistent with code changes.

What is the best way to map git diffs to architecture docs?

The best way to map git diffs to architecture docs is analyzing the diff to identify changed source files, mapping those changes to relevant documentation pages, and applying updates with structural validation.

Does this documentation workflow work without external dependencies?

Yes, this documentation workflow works without external dependencies. It independently analyzes git diffs, maps changes to documentation pages, and enforces validation rules without requiring additional lint or documentation tools.