update-docs

Align documentation pages with code changes using SOURCE_DOC_MAPPING.md.

Updated Mar 3, 2026
One-click install
npx skills add https://github.com/Gorillaa-ai-org/pipecat --skill update-docs-gorillaa-ai-org
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: update-docs
Source: https://github.com/Gorillaa-ai-org/pipecat/tree/main/.claude/skills/update-docs
Command: npx skills add https://github.com/Gorillaa-ai-org/pipecat --skill update-docs-gorillaa-ai-org

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Update documentation pages to reflect source code changes on the current branch. Analyzes the diff against main, maps changed source files to their corresponding doc pages, and makes targeted edits.

Core Features & Use Cases

  • Create a docs branch that tracks code branch changes
  • Map changed sources to docs sections using SOURCE_DOC_MAPPING.md
  • Apply targeted edits to doc pages with minimal risk
  • Handles multiple file changes across services, transports, and docs

Quick Start

Run the script to automatically align documentation with code changes on the current branch.

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 to match code changes in my repository?

The Skill scans the git diff between main and HEAD, maps changed source files to their corresponding documentation pages using SOURCE_DOC_MAPPING.md, and applies precise edits to align the docs with your code changes.

How does mapping changed source files to documentation pages work?

Mapping changed source files to documentation pages works by reading the SOURCE_DOC_MAPPING.md file in your repository, which links specific source code paths to their corresponding MDX documentation sections for targeted updating.

Can I sync MDX documentation files without overwriting existing content?

Yes, you can sync MDX documentation files while preserving existing content. The process applies precise edits only to the touched sections mapped from the code diff, leaving the rest of the documentation page untouched.

What is the best way to maintain a docs branch that tracks code branch changes?

The best way to maintain a docs branch tracking code changes is to automate the diff scan against main, map the modified sources to MDX pages, and apply minimal targeted edits to keep documentation synchronized.

Do I need a specific mapping file to automate documentation-sync across multiple services?

Yes, you need a SOURCE_DOC_MAPPING.md file to automate documentation-sync across multiple services. It acts as the reference table linking changed source files to their corresponding documentation pages for accurate edits.

Are there limitations when applying targeted edits to doc pages based on source control diffs?

A limitation of applying targeted edits based on source control diffs is that the process requires a valid SOURCE_DOC_MAPPING.md file and only updates MDX documentation, preserving existing content solely for mapped sections.